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 TypeMethodDescriptionvoidAllows emitting start events when observability facilities are already initialized.voidemitObservabilityEvents(String catalogName) Allows emitting start events when observability facilities are already initialized.com.linecorp.armeria.server.HttpServicevoidrefreshCatalog(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 com.linecorp.armeria.server.HttpService 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. -
emitObservabilityEvents
public void emitObservabilityEvents()Allows emitting start events when observability facilities are already initialized. If we didn't postpone this initialization, events would become lost. -
emitObservabilityEvents
Allows emitting start events when observability facilities are already initialized. If we didn't postpone this initialization, events would become lost.
-