Add support for client-defined connection protocols #482
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a clientlib directory and handling for it, which allows end users to supply additional JARs to be added to the Cryostat classpath. This allows for various extensions to Cryostat, ex. it would allow for a reflection-based platform client or auth manager selection (again), but in this instance it is intended to allow Cryostat to communicate with targets using alternate service types than
jmxrmi
, such as Wildfly'sremote+http
.The new Wildfly sample application in
smoketest.sh
listens usingremote+http
on port 9990, so with thisjboss-client.jar
in/clientlib
, Cryostat can connect to the Wildfly server using the URLservice:jmx:remote+http://localhost:9990
. This target will need to be manually added using the Custom Targets HTTP API (#472). Example using HTTPie:See the below attachment for such a
jboss-client
library that can be used - just rename.zip
to.jar
(GitHub does not allow.jar
uploads but does allow.zip
...)jboss-client.zip
Fixes #469
Question/TODO: support uploading client libraries through an API handler, similar to client certificates?