java.lang.Object
org.qubership.integration.platform.variables.management.rest.v1.controller.SecuredVariableController

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

    • SecuredVariableController

      @Autowired public SecuredVariableController(SecuredVariableService securedVariableService)
  • Method Details

    • getVariables

      @GetMapping public org.springframework.http.ResponseEntity<Set<String>> getVariables()
    • addVariables

      @PostMapping public org.springframework.http.ResponseEntity<Set<String>> addVariables(@RequestBody Map<String,String> variables)
    • updateVariable

      @PatchMapping("/{securedVariableName}") public org.springframework.http.ResponseEntity<StringResponse> updateVariable(@PathVariable String securedVariableName, @RequestBody(required=false) String value)
    • deleteVariables

      @DeleteMapping public org.springframework.http.ResponseEntity<Void> deleteVariables(@RequestParam Set<String> variablesNames)
    • importVariables

      @PostMapping("/import") public org.springframework.http.ResponseEntity<Set<String>> importVariables(@RequestParam("file") org.springframework.web.multipart.MultipartFile file)