Class ImportInstructionsController

java.lang.Object
org.qubership.integration.platform.runtime.catalog.rest.v1.controller.ImportInstructionsController

@RestController @RequestMapping("/v1/catalog/import-instructions") @CrossOrigin(origins="*") public class ImportInstructionsController extends Object
  • Constructor Details

    • ImportInstructionsController

      @Autowired public ImportInstructionsController(ImportInstructionsService importInstructionsService)
  • Method Details

    • exportImportInstructionsConfig

      @GetMapping("/export") public org.springframework.http.ResponseEntity<Object> exportImportInstructionsConfig()
    • uploadImportInstructionsConfig

      @PostMapping(value="/upload", consumes="multipart/form-data") public org.springframework.http.ResponseEntity<List<ImportInstructionResult>> uploadImportInstructionsConfig(@RequestParam("file") org.springframework.web.multipart.MultipartFile file, @RequestHeader(required=false,value="labels") Set<String> labels)