Hi Ram,
My plan is:
- The forthcoming release will still have ES 1.x support (final
release supporting ES 1.x)
- The following release will move to ES 5.x, it *should* also support
2.x with the DeleteByQuery plugin. This will be released a *few days*
after to aforementioned. It will be essentially identical but move to
ES 5.x support.
The work to is mostly done already.
Regards,
Marc
On 6 November 2017 at 08:34, <Ram.Tanna(a)ril.com> wrote:
Hi Team,
Do we have support for elastic search 5+ versions ? I am using apiman 1.2.9.
I have upgraded the elastic search version 5.6.3 and started getting
following error.
ERROR [stderr] (ESRegistryCacheInvalidator) Exception in thread
“ESRegistryCacheInvalidator” java.lang.RuntimeException:
com.google.gson.JsonSyntaxException:
com.google.gson.stream.MalformedJsonException: Use
JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path
$
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:68)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.DefaultESClientFactory.createJestClient(DefaultESClientFactory.java:121)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.DefaultESClientFactory.createClient(DefaultESClientFactory.java:68)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.AbstractESComponent.createClient(AbstractESComponent.java:61)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.AbstractESComponent.getClient(AbstractESComponent.java:51)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.PollCachingESRegistry.checkCacheVersion(PollCachingESRegistry.java:204)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.PollCachingESRegistry$6.run(PollCachingESRegistry.java:180)
17:35:54,005 ERROR [stderr] (ESRegistryCacheInvalidator) at
java.lang.Thread.run(Thread.java:745)
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) Caused by:
com.google.gson.JsonSyntaxException:
com.google.gson.stream.MalformedJsonException: Use
JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path
$
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.JsonParser.parse(JsonParser.java:65)
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.JsonParser.parse(JsonParser.java:45)
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.searchbox.action.AbstractAction.parseResponseBody(AbstractAction.java:96)
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.searchbox.action.AbstractAction.createNewElasticSearchResult(AbstractAction.java:67)
17:35:54,006 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.searchbox.action.GenericResultAbstractAction.createNewElasticSearchResult(GenericResultAbstractAction.java:20)
17:35:54,007 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.searchbox.client.http.JestHttpClient.deserializeResponse(JestHttpClient.java:146)
17:35:54,007 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:65)
17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.AbstractClientFactory.createIndex(AbstractClientFactory.java:80)
17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) at
io.apiman.gateway.engine.es.AbstractClientFactory.initializeClient(AbstractClientFactory.java:65)
17:35:54,008 ERROR [stderr] (ESRegistryCacheInvalidator) ... 7 more
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) Caused by:
com.google.gson.stream.MalformedJsonException: Use
JsonReader.setLenient(true) to accept malformed JSON at line 1 column 5 path
$
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1573)
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1423)
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.stream.JsonReader.doPeek(JsonReader.java:546)
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.stream.JsonReader.peek(JsonReader.java:429)
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) at
com.google.gson.JsonParser.parse(JsonParser.java:60)
17:35:54,009 ERROR [stderr] (ESRegistryCacheInvalidator) ... 15 more
Thanks and Regards,
Ram Tanna
"Confidentiality Warning: This message and any attachments are intended only
for the use of the intended recipient(s), are confidential and may be
privileged. If you are not the intended recipient, you are hereby notified
that any review, re-transmission, conversion to hard copy, copying,
circulation or other use of this message and any attachments is strictly
prohibited. If you are not the intended recipient, please notify the sender
immediately by return email and delete this message and any attachments from
your system.
Virus Warning: Although the company has taken reasonable precautions to
ensure no viruses are present in this email. The company cannot accept
responsibility for any loss or damage arising from the use of this email or
attachment."
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user