java.lang.Object
io.evitadb.externalApi.graphql.GraphQLManager
Manages the whole GraphQL API (its endpoints, lifecycle, etc).
- Author:
- Lukáš Hornych, FG Forrest a.s. (c) 2022
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.server.HttpHandlervoidrefreshCatalog(String catalogName) Refreshes already registered catalog endpoint and itsGraphQLinstance.voidregisterCatalog(String catalogName) Registers new Evita catalog to API.voidunregisterCatalog(String catalogName) Deletes endpoint and itsGraphQLinstance for this already registered catalog.
-
Constructor Details
-
GraphQLManager
-
-
Method Details
-
getGraphQLRouter
@Nonnull public io.undertow.server.HttpHandler getGraphQLRouter() -
registerCatalog
Registers new Evita catalog to API. It creates new endpoint andGraphQLinstance for it. -
refreshCatalog
Refreshes already registered catalog endpoint and itsGraphQLinstance. -
unregisterCatalog
Deletes endpoint and itsGraphQLinstance for this already registered catalog.
-