Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
REST API for the Agent. Supports CRUD operations for Adaptors, as well as Adaptor data flow statistics.
Description
Develop a REST interface for the Agent to expose Adaptor CRUD operations.
- Request URI:
GET /rest/v1/adaptor HTTP/1.0
- For now I'm shooting for the XML and plain text response, but ultimately we can support optional params:
viewType=[json|xml|text] (default is XML?)
I'm planning on using Jetty similar to how the collector does. We could have some common code that delegates requests to different handlers based on the URI. The current telnet interface will remain as-is.