Hey,
this has now been enhanced to use Http2 connections to talk to the
OpsQueue handler.
To set up the server, have a look at
http://pilhuhn.blogspot.de/2015/07/running-okhttpclient-from-within.html
that talks about enabling http2 and what needed to be done inside the
agent to also be able to run http2 requests.
On the agent side, this requires additional fields for the
<storage-adapter>:
<storage-adapter type="HAWKULAR" username="jdoe"
password="password"
useSSL="true"
keystorePath="standalone/configuration/localhost.jks"
keystorePassword="password"/>
It is also allowed to pass a httpsUrl (like the 'url' we have now), but
not
required.
If useSSL == false (which is the default), the behavior is as before
except that
the internal calls to the hawkular server are (partially) done
asynchronously via
OkHttpClient's async feature.
Still everything is in my personal branches like indicated in the 1st
email