vertx-service-proxy icon indicating copy to clipboard operation
vertx-service-proxy copied to clipboard

Vert.x Service Proxy support JSON-RPC 2.0 transportation data format

Open leotu opened this issue 5 years ago • 4 comments

JSON-RPC 2.0

and

Vert.x Service Proxy

They are very similar. Next version( 4.0?) codegen generator support alternative internal format?

leotu avatar Oct 03 '18 05:10 leotu

@leotu a while ago I've prototyped JSON-RPC handler for vert.x https://github.com/pmlopes/vertx-ethereum/tree/master/src/main/java/xyz/jetdrone/vertx/jsonrpc as a PoC for Ethereum. Perhaps if you're interested I can publish just the JSON RPC to maven and you can write your service proxy generator delegating to it.

pmlopes avatar Oct 03 '18 08:10 pmlopes

@pmlopes That's great!

This issue we face is Eventbus-Bridge and Vertx-service-proxy own their property formats, suggest support alternative data structure ?

  1. Vert.x Service Proxy reusing Eventbus-Bridge format ? or
  2. Eventbus-Bridge and Vert.x Service Proxy both support JSON-RPC ?

leotu avatar Oct 03 '18 12:10 leotu

Changing format would be a breaking change and would require a good reason a discussion with the community on the google group channel.

pmlopes avatar Oct 04 '18 19:10 pmlopes

sure thing, @leotu can you launch the $subject on the vertx-dev group ?

vietj avatar Oct 08 '18 07:10 vietj