aboutsummaryrefslogtreecommitdiffstats
path: root/container-dev
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.
* commons-exec is no longer needed.Henning Baldersheim2024-01-111-4/+0
|
* Remove commons-logging from container-devBjørn Christian Seime2023-12-081-4/+0
| | | | | We do not provide commons-logging, only slf4j bindings through jcl-over-slf4j. The bindings is what available at runtime through jdisc_core.
* Update copyrightJon Bratseth2023-10-092-2/+2
|
* Use Guice 6.0Bjørn Christian Seime2023-09-041-1/+6
| | | | | | https://github.com/google/guice/wiki/Guice600 We cannot upgrade to 7.x as we export javax.inject from container. 6.x supports both the old javax.inject and the new jakarta.inject replacement.
* Exclude from being provided by containerBjørn Christian Seime2023-09-011-0/+4
|
* Use 'vespa.version' suffix for all global version properties.gjoranv2023-07-241-1/+1
|
* Revert "New parent pom"Arnstein Ressem2023-07-211-1/+1
|
* Use 'vespa.version' suffix for all global version properties.gjoranv2023-07-191-1/+1
|
* Use new bundle-plugin mojo to generate manifest header for provided deps.gjoranv2023-07-031-0/+12
|
* Add classpath to manifest for container(-dev) jar files.gjoranv2023-07-031-0/+19
| | | | - To be used by bundle-plugin to detect embedding provided jars.
* Exclude http-utils from container-dev instead of container-discgjoranv2023-06-301-0/+4
| | | | - http-utils must be embedded in container-disc
* Do not provide http-utils via container(-dev)gjoranv2023-06-301-0/+4
| | | | - It does not have any exported apis.
* Add JNA in lib/jars + export as packages from jdisc_coreBjørn Christian Seime2023-01-201-4/+4
| | | | Jdisc-core will embed JNA. The JNA in lib/jars is used by fatjars only.
* Upgrade Jetty from 9.4.49 to 11.0.13Bjørn Christian Seime2023-01-131-4/+16
|
* Remove all dependencies to io.airlift:aircompressorgjoranv2023-01-031-4/+0
| | | | - Replaced by vespa/airlift-zstd
* Move microsoft.onnxruntime from provided to test scope.gjoranv2022-12-141-0/+6
|
* remove exclusion, allowing users to get native libraries for unit testsArne Juul2022-12-131-6/+0
|
* rename to just "container-onnxruntime"Arne Juul2022-12-021-1/+1
|
* add container-onnxruntime-bundleArne Juul2022-12-021-0/+11
|
* Merge branch 'master' into balder/splt-out-opennlpHenning Baldersheim2022-11-281-27/+0
|\
| * Merge branch 'master' into ↵Jon Marius Venstad2022-11-281-23/+0
| |\ | | | | | | | | | balder/move-archiving-and-commons-compress-from-vespajlib
| | * commons-lang no longer used eitherHenning Baldersheim2022-11-261-8/+0
| | |
| | * Cleanup after we no longer use commons-collectionsHenning Baldersheim2022-11-261-15/+0
| | |
| * | Move ArchiveStreamReader and its large dependency from vespajlib to ↵Henning Baldersheim2022-11-261-4/+0
| |/ | | | | | | | | | | application-model. This avoids it being pulled in to the config-model-fat that make the install larger than necessary.
* / Split out opennlp-linguisticsHenning Baldersheim2022-11-261-1/+1
|/
* Improve comment and cleanup duplicate openhft dependency managementHenning Baldersheim2022-11-211-4/+0
|
* zero-allocation-hashing dependency managementJon Bratseth2022-11-211-0/+4
|
* Use dependency management, and add excludes where needed.Henning Baldersheim2022-11-211-0/+4
|
* Revert "Upgrade Jetty from 9.4.49 to 11.0.12"Bjørn Christian Seime2022-11-021-16/+4
| | | | This reverts commit f1bc428759b3b1ef6a17b5dad79d237f5f2f7dbf.
* Upgrade Jetty from 9.4.49 to 11.0.12Bjørn Christian Seime2022-11-011-4/+16
|
* Revert "Upgrade Jetty from 9.4.49 to 11.0.12"Jon Marius Venstad2022-10-311-16/+4
|
* Upgrade Jetty from 9.4.49 to 11.0.12Bjørn Christian Seime2022-10-311-4/+16
|
* Revert "Bjorncs/jetty [run-systemtest]"Bjørn Christian Seime2022-10-281-16/+4
|
* Upgrade Jetty from 9.4.49 to 11.0.12Bjørn Christian Seime2022-10-281-4/+16
|
* Revert "Upgrade Jetty from 9.4.49 to 11.0.12"Bjørn Christian Seime2022-10-271-16/+4
| | | | This reverts commit c095cbbf433760100e6d1bf04d88b2f6b1b710e8.
* Upgrade Jetty from 9.4.49 to 11.0.12Bjørn Christian Seime2022-10-261-4/+16
|
* No more org.jsonjonmv2022-10-211-4/+0
|
* Remove outdated exclusionjonmv2022-06-221-4/+0
|
* Move bouncycastle exclusion from container-dev to container.gjoranv2022-06-161-6/+0
| | | | | - Usage is allowed in vespa internal container bundles. We just want to make it invisible to users.
* Remove workaround (from pre 2016) that is no longer needed.gjoranv2022-06-161-7/+0
|
* Embed the core Jetty bundles inside container-coreBjørn Christian Seime2022-06-081-0/+39
|
* Set project version to 8-SNAPSHOTgjoranv2022-06-081-2/+2
|
* Rename vespa_jersey2 to vespa-3party-bundlesgjoranv2022-06-081-1/+1
|
* Add explicit jrt with bouncycastle exclusion to container-dev.gjoranv2022-06-081-0/+11
| | | | - Ensures bouncycastle not in scope provided for users.
* Add missing deps to lz4-java, and exclude in container-devgjoranv2022-06-081-0/+16
| | | | (no longer provided by jdisc)
* Don't provide any felix artifacts via 'container'gjoranv2022-06-081-4/+8
| | | | | | | | | | | | | + Stop exporting felix.log packages (org.osgi.service.log) + Completely remove felix.main (the felix launcher including everything in felix.framework). This was probably never needed by vespa. * Add explicit felix.framework dep to vespa-osgi-testrunner and standalone-container, as it's no longer included in container-dev. (The packages are still exported by jdisc_core, so imports will be generated.) * Add felix.framework to 'application', as it's needed for unit tests. * Exclude animal-sniffer-annotations from felix.framework in parent. Not needed anywhere by Vespa.
* Stop providing org.lz4:lz4-java and exporting net.jpountz packagesgjoranv2022-06-081-0/+4
| | | | | - Not leaked from any public apis. - Must be added to container-test for unit tests with application
* Stop exporting org.json (including removal of deprecated APIs)Bjørn Christian Seime2022-06-081-0/+4
|
* Move guava exclusions to parent dependencyManagementgjoranv2022-06-081-22/+0
| | | | | - Does not affect user projects, and saves us from duplicating the exclusions.