grpc code generation using bndtools -generate capability

9 views
Skip to first unread message

scott...@gmail.com

unread,
Sep 21, 2020, 9:52:25 PM9/21/20
to bndtools-dev

With an assist from Peter K, I've created a code generator that will create OSGi service APIs from protocol buffers (gRPC) service declarations...as part of bndtools -generate code generation.   Starting with a proto3-declared service (i.e. gRPC service) this makes it very easy to generate java code for that service, compile/build/package those classes, and then use as an OSGi (remote) service API from within bndtools.

There's more to do here (e.g. having some more bndtools project templates) but I thought folks might be interested in the use of bndtools -generate capability and gRPC-java code generation.

Scott Lewis

unread,
Sep 21, 2020, 9:54:01 PM9/21/20
to bndtoo...@googlegroups.com
On 9/21/2020 6:52 PM, scott...@gmail.com wrote:

With an assist from Peter K, I've created a code generator that will create OSGi service APIs from protocol buffers (gRPC) service declarations...as part of bndtools -generate code generation.   Starting with a proto3-declared service (i.e. gRPC service) this makes it very easy to generate java code for that service, compile/build/package those classes, and then use as an OSGi (remote) service API from within bndtools.

There's more to do here (e.g. having some more bndtools project templates) but I thought folks might be interested in the use of bndtools -generate capability and gRPC-java code generation.
--
You received this message because you are subscribed to a topic in the Google Groups "bndtools-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bndtools-dev/egNhYn-n5hQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bndtools-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bndtools-dev/281e1115-3a87-4dc8-8efa-93cb16b241d6n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages