I've created a new distribution provider based upon/using Google's grpc
[1]. For reference, here [2] are all the available distribution
providers for ECF's impl of OSGi Remote Services/Remote Service Admin.
grpc-java uses the Google protocol buffers (protobuf) compiler to
generate Java classes from a proto file. The ECF grcp provider also
has a new protoc plugin that...when generating the protobuf+grpc-java
classes with maven build...will generate a service interface also.
Meaning: from a single proto file that describes the service methods
and args+return values, an entire remote service API can be generated.
Please see the example described here [1] or the blog posting here [3]
for more info about this new provider.
There is a Karaf feature here [4] with dependencies, the grpc
distribution provider, and the healthcheck example code.
Scott
[1] https://github.com/ECF/grpc-RemoteServicesProvider
[2] https://wiki.eclipse.org/Distribution_Providers
[3]
http://eclipseecf.blogspot.com/2020/05/using-googles-grpc-java-for-osgi-remote.html
[4]
https://raw.githubusercontent.com/ECF/grpc-RemoteServicesProvider/master/build/karaf-features.xml