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

@RestController @Validated @RequestMapping(value="/v1/catalog/export", produces="application/octet-stream") @CrossOrigin(origins="*") public class ExportController extends Object
  • Constructor Details

  • Method Details

    • exportChain

      @GetMapping("/chain/{chainId}") public org.springframework.http.ResponseEntity<Object> exportChain(@PathVariable @NotBlank @NotBlank String chainId)
    • exportChains

      @GetMapping("/chains") public org.springframework.http.ResponseEntity<Object> exportChains(@RequestParam @NotEmpty @Valid @NotEmpty @Valid List<String> chainIds, @RequestParam(required=false) boolean exportWithSubChains)
    • exportAllChains

      @GetMapping public org.springframework.http.ResponseEntity<Object> exportAllChains()
    • exportSpecification

      @GetMapping("/api-spec") public org.springframework.http.ResponseEntity<Object> exportSpecification(@RequestParam(required=false,defaultValue="") List<String> deploymentIds, @RequestParam(required=false,defaultValue="") List<String> snapshotIds, @RequestParam(required=false,defaultValue="") List<String> chainIds, @RequestParam(required=false,defaultValue="") List<String> httpTriggerIds, @RequestParam(required=false,defaultValue="true") boolean externalRoutes, @RequestParam(required=false,defaultValue="OpenAPI") org.qubership.integration.platform.catalog.model.apispec.ApiSpecificationType specificationType, @RequestParam(required=false,defaultValue="YAML") org.qubership.integration.platform.catalog.model.apispec.ApiSpecificationFormat format)