[Apiman-user] Question about Test Gateway endpoint

Helio Frota 00hf11 at gmail.com
Mon May 16 09:46:38 EDT 2016


Very enlightening and informative thank you : ]



On Mon, May 16, 2016 at 10:42 AM, Eric Wittmann <eric.wittmann at redhat.com>
wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20160516/a3e9f8e2/attachment.html 


More information about the Apiman-user mailing list