Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Udo Kohlmeyer
I don't know enough about the limitations between the two libraries. BUT I would prefer, like Kirk, some consistency w.r.t. implementations. Also, this is for testing, so I'm really questioning are we going to be pushing the boundaries of what this library can do. In addition, if there would b

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Kirk Lund
I would prefer we stick to one family of libraries for JSON. So, if there's a comparable release from Jackson, then I think we should go with that instead. On Wed, Sep 25, 2019 at 12:55 PM Owen Nichols wrote: > The Jackson-jq project actually imports the full testsuite from the “real" > jq proje

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Owen Nichols
The Jackson-jq project actually imports the full testsuite from the “real" jq project, and asks that any discrepancy be reported as a bug. They list the known differences in great detail…so unless you are using $__loc__ or date arithmetic or

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Jinmei Liao
I did look at jackson-jq before I considered java-jq, but it is a re-implementation of jq and this statement on that site puts me off: "jackson-jq aims to be a compatible jq implementation. However, not all the features are available; some features are not relevant as being a java library and some

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Owen Nichols
For a pure-java implementation, might be worth considering https://github.com/eiiches/jackson-jq > On Sep 25, 2019, at 9:40 AM, Dan Smith wrote: > > +1 - sounds good. > > BTW - We've previously found libraries that use JNA tend to be more > flaky/platform dependent than pure java libaries - fo

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Dan Smith
+1 - sounds good. BTW - We've previously found libraries that use JNA tend to be more flaky/platform dependent than pure java libaries - for example we ripped out a snappy native wrapper in favor of a pure java implementation. -Dan On Wed, Sep 25, 2019 at 8:39 AM Anthony Baker wrote: > Sounds

Re: [PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Anthony Baker
Sounds good, thanks for the heads up. Anthony > On Sep 25, 2019, at 8:37 AM, Jinmei Liao wrote: > > Management rest api wants to add some default jq selector to the swagger > api docs so that the downstream client tool can use it as a starting point > to filter/format the json response to a mo

[PROPOSAL] adding java-jq to GEODE dependency for testing

2019-09-25 Thread Jinmei Liao
Management rest api wants to add some default jq selector to the swagger api docs so that the downstream client tool can use it as a starting point to filter/format the json response to a more readable form. In order to test these jq selectors, we would like to use a java library described here: ht