[Aerogear-users] Health Info Endpoint

Matthias Wessendorf matzew at apache.org
Fri Dec 11 03:50:02 EST 2015


On Fri, Dec 11, 2015 at 9:44 AM, Sebastien Blanc <scm.blanc at gmail.com>
wrote:

>
>
> On Fri, Dec 11, 2015 at 9:43 AM, Matthias Wessendorf <matzew at apache.org>
> wrote:
>
>>
>>
>> On Fri, Dec 11, 2015 at 9:35 AM, Sebastien Blanc <scm.blanc at gmail.com>
>> wrote:
>>
>>> Hi Michael,
>>>
>>> The health endpoint is protected by Keycloak, you can see here the
>>> different patterns on how the endpoints are protected
>>> https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/servers/ups-wildfly/src/main/webapp/WEB-INF/web.xml
>>>
>>> I'd not change that.
>>
>>
>>
>>> Here also a sample on how you could call this endpoint from a third
>>> party  app/lib:
>>> https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/node.js/directgranttest.js
>>>
>>> Here we create a Push Application but you could adapt it easily to ping
>>> the health endpoint.
>>>
>>
>> the readme contains some hints on the required Keycloak update for that
>>
>>
>> Actually, isnt it lame the UI does not show the info - somewhere ?
>>
> You mean the REST doc ?
>

That REST API doc could use some love, yes :-)

But I meant more, our own Admin UI - wouldn't it be nice if we have some
sort of status UI, displaying whats going on (e.g. green/orange/red) ?

-M



>
>>
>>>
>>> Sebi
>>>
>>>
>>> On Fri, Dec 11, 2015 at 9:26 AM, Fischelmayer Michael <
>>> Michael.Fischelmayer at apa.at> wrote:
>>>
>>>> Hello,
>>>>
>>>>
>>>>
>>>> How is the Health Status Enpoint protected?
>>>>
>>>> https://SERVER:PORT/CONTEXT/rest/sys/info/health/
>>>>
>>>>
>>>>
>>>> I get an 401 but I can’t find the protection method in the rest docu.
>>>>
>>>>
>>>> https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#-2006359689
>>>>
>>>>
>>>>
>>>> Thanks and Regards
>>>> Michael
>>>>
>>>> _______________________________________________
>>>> Aerogear-users mailing list
>>>> Aerogear-users at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>> _______________________________________________
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>
>>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>


-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20151211/423cf485/attachment-0001.html 


More information about the Aerogear-users mailing list