Class CatalogController
java.lang.Object
org.springframework.cloud.servicebroker.controller.BaseController
org.springframework.cloud.servicebroker.controller.CatalogController
Provide endpoints for the catalog API.
- Author:
- S Greenberg, Scott Frederick, Roy Clarkson
- See Also:
-
Field Summary
Fields inherited from class org.springframework.cloud.servicebroker.controller.BaseController
catalogService
-
Constructor Summary
ConstructorDescriptionCatalogController
(CatalogService service) Construct a newCatalogController
. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ResponseEntity<Catalog>>
getCatalog
(HttpHeaders httpHeaders) REST controller for getting a catalog.Methods inherited from class org.springframework.cloud.servicebroker.controller.BaseController
configureCommonRequestFields, configureCommonRequestFields, getAsyncResponseCode, getRequiredServiceDefinition, getRequiredServiceDefinitionPlan, getServiceDefinition, getServiceDefinitionPlan, parseOriginatingIdentity
-
Constructor Details
-
CatalogController
Construct a newCatalogController
.- Parameters:
service
- the catalog service
-
-
Method Details
-
getCatalog
@GetMapping({"/v2/catalog","{platformInstanceId}/v2/catalog"}) public reactor.core.publisher.Mono<ResponseEntity<Catalog>> getCatalog(@RequestHeader HttpHeaders httpHeaders) REST controller for getting a catalog.- Parameters:
httpHeaders
- the headers- Returns:
- the catalog
-