Package com.netflix.kayenta.controllers
Class MetricSetPairListController
java.lang.Object
com.netflix.kayenta.controllers.MetricSetPairListController
@RestController
@RequestMapping("/metricSetPairList")
public class MetricSetPairListController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionMetricSetPairListController(com.netflix.kayenta.service.MetricSetPairListService metricSetPairListService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMetricSetPairList(String accountName, String metricSetPairListId) listAllMetricSetPairLists(String accountName) org.springframework.http.ResponseEntity<com.netflix.kayenta.metrics.MetricSetPair>loadMetricSetPair(String accountName, String metricSetPairListId, String metricSetPairId) List<com.netflix.kayenta.metrics.MetricSetPair>loadMetricSetPairList(String accountName, String metricSetPairListId) storeMetricSetPairList(String accountName, List<com.netflix.kayenta.metrics.MetricSetPair> metricSetPairList)
-
Constructor Details
-
MetricSetPairListController
@Autowired public MetricSetPairListController(com.netflix.kayenta.service.MetricSetPairListService metricSetPairListService)
-
-
Method Details
-
loadMetricSetPairList
-
loadMetricSetPair
@RequestMapping(value="/{metricSetPairListId:.+}/{metricSetPairId:.+}", method=GET) public org.springframework.http.ResponseEntity<com.netflix.kayenta.metrics.MetricSetPair> loadMetricSetPair(@RequestParam(required=false) String accountName, @PathVariable String metricSetPairListId, @PathVariable String metricSetPairId) -
storeMetricSetPairList
@RequestMapping(consumes="application/json", method=POST) public Map storeMetricSetPairList(@RequestParam(required=false) String accountName, @RequestBody List<com.netflix.kayenta.metrics.MetricSetPair> metricSetPairList) throws IOException - Throws:
IOException
-
deleteMetricSetPairList
-
listAllMetricSetPairLists
-