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 Summary
ConstructorsConstructorDescriptionSystemExportImportController(SystemExportImportService systemExportImportService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object> exportSystems(List<String> systemIds, List<String> usedSystemModelIds) org.springframework.http.ResponseEntity<List<ImportSystemResult>> getSystemsImportPreview(org.springframework.web.multipart.MultipartFile file) org.springframework.http.ResponseEntity<List<ImportSystemResult>> importSystems(org.springframework.web.multipart.MultipartFile file, List<String> systemIds, String deployLabel, String packageName, String packageVersion, String packagePartOf)
-
Constructor Details
-
SystemExportImportController
-
-
Method Details
-
exportSystems
-
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)
-