[CHOMP-1] Posting data in Akraino ElasticSearch Created: 08/Oct/19 Updated: 15/Oct/19 Resolved: 15/Oct/19 |
|
| Status: | Done |
| Project: | Cluster Health & Overload Monitoring Platform |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Michael Hunter | Assignee: | Michael Hunter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
As part of CHOMP, the final processing is a push to an Elasticsearch API, “upload”, that stores the KPI results. This API was provided by DEVARAJ, LAKSHMINARAYANA. Please see the Akraino Rest API below that should be called using a curl command (also provided below) to post the CHOMP data into Akraino. Validate if this is still valid of if the new Regional Controller API needs to be enhanced.
API Spec: URL: http://<regional-node-ip>:8080/AECPortalMgmt/chomp/upload Request attributes: originSrc: chomp file: json file that contains chomp output interval: 3 ( for e.g. json file sent over has 3 minutes snapshot) timeStamp: date-time when the API call was made (current system time where chomp is running)
Sample CURL command: curl -X POST -F "file=@/file-path/chomp.json |