Class ElementValidationController
java.lang.Object
org.qubership.integration.platform.runtime.catalog.rest.v1.controller.ElementValidationController
@RestController
@RequestMapping(value="/v1/catalog/validation",
produces="application/json")
@CrossOrigin(origins="*")
public class ElementValidationController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionElementValidationController(ElementValidationService elementValidationService, RuntimeDeploymentService runtimeDeploymentService, DeploymentMapper deploymentMapper) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Boolean> checkRouteExists(String uri, String excludeChainId, boolean isExternalRoute, boolean isPrivateRoute, Set<org.springframework.http.HttpMethod> httpMethods) org.springframework.http.ResponseEntity<List<RouteDeployment>> findRouteDeployments(String uri, String excludeChainId, boolean isExternalRoute, boolean isPrivateRoute, Set<org.springframework.http.HttpMethod> httpMethods)
-
Constructor Details
-
ElementValidationController
@Autowired public ElementValidationController(ElementValidationService elementValidationService, RuntimeDeploymentService runtimeDeploymentService, DeploymentMapper deploymentMapper)
-
-
Method Details
-
checkRouteExists
@GetMapping("/routes") public org.springframework.http.ResponseEntity<Boolean> checkRouteExists(@RequestParam String uri, @RequestParam String excludeChainId, @RequestParam(required=false,defaultValue="true") boolean isExternalRoute, @RequestParam(required=false,defaultValue="false") boolean isPrivateRoute, @RequestParam(required=false,defaultValue="") Set<org.springframework.http.HttpMethod> httpMethods) -
findRouteDeployments
@GetMapping("/findRouteDeployments") public org.springframework.http.ResponseEntity<List<RouteDeployment>> findRouteDeployments(@RequestParam String uri, @RequestParam String excludeChainId, @RequestParam(required=false,defaultValue="true") boolean isExternalRoute, @RequestParam(required=false,defaultValue="false") boolean isPrivateRoute, @RequestParam(required=false,defaultValue="") Set<org.springframework.http.HttpMethod> httpMethods)
-