There's no way to customize the format of the endpoint at the moment.
That would need to be a feature request, unless you wanted to fork the
codebase (not really recommended). I'd recommend creating a JIRA
feature request ticket for this, with your requirements. It's not
particularly hard to implement I don't think.
The context is something you *can* change. Here's how:
1) Unpack/open the following file:
$WILDFLY/standalone/deployments/apiman-gateway.war
2) Modify the following file within that WAR:
/WEB-INF/jboss-web.xml
3) Change the context-root element to "gateway":
<context-root>gateway</context-root>
4) Re-package up the WAR file and rename it to "gateway.war" (optional)
5) Profit!
-Eric
On 3/15/2016 5:46 PM, Joel Schuster wrote:
By default APIs end up here:
http://gatewayhost:port/apiman-gateway/{organizationId}/{apiId}/{version}/
<
http://gatewayhost:port/apiman-gateway/%7borganizationId%7d/%7bapiId%7d/%...
I’d like to change this so it ends up here:
http://gatewayhost:port/apiman-gateway/{organizationId}/{version}/{apiId}/
<
http://gatewayhost:port/apiman-gateway/%7borganizationId%7d/%7bversion%7d...
I’d also like to change the ‘apiman-gateway’ to simply ‘gateway’.
How can I do that?
Thanks!
-Joel
CONFIDENTIALITY NOTICE: THIS MESSAGE IS CONFIDENTIAL, INTENDED FOR THE
NAMED RECIPIENT(S) AND MAY CONTAIN INFORMATION THAT IS (I) PROPRIETARY
TO THE SENDER, AND/OR, (II) PRIVILEGED, CONFIDENTIAL, AND/OR OTHERWISE
EXEMPT FROM DISCLOSURE UNDER APPLICABLE STATE AND FEDERAL LAW,
INCLUDING, BUT NOT LIMITED TO, PRIVACY STANDARDS IMPOSED PURSUANT TO THE
FEDERAL HEALTH INSURANCE PORTABILITY AND ACCOUNTABILITY ACT OF 1996
("HIPAA"). IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR
AGENT RESPONSIBLE FOR DELIVERING THE MESSAGE TO THE INTENDED RECIPIENT,
YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING
OF THIS COMMUNICATION IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS
TRANSMISSION IN ERROR, PLEASE (I) NOTIFY US IMMEDIATELY BY REPLY E-MAIL
OR BY TELEPHONE AT (855.472.9822), (II) REMOVE IT FROM YOUR SYSTEM, AND
(III) DESTROY THE ORIGINAL TRANSMISSION AND ITS ATTACHMENTS WITHOUT
READING OR SAVING THEM. THANK YOU.
-DaVita Healthcare Partners Inc.-
_______________________________________________
Apiman-user mailing list
Apiman-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/apiman-user