[Apiman-user] Disable bundled Elasticsearch when using external instance

Donovan Muller donovan.muller at gmail.com
Thu May 26 01:18:06 EDT 2016


Great, thanks

On Wed, 25 May 2016 at 21:51 Eric Wittmann <eric.wittmann at redhat.com> wrote:

> Sorry, I forgot to answer this question.
>
> There's no way to *disable* it - but you can simply delete the
> deployment.  For example:
>
> rm -f
>
> ~/apiman-1.2.6.Final/wildfly-10.0.0.Final/standalone/deployments/apiman-es.*
>
> Basically there is a simple WAR file that bundles up and deploys the
> embedded ES instance called "apiman-es.war".  Delete it and you're good
> to go.
>
> -Eric
>
> On 5/25/2016 2:48 PM, Donovan Muller wrote:
> > Hi,
> >
> > If you're using an external Elasticsearch instance, is there a way to
> > disable the default instance bundled?
> > Couldn't find anything in the docs...
> >
> > From
> >
> https://github.com/apiman/apiman/blob/master/distro/es/src/main/java/io/apiman/distro/es/Bootstrapper.java#L49
> > it doesn't seem like it
> > Unless there is something I'm not aware of, would it be useful to have a
> > config option to turn off the embedded ES instance?
> > For instance a apiman.distro-es.enabled=false in
> >
> https://github.com/apiman/apiman/blob/master/distro/es/src/main/java/io/apiman/distro/es/DistroESConfig.java
> > or something.
> >
> > See https://gitter.im/apiman/apiman?at=573d6c4c64dbdadc7ded7d32 for
> > reference.
> >
> >
> > _______________________________________________
> > Apiman-user mailing list
> > Apiman-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/apiman-user
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20160526/11f2ffd6/attachment.html 


More information about the Apiman-user mailing list