Marc,
I was actually using the wrong URI ( /apiman-gateway*/system/status/ *instead
of /apiman-gateway-a*pi/system/status*) and I was not using a basic http
auth...
With the information you provided me, I was able to configure my load
balancer correctly.
So thanks a lot!!
Regards,
On Mon, 4 Sep 2017 at 11:37 Marc Savy <marc.savy(a)redhat.com> wrote:
Julien,
The standard status endpoint or the *gateway* is:
http://apimanager:apiman123
!@localhost:8080/apiman-gateway-api/system/status
Notice the embedded default username and password (remember to
substitute for whatever security mechanism you set it up)
I just checked out the 1.3.0.Final image and it seems to work okay for me.
You can also do the same for the apiman manager endpoint, but instead it
is:
http://localhost:8080/apiman/system/status
Let me know if it works for you.
Regards,
Marc
On 4 September 2017 at 08:48, Julien Gerboud <julien.gerboud(a)euranova.eu>
wrote:
> Hi Marc,
>
> Thanks for your quick reaction.
>
> I am using the Servlet version. To be more precise, I am using the
Wildfly10
> docker image with tag 1.3.0.Final (I kept only the gateway part, the
> manager, elasticsearch, keycloak and database are on different
containers).
>
> Regards,
>
> On Sun, 3 Sep 2017 at 19:30 Marc Savy <marc.savy(a)redhat.com> wrote:
>>
>> Hi,
>>
>> Which version of the gateway are you using? Vert.x or Servlet?
>>
>> Regards,
>> Marc
>>
>>
>> On Sunday, September 3, 2017, Julien Gerboud <
julien.gerboud(a)euranova.eu>
>> wrote:
>>>
>>> Hello to you all,
>>>
>>> I am setting up a load balancer (HA Proxy) in front of 2 (or more)
APIMan
>>> API Gateways. In order to know which instance is up, the load balancer
needs
>>> an health check.
>>>
>>> I tried to use the /system/status/ endpoint of the gateway but I get a
>>> 500 error with a "X-Gateway-Error: Invalid endpoint provided:
>>> /system/status/" header.
>>>
>>> Is there another health check endpoint or a REST Doc for the API
Gateway?
>>>
>>> I am using APIMan version 1.3.0.Final.
>>>
>>> Thanks for your help!
>>>
>>> Regards,
>>> Julien GERBOUD
>>> --
>>>
>>> ______________________________
>>>
>>> Julien GERBOUD
>>>
>>> Developer
>>> (M) +32 475 78 05 31 <+32%20475%2078%2005%2031>
>>>
>>> EURA NOVA
>>>
>>> Rue Emile Francqui, 4
>>>
>>> 1435 Mont-Saint-Guibert
>>>
>>> (T) +32 10 75 02 00 <+32%2010%2075%2002%2000>
>>>
>>> euranova.eu
>>>
>>> research.euranova.eu
>>>
>>>
>>> ♻ Be green, keep it on the screen
>>
>>
>>
>> --
>> Sent from mobile phone, apologies for brevity.
>
> --
>
> ______________________________
>
> Julien GERBOUD
>
> Developer
> (M) +32 475 78 05 31 <+32%20475%2078%2005%2031>
>
> EURA NOVA
>
> Rue Emile Francqui, 4
>
> 1435 Mont-Saint-Guibert
>
> (T) +32 10 75 02 00 <+32%2010%2075%2002%2000>
>
> euranova.eu
>
> research.euranova.eu
>
>
> ♻ Be green, keep it on the screen
--
______________________________
*Julien GERBOUD*
Developer
(M) +32 475 78 05 31 <+32%20475%2078%2005%2031>
*EURA NOVA*
Rue Emile Francqui, 4
1435 Mont-Saint-Guibert
(T) +32 10 75 02 00 <+32%2010%2075%2002%2000>
*euranova.eu <