Class SpecificationImportController
java.lang.Object
org.qubership.integration.platform.runtime.catalog.rest.v1.controller.SpecificationImportController
@RestController
@CrossOrigin(origins="*")
@RequestMapping("/v1/import")
public class SpecificationImportController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificationImportController(org.qubership.integration.platform.catalog.service.exportimport.SpecificationImportService specificationImportService) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ImportSpecificationDTO> org.springframework.http.ResponseEntity<ImportSpecificationDTO> importSpecification(String specificationGroupId, org.springframework.web.multipart.MultipartFile[] files)
-
Constructor Details
-
SpecificationImportController
@Autowired public SpecificationImportController(org.qubership.integration.platform.catalog.service.exportimport.SpecificationImportService specificationImportService)
-
-
Method Details
-
importSpecification
@PostMapping public org.springframework.http.ResponseEntity<ImportSpecificationDTO> importSpecification(@RequestParam String specificationGroupId, @RequestParam org.springframework.web.multipart.MultipartFile[] files) -
getImport
@GetMapping(value="/{importId}", produces="application/json") public org.springframework.http.ResponseEntity<ImportSpecificationDTO> getImport(@PathVariable String importId)
-