java.lang.Object
org.qubership.integration.platform.variables.management.rest.v2.controller.SecuredVariableControllerV2

@RestController @RequestMapping("/v2/secured-variables") @CrossOrigin(origins="*") @Validated public class SecuredVariableControllerV2 extends Object
  • Constructor Details

  • Method Details

    • getVariables

      @GetMapping public org.springframework.http.ResponseEntity<List<SecretResponse>> getVariables()
    • getVariablesForSecret

      @GetMapping("/{secretName}") public org.springframework.http.ResponseEntity<Set<String>> getVariablesForSecret(@PathVariable String secretName)
    • addVariables

      @PostMapping public org.springframework.http.ResponseEntity<List<SecretResponse>> addVariables(@Valid @RequestBody @Valid SecuredVariablesRequest request)
    • updateVariable

      @PatchMapping public org.springframework.http.ResponseEntity<SecretResponse> updateVariable(@RequestBody SecuredVariablesRequest updateRequest)
    • deleteVariablesFromSecret

      @DeleteMapping("/{secretName}") public org.springframework.http.ResponseEntity<Void> deleteVariablesFromSecret(@PathVariable String secretName, @RequestParam Set<String> variablesNames)
    • deleteVariables

      @DeleteMapping public org.springframework.http.ResponseEntity<?> deleteVariables(@RequestBody Map<String,Set<String>> secretsVariables)