summaryrefslogtreecommitdiffstats
path: root/documentapi/pom.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add new Protobuf-based MessageBus DocumentAPI protocolTor Brede Vekterli2024-02-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an entirely new implementation of the internal MessageBus DocumentAPI protocol, which shall be functionally 1-to-1 compatible with the existing legacy protocol. New protobuf schemas have been added to the top-level documentapi module, which are separated into different domains of responsibility: * CRUD messages * Visiting messages * Data inspection messages As well as a schema for shared, common message types. Both C++ and Java protocol implementations separate serialization and deserialization into a codec abstraction per message type, which hides the boilerplate required for Protobuf buffer management. The Java version is a tad more verbose due to generics type-erasure. This protocol does _not_ currently support lazy (de-)serialization in Java, as the existing mechanisms for doing so are inherently tied to the legacy protocol version. Performance tests will decide if we need to introduce such functionality to the new protocol version. To avoid having the new protocol go live in production, this commit changes the semantics of how MessageBus version reporting works (at least for the near future); instead of reporting the current Vespa _release_ version, it reports the highest supported _protocol_ version. This lets us conditionally enable the new protocol by reporting a MessageBus version greater than or equal to the protocol version _iff_ the protocol should be active. The new protocol is disabled by default. Other changes: * Protocol tests have been moved up one package directory level to be aligned with the actual package of the classes they test. This allows for using package-protected constructors in the serialization tests. * `DocumentDeserializer` now exposes the underlying document type repo/manager. This is done to detangle `Document`/`DocumentUpdate` deserialization from the underlying wire buffer management. * `RemoveLocationMessage` at long last contains a bucket space, which was forgotten when we initially added this concept to the other messages, and where the pain of adding it in later was too big (not so anymore!). Unit tests for both C++ and Java have been hoisted from the legacy test suite, cleaned up and extended with additional cases. The C++ tests use the old unit test kit and should receive a good follow-up washing and GTest-rewrite. **Important**: due to how MessageBus protocol versioning works, the final protocol version is _not_ yet decided, as setting it requires syncing against our build systems. A follow-up commit will assign the final version as well as include all required binary test files.
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Revert "Revert "- Reduce usage of guava.""Henning Baldersheim2022-12-011-1/+1
|
* Revert "- Reduce usage of guava."Henning Baldersheim2022-12-011-1/+1
|
* - Reduce usage of guava.Henning Baldersheim2022-12-011-1/+1
| | | | - Ensure that tests relying on order are determinsitic.
* Set project version to 8-SNAPSHOTgjoranv2022-06-081-2/+2
|
* unify java warningsArne H Juul2022-01-061-7/+0
| | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Set forkCount paramter for maven-surefire-plugin to speed up testsgjoranv2021-05-141-0/+7
|
* Add a separate module for documentapi dependencies.gjoranv2020-06-301-47/+12
| | | | | - Makes the poms maintainable. - Yields correct Import-Packages for container-documentapi
* Add container-documentapi module.gjoranv2020-06-301-7/+15
|
* mockito-all => mockito-coreHenning Baldersheim2019-04-291-1/+1
|
* Don't use custom (old) version of ph-javacc-maven-plugingjoranv2019-03-071-1/+0
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Revert "Revert "Enable ABI checking on modules with public APIs""Ilpo Ruotsalainen2019-01-091-0/+4
| | | | This reverts commit cd470d8ac8a58c943748f028a37d864507628e99.
* Revert "Enable ABI checking on modules with public APIs"HÃ¥kon Hallingstad2019-01-041-4/+0
|
* Move abi-check-plugin configuration to parent.Ilpo Ruotsalainen2018-12-211-12/+0
| | | | | Instead of configuring in each module separately, put all configuration to parent and let the relevant modules just enable the plugin.
* Enable abi-check-plugin on relevant modules.Ilpo Ruotsalainen2018-12-181-0/+16
|
* Switch to new javacc maven plugin:gjoranv2018-08-271-7/+4
| | | | | | | | - config model - document - documentapi - indexinglanguage. - searchlib
* Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent"gjoranv2017-11-291-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Don't swallow document policy creation exceptionsTor Brede Vekterli2017-05-181-0/+5
| | | | | | Prevents an ErrorPolicy from being cached for the policy when a policy (likely transiently) cannot be created. Caching an ErrorPolicy will fail all ops towards the policy until the process has been restarted.
* disallow warningsArne H Juul2017-04-251-3/+4
|
* Move parent pom to toplevel directoryEirik Nygaard2016-06-231-1/+0
|
* PublishJon Bratseth2016-06-151-0/+108