Hello,
Here I provide a brief example of how to use a Morpheus PluginController plugin to add a custom endpoint “/plugin/ping” to the Morpheus application.
The response of “/plugin/ping” will be the hostname and IP address of the node handling the request.
After uploading the plugin ensure your user has Full access to the plugin generated feature permission “Node UI Integration” before you can access /plugin/ping
Repo: GitHub - cpdtaylor/morpheus-node-identifier-plugin: Morpheus Plugin that provides endpoint(s) for identifying the node a web request is handled by.
5.4.6 compatible JAR: morpheus-node-identifier-plugin-0.0.1.jar.zip - Droplr
Please feel free to extend this plugin via pull requests or re-use.