Addressing customer REST end-point using java API

Is there a simple way to address the custom end-point exposed by my plugin
(e.g. /_myplugin/ping) using the java API? The plugin installs correctly
and I can test it using curl, but I would like to be able to do this in
java so I can build some tests.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e9be8d9e-5606-4987-9e99-1eeff4bbcf50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

In https://github.com/jprante/elasticsearch-xml/blob/master/src/test/java/org/xbib/elasticsearch/integration/AbstractNodesTests.java you can study how to obtain the HTTP address of a node for plugin tests in a junit test.

Jörg

Am 18.05.15 um 15:19 schrieb AndrewK:

Is there a simple way to address the custom end-point exposed by my plugin
(e.g. /_myplugin/ping) using the java API? The plugin installs correctly
and I can test it using curl, but I would like to be able to do this in
java so I can build some tests.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5559E91E.5070509%40gmail.com.
For more options, visit https://groups.google.com/d/optout.