Commit Graph
16 Commits
Author SHA1 Message Date
Moriarty 0913202a4e Migrate annotations tests to JUnit 5 (#3997) 2026-10-13 13:35:18 +00:00
Drew Farris b5ec5bc44b Adds the ability to rewrite responses from the AnnotationManagerBean (#3908) 2026-09-09 20:19:58 +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
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
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 1cc8844dec Replace deprecated datawave.util.TableName with datawave.table.constants.TableName (#3641)
## Summary

- Replaces all 120 uses of `datawave.util.TableName` (deprecated since
7.40.0, `forRemoval=true`) with the new
`datawave.table.constants.TableName` class in `core/tables`
- Adds an explicit `datawave-core-tables` dependency to
`core/query/pom.xml` — the only affected module that didn't already have
it transitively

## Test plan

- [x] Formatting build passes (`mvn clean install -DskipTests
-DskipITs`)
- [x] Full test suite passes on CI

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

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
2026-06-25 16:16:47 +00:00
Drew Farris 1ebc768587 Updates to annotation validation and validation test additions (#3450)
* Now provides separate validators for checking annotation data vs.
annotation identity, so that writes of unidentified annotations can be
performend and validated prior to assigning ids.
* Updates ingest tests to add segment hashes
2026-05-19 20:53:17 +00:00
Drew Farris 7a952a6054 Add the 'platform' field to the AnnotationSource object. (#3555) 2026-05-15 18:10:07 +00:00
Drew FarrisandJoseph Alphonso a9c677b1a0 Fixes per-request AnnotationManager resource leakage by introducing a request context object (#3443)
The AnnotationManagerBean's lifecycle as a stateless bean meant we were
caching some objects across requests. This updates the
AnnotationManagerBean to maintain per-reuqest state explicitly instead
of assuming the bean framework will do it for us.

Co-authored-by: Joseph Alphonso <[email protected]>
2026-02-26 15:11:09 +00:00
FineAndDandy a936d20305 Feature/all keywords (#3330) (#3385)
cherry-pick from 7.29-loe1 branch to release/version7.33
2026-01-21 14:55:47 +00:00
Drew Farris 0d0c0b045c Fixes issue in annotations API where accumulo clients weren't properly returned to connection factory. (#3310) 2025-12-22 21:40:51 +00:00
d7df805e14 Version7.29 loe1 rebase int (#3306)
Co-authored-by: Drew Farris <[email protected]>
Co-authored-by: alerman <[email protected]>
Co-authored-by: FineAndDandy <[email protected]>
Co-authored-by: Joseph Alphonso <[email protected]>
Co-authored-by: Joe Alphonso <[email protected]>
Co-authored-by: hgklohr <[email protected]>
2025-12-15 15:40:50 +00:00
Drew Farris 379a897463 Update AnnotationManagerBean to properly handle documents with multiple internal ids (#3260)
The major change here is that `lookupDocumentIdentifier` in
AnnotationManagerBean now returns a `List<Metadata>` instead of a
`Metadata` objects, so all bean methods had to be updated to work with
more than one `Metadata` object.

Also implemented a separate annotation-sepecific `Metadata` different
from the one in the event package because the two contexts has different
needs and it made sense to decouple the two.
2025-11-05 21:43:06 +00:00
Drew Farris afffaf75bf Mixed bag of annotation web framework updates (#3250)
* Addressed some late comments to the PR
* Enforce the AnnotationWriter role for annotation adds and updates
* Trim the webservices/annotations pom of unused or unnecessary
dependencies
* Replaced `jackson-databind-protobuf` because its response
serialization was inconsistent with request deserialization. The result
is simpler.
2025-10-29 17:07:15 +00:00
Drew Farris 3a60df6354 Annotation manager web service (#3173)
This builds on the framework in #3170 to provide a web-services layer
for managing annotations and performing general CRUD operations.
2025-10-27 16:35:08 +00:00