Commit Graph
1421 Commits
Author SHA1 Message Date
Mr. Patrickus AgbiusandClaude Opus 5.5 69a808496b Only release query cache lock when acquired (#4157)
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-02 19:36:50 +00:00
Kevin Toth c81c9fdc12 Update pom's for 8.6.0-SNAPSHOT 2026-10-29 11:47:11 +00:00
Kevin Toth 095ca160b2 Update pom's for 8.5.0-SNAPSHOT 2026-10-22 15:14:39 +00:00
Ivan Bella e4d59a5fa9 Updated springframework to 5.3.39 and security to 5.8.16 for java 17 (#4020) 2026-10-22 14:40:47 +00:00
Bill Oley f518fa90cd Add X-ProxiedEntitiesAccepted: true response header when an authenticated request contains X-ProxiedEntitiesChain (#4064) 2026-10-21 20:59:05 +00:00
Moriartyandalerman 3c9e0633a3 Limit ContentQuery record IDs (#4038)
Co-authored-by: alerman <[email protected]>
2026-10-19 14:47:16 +00:00
Moriarty 46f9572e83 Migrate web query limits and runner tests (#4031) 2026-10-16 00:58:49 +00:00
Moriarty 44fcd66189 Migrate security user service tests (#4033) 2026-10-15 22:27:54 +00:00
Moriarty 0f96ad8299 Migrate composite web query logic test (#4025) 2026-10-15 12:14:16 +00:00
Moriarty 941ba0f7e6 Migrate remote security operation tests (#4028) 2026-10-14 14:10:41 +00:00
Drew Farris 0df636728d Fix JAXB serialization of tag cloud markings (#4000) 2026-10-14 01:52:55 +00:00
Laura SchannoandMoriarty fe6a77ef6d Remove build filters for non-existent classes (#3965)
Co-authored-by: Moriarty <[email protected]>
2026-10-13 14:03:47 +00:00
Moriarty 4037a066a3 Migrate web services common util tests to JUnit 5 (#3994) 2026-10-13 13:43:13 +00:00
Moriarty a4fc3e3b22 Migrate web services client tests to JUnit 5 (#3998) 2026-10-13 13:36:24 +00:00
Moriarty 0913202a4e Migrate annotations tests to JUnit 5 (#3997) 2026-10-13 13:35:18 +00:00
Moriarty 08cdb9db90 Migrate Spring deployment test to JUnit 5 (#3995) 2026-10-13 13:34:24 +00:00
Moriarty 7815426e4e Migrate query geometry test to JUnit 5 (#3996) 2026-10-13 13:33:19 +00:00
Kevin Toth 6f5624cc8c Update pom's for 8.4.0-SNAPSHOT 2026-10-13 10:31:37 +00:00
Moriarty 4bab059ef1 Migrate Atom parser test to JUnit 5 (#3986) 2026-10-09 13:20:24 +00:00
Kevin Toth 46e2ecddc5 8.2.1-SNAPSHOT 2026-10-05 12:23:56 +00:00
Kevin Toth 9bde7da67e 8.2.0 2026-10-05 12:23:35 +00:00
Kevin Toth a68175c01a Update pom's for 8.3.0-SNAPSHOT 2026-10-05 12:19:46 +00:00
Laura Schanno ac7ac7e78e Do not silently drop system limit configurations (#3820) 2026-10-01 19:09:02 +00:00
Laura SchannoandIvan Bella 692ab2b62e Do not silently drop group limit overrides (#3819)
Co-authored-by: Ivan Bella <[email protected]>
2026-09-30 12:34:28 +00:00
Drew Farris 9a38d8d0a5 Fixes missing truthmark properties in the database.properties for deploy (#3959) 2026-09-28 10:37:15 -04:00
Kevin Toth 045de2e906 Update pom's for 8.2.0-SNAPSHOT 2026-09-21 11:07:38 +00:00
alerman 4f0b97ec72 Task/java17 build baseline (#3907) 2026-09-16 14:24:41 +00:00
Drew Farris b5ec5bc44b Adds the ability to rewrite responses from the AnnotationManagerBean (#3908) 2026-09-09 20:19:58 +00:00
Kevin Toth b646acb79b Update pom's for 8.1.0-SNAPSHOT 2026-09-02 15:05:37 +00:00
807d61b52e Migrate to Wildfly 26.1.3.Final (#3508)
Co-authored-by: Ivan Bella <[email protected]>
Co-authored-by: Bill Oley <[email protected]>
Co-authored-by: Moriarty <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
2026-09-02 14:04:28 +00:00
MoriartyandClaude Opus 5 d50e7cc3a4 Make test fork reuse and heap configurable per module (#3904)
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-09-02 11:19:48 +00:00
Kevin Toth c8c648e12a Update pom's for 7.47.0-SNAPSHOT 2026-08-31 16:31:44 +00:00
MoriartyandClaude Opus 5 432ccc1971 Remove the ingest-computed bloom filter from field index values (#3886)
Co-authored-by: Claude Opus 5 <[email protected]>
2026-08-28 15:33:26 +00:00
MoriartyandClaude Opus 5 5276af8487 Create the messaging system user in the webservice image (#3887)
The standalone install adds it in setup-wildfly.sh, but the image ran no
equivalent, so in-VM messaging connections failed authentication and
retried unthrottled, risking an OutOfMemoryError.

Co-authored-by: Claude Opus 5 <[email protected]>
2026-08-27 17:13:56 +00:00
Kevin Toth ed50f5a76f Update pom's for 7.46.0-SNAPSHOT 2026-08-26 15:39:22 +00:00
Laura SchannoandMoriarty bd25e04589 Improve thread-safety of QueryUncaughtExceptionHandler (#3832)
Make the following changes to improve the thread-safety of
QueryUncaughtExceptionHandler, and add test coverage.
- Generate a sequence for each call to uncaughtException() to help
ensure the first call with a non-null Throwable wins the race,
regardless of which thread's CAS operation completes first.
- In uncaughtException(), atomically update the sequence number, thread,
and throwable at the same time.
- Use an efficient, thread-safe collection for storing and retrieving
messages.

---------

Co-authored-by: Moriarty <[email protected]>
2026-08-24 11:28:57 +00:00
Drew Farris f629cf02a4 Adds the ability to mask metadata fields from annotation source in context of annotation request (#3824)
* There's no need to return metadata fields like visibility for the
source in the case where we're returning in the context of an
annotation. This will extend to other security markings elsewhere.
2026-08-14 08:53:12 +00:00
hgklohr a3b817a85b Update pom's for 7.45.0-SNAPSHOT 2026-08-13 16:56:05 +00:00
Drew FarrisandLaura Schanno dce959bd86 Update AnnotationManagerBean to read from both annotation and truthmark tables (#3708)
- Implements FederatedAnnotationReader that can read from multiple
sources and reconcile results.
- Removes unfinished write implementations from AnnotationManagerBean
due to new write path design via microservices.
- Removes separate AnnotationSourceReader/Writer interfaces and moved
source specific methods to AnnotationReader/Writer to eliminate
complexity.
- Added truthmark cases to AnnotationManagerBeanFunctionalTest.
- Added assertion to compare two annotation lists to ensure equivalence.

Co-authored-by: Laura Schanno <[email protected]>
2026-08-12 15:17:45 -04:00
Drew Farris b0fcf5450f Improve AnnotationAssertions using AssertJ (#3761)
Per @lbschanno's feedback in #3708, I've migrated AnnotationAssertions
to use AssertJ instead of hand rolled collection comparison code.
2026-08-11 09:58:47 +00:00
hgklohr 2fa747e48e Update pom's for 7.44.0-SNAPSHOT 2026-08-05 13:44:37 +00:00
1ff469c192 migrate scanner to scannerbuilder (#3733)
Migrate most instances of Scanner to using a ScannerBuilder. Another
brick in the road to native scan server support.

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: Laura Schanno <[email protected]>
Co-authored-by: alerman <[email protected]>
2026-07-30 08:37:12 +00:00
MoriartyandClaude Sonnet 5 8077f849b0 Fix remaining flakiness in QueryExecutorBeanTest#testPredict (#3723)
## Summary
- `QueryMetric`'s `createDate` is stamped from wall-clock time
(truncated to the second) and is part of `equals()`/`hashCode()`. A
prior fix (#3658) worked around a resulting flake in `testPredict()` by
relaxing a Mockito `eq(metric)` matcher to `any(BaseQueryMetric.class)`,
but that gave up on verifying the actual metric passed to the predictor.
- This restores strict matching without the race: `QueryMetricFactory`
is mocked directly, and `ReflectionTestUtils.setField(m, "createDate",
...)` pins the same `createDate` on both the metric the bean builds
internally and the metric built for comparison in the test, so the two
sides can no longer straddle a second boundary.
- No production code changes — confined to the test file.

## Test plan
- [x] `mvn -pl web-services/query -Dtest=QueryExecutorBeanTest test` —
9/9 pass
- [x] `testPredict` re-run 5x in a row to confirm no flakiness

Co-authored-by: Claude Sonnet 5 <[email protected]>
2026-07-22 20:43:05 +00:00
hgklohr 3aeffd7c56 Update pom's for 7.43.0-SNAPSHOT 2026-07-21 15:40:23 +00:00
alerman 14b657084d Fix caching (#3658) 2026-07-21 11:24:04 +00:00
MoriartyandClaude Sonnet 5 e5447e61f1 Migrate ExcerptTest from Arquillian to AbstractQueryTest (#3672)
Another brick in the road to not using a sledgehammer when a hammer can
do

---------

Co-authored-by: Claude Sonnet 5 <[email protected]>
2026-07-20 14:31:46 +00:00
Drew Farris c0e9cff9f8 Adds truthmark tables, for storing human-generated annotations (#3686) 2026-07-14 20:08:10 +00:00
MoriartyandClaude Sonnet 4.6 16e61e196d ban powermock (#3644)
ban powermock dependency and import

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
2026-06-30 13:46:03 +00:00
ade138565c Migrate ExtendedQueryExecutorBeanTest to Mockito/JUnit5 (#3616)
## Summary

- Replace EasyMock/PowerMock with Mockito (`when/thenReturn`,
`doReturn/doThrow`, `spy`)
- Replace JUnit4 annotations (`@Before`, `@RunWith`, `@Ignore`) with
JUnit5 equivalents
- Convert `@Test(expected=X)` to `assertThrows`
- Fix assertion argument order for JUnit5 (message moves to last
position)
- Replace `setInternalState` (PowerMock Whitebox) with
`ReflectionTestUtils.setField`
- Replace `createPartialMock` with `spy(new X())` + `doReturn`
- Remove EasyMock replay/verify scaffolding
- Add `@MockitoSettings(strictness = Strictness.LENIENT)` to suppress
unused-stub warnings
- 71 tests, 0 failures (2 pre-existing `@Disabled` tests skipped)

## Test plan

- [ ] `mvn -pl web-services/query test
-Dtest=ExtendedQueryExecutorBeanTest` passes with 71 tests, 0 failures

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: palindrome <[email protected]>
2026-06-29 16:54:52 +00:00
Bill Oley 6129a0901d Feature/banned dependencies (#3621)
the banned dependencies in web-service/pom.xml were a subset of those in
pom.xml and were overriding them
enforce trhe currently specified log4j version using banned dependencies
(of prior version)
2026-06-26 20:37:46 +00:00