Custom /ping endpoint via Morpheus Plugin

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.

9 Likes

Hello @ctaylor

I have created this plugin, and now how to access this endpoint through API call.

Thanks
Mahesh

Hi, the endpoint is effectively another page in the Morpheus Appliance accessible via HTTP/S. Pages in the UI are not resources you’d access via the API.

If you meant something else, please provide more information.

1 Like

Is there an open technical request on this?