Extension of evaluation API
In addition to the existing API, delivering the evaluation results
(
cloud_services/{serviceId}/controls/{controlId}
/cloud_services/{serviceId}/metrics/{metricId}
)
for full functionality of the dashboard according to the spec, it should also be possible to request a list of all services, the controls monitored per service and the results of the last 30 days.
( e.g.
/cloud_services/allservices
/cloud_services/{serviceId}/monitoredcontrols
/cloud_services/history/{days}/<all of above>
)
Otherwise the user would have to know and enter the serviceId and controlId manually before requesting evaluation results.
Optionally, the controls to monitor for each service could be set from the dashboard if the API allows corresponding requests.
( e.g.
set /cloud_services/{serviceId}/setcontrol/{controlId}
get /cloud_services/allcontrols
)