Assuming you are running apiman in WildFly or EAP (typical use) here is
what you need to do to change the apiman endpoint:
1) Modify the "jboss-web.xml" file inside the apiman-gateway.war file
(you can find it in WEB-INF).
2) Change the <context-root> to whatever you want it to be
3) Deploy the changed WAR to EAP/WildFly
4) Profit!
Here is the file in question within the apiman source code:
https://github.com/apiman/apiman/blob/master/gateway/platforms/war/wildfl...
If you are running apiman on tomcat or jetty, you'll need to do
something different - so let me know. :)
-Eric
On 4/18/2016 3:33 PM, Christopher Stolte wrote:
Hi All,
I am trying to change the gateway endpoint so that managed endpoints for
my services have a public URL under my control (for example maybe
http://my.domain.com/apis). I found this discussion:
http://lists.jboss.org/pipermail/apiman-user/2015-October/000324.html
Is changing the gateway WAR the only way to achieve this? Maybe I'm
missing a more obvious way to affect the managed endpoint? If that is
the way to go about it, can someone give me an idea of where in the code
to do that?
Thanks for any help!
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user