| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
We do not provide commons-logging, only slf4j bindings through jcl-over-slf4j.
The bindings is what available at runtime through jdisc_core.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- To be used by bundle-plugin to detect embedding provided jars.
|
|
|
|
| |
- http-utils must be embedded in container-disc
|
|
|
|
| |
- It does not have any exported apis.
|
|
|
|
| |
Jdisc-core will embed JNA. The JNA in lib/jars is used by fatjars only.
|
| |
|
|
|
|
| |
- Replaced by vespa/airlift-zstd
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | | |
balder/move-archiving-and-commons-compress-from-vespajlib
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
application-model.
This avoids it being pulled in to the config-model-fat that make the install larger than necessary.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit f1bc428759b3b1ef6a17b5dad79d237f5f2f7dbf.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit c095cbbf433760100e6d1bf04d88b2f6b1b710e8.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Usage is allowed in vespa internal container bundles. We just
want to make it invisible to users.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- Ensures bouncycastle not in scope provided for users.
|
|
|
|
| |
(no longer provided by jdisc)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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.
|
|
|
|
|
| |
- Not leaked from any public apis.
- Must be added to container-test for unit tests with application
|
| |
|
|
|
|
|
| |
- Does not affect user projects, and saves us from duplicating
the exclusions.
|