Class GraphQLManager

java.lang.Object
io.evitadb.externalApi.graphql.GraphQLManager

public class GraphQLManager extends Object
Manages the whole GraphQL API (its endpoints, lifecycle, etc).
Author:
Lukáš Hornych, FG Forrest a.s. (c) 2022
  • Field Details

  • Constructor Details

    • GraphQLManager

      public GraphQLManager(@Nonnull Evita evita, @Nonnull GraphQLConfig graphQLConfig)
  • Method Details

    • getGraphQLRouter

      @Nonnull public io.undertow.server.HttpHandler getGraphQLRouter()
    • registerCatalog

      public void registerCatalog(@Nonnull String catalogName)
      Registers new Evita catalog to API. It creates new endpoint and GraphQL instance for it.
    • refreshCatalog

      public void refreshCatalog(@Nonnull String catalogName)
      Refreshes already registered catalog endpoint and its GraphQL instance.
    • unregisterCatalog

      public void unregisterCatalog(@Nonnull String catalogName)
      Deletes endpoint and its GraphQL instance for this already registered catalog.