[Apiman-user] Question about Test Gateway endpoint
Eric Wittmann
eric.wittmann at redhat.com
Mon May 16 09:42:34 EDT 2016
This endpoint 'http://localhost:8080/apiman/gateways/' [PUT] is used to
test whether a particular Gateway configuration would likely work if it
were added via the endpoint 'http://localhost:8080/apiman/gateways/' [POST].
This is used by the UI on both the New Gateway and Edit Gateway pages.
See the attached screenshot for details. When the user clicks the "Test
Gateway" button, the UI sends the gateway configuration details from the
form to validate whether the settings are likely correct. The API
Manager (/apiman) will try to make a connection to the API Gateway to
see if it can be reached and whether authentication succeeds. If all
goes well, the user can be reasonably certain that she has inputted
correct information in the form.
-Eric
On 5/12/2016 12:47 PM, Helio Frota wrote:
> Hi all,
>
> From REST docs:
>
> 'This endpoint is used to test the Gateway's settings prior to either
> creating or updating it. The information will be used to attempt to
> create a link between the API Manager and the Gateway, by simply trying
> to ping the Gateway's "status" endpoint.'
>
> This part:
> 'The information will be used to attempt to create a link between the
> API Manager and the Gateway'
>
> ( http://www.apiman.io/latest/api-manager-restdocs.html )
>
>
> This means the endpoint 'http://localhost:8080/apiman/gateways/' [PUT]
> is used for/to/only Apiman itself ? This can be used by other clients or
> it no makes much sense ?
>
> Thanks !
>
>
> _______________________________________________
> Apiman-user mailing list
> Apiman-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/apiman-user
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scap.PNG
Type: image/png
Size: 49122 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/apiman-user/attachments/20160516/39acd596/attachment-0001.png
More information about the Apiman-user
mailing list