Class SystemExportImportController

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

@RestController @CrossOrigin(origins="*") @RequestMapping("/v1") public class SystemExportImportController extends Object
  • Constructor Details

    • SystemExportImportController

      @Autowired public SystemExportImportController(SystemExportImportService systemExportImportService)
  • Method Details

    • exportSystems

      @RequestMapping(method={GET,POST}, value="/export/system", produces="application/octet-stream") public org.springframework.http.ResponseEntity<Object> exportSystems(@RequestParam(required=false) List<String> systemIds, @RequestParam(required=false) List<String> usedSystemModelIds)
    • importSystems

      @PostMapping("/import/system") public org.springframework.http.ResponseEntity<List<ImportSystemResult>> importSystems(@RequestParam("file") org.springframework.web.multipart.MultipartFile file, @RequestParam(required=false) List<String> systemIds, @RequestParam(required=false) String deployLabel, @RequestHeader(required=false,value="X-SR-Package-Name") String packageName, @RequestHeader(required=false,value="X-SR-Package-Version") String packageVersion, @RequestHeader(required=false,value="X-SR-Part-Of") String packagePartOf)
    • getSystemsImportPreview

      @PostMapping("/import/systemPreview") public org.springframework.http.ResponseEntity<List<ImportSystemResult>> getSystemsImportPreview(@RequestParam("file") org.springframework.web.multipart.MultipartFile file)