Package com.netflix.kayenta.controllers
Class CanaryResultArchiveController
java.lang.Object
com.netflix.kayenta.controllers.CanaryResultArchiveController
@RestController
@RequestMapping("/canaryResultArchive")
public class CanaryResultArchiveController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionCanaryResultArchiveController(com.netflix.kayenta.security.AccountCredentialsRepository accountCredentialsRepository, com.netflix.kayenta.storage.StorageServiceRepository storageServiceRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteArchivedCanaryResult(String storageAccountName, String pipelineId, javax.servlet.http.HttpServletResponse response) listAllCanaryArchivedResults(String storageAccountName) com.netflix.kayenta.canary.CanaryExecutionStatusResponseloadArchivedCanaryResult(String storageAccountName, String pipelineId) com.netflix.kayenta.canary.CanaryArchiveResultUpdateResponsestoreArchivedCanaryResult(String storageAccountName, String pipelineId, com.netflix.kayenta.canary.CanaryExecutionStatusResponse canaryExecutionStatusResponse) com.netflix.kayenta.canary.CanaryArchiveResultUpdateResponseupdateArchivedCanaryResult(String storageAccountName, String pipelineId, com.netflix.kayenta.canary.CanaryExecutionStatusResponse canaryExecutionStatusResponse)
-
Constructor Details
-
CanaryResultArchiveController
@Autowired public CanaryResultArchiveController(com.netflix.kayenta.security.AccountCredentialsRepository accountCredentialsRepository, com.netflix.kayenta.storage.StorageServiceRepository storageServiceRepository)
-
-
Method Details
-
loadArchivedCanaryResult
-
storeArchivedCanaryResult
@RequestMapping(consumes="application/json", method=POST) public com.netflix.kayenta.canary.CanaryArchiveResultUpdateResponse storeArchivedCanaryResult(@RequestParam(required=false) String storageAccountName, @RequestParam(required=false) String pipelineId, @RequestBody com.netflix.kayenta.canary.CanaryExecutionStatusResponse canaryExecutionStatusResponse) throws IOException - Throws:
IOException
-
updateArchivedCanaryResult
@RequestMapping(value="/{pipelineId:.+}", consumes="application/json", method=PUT) public com.netflix.kayenta.canary.CanaryArchiveResultUpdateResponse updateArchivedCanaryResult(@RequestParam(required=false) String storageAccountName, @PathVariable String pipelineId, @RequestBody com.netflix.kayenta.canary.CanaryExecutionStatusResponse canaryExecutionStatusResponse) throws IOException - Throws:
IOException
-
deleteArchivedCanaryResult
-
listAllCanaryArchivedResults
-