Monitoring the monster with RHQ
The classical RHQ setup assumes an agent and agent plugins being present on a machine (‘platform’ in RHQ-speak). Plugins then communicate with the managed resource (e.g. an AS7 server); ask it for...
View ArticleCreating a delegating login module (for JBoss EAP 6.1)
[ If you only want to see code, just scroll down ] Motivation In RHQ we had a need for a security domain that can be used to secure the REST-api and its web-app via container managed security. In the...
View ArticleCustom Deserializer in Jackson and validation
tl;dr: it is important to add input validation to custom json deserializers in Jackson. In RHQ we make use of Json parsing in a few places – be it directly in the as7/Wildfly plugin, be it in the...
View ArticleWildFly subsystem for RHQ Metrics
For RHQ-Metrics I have started writing a subsystem for WildFly 8 that is able to collect metrics inside WildFly and then send them at regular intervals (currently every minute) to a RHQ-Metrics server....
View ArticleRunning OkHttpClient from within WildFly 9 (subsystem)
A few days ago WildFly 9 was released and one of the highlight for sure is the support of HTTP/2.0 in the Undertow web subsystem. As Hawkular has recently moved to use WildFly 9 (from 8.2) as its...
View ArticleWiPy on the home network
Recently there was a Kickstarter about “an Arduino that runs Python”, the WiPy. This is a small IoT board with WiFi on it (which is not available on stock Arduinos) for an attractive price. And being...
View Article