Package ai.stapi.graphql.configuration
Class GraphQLConfiguration
java.lang.Object
ai.stapi.graphql.configuration.GraphQLConfiguration
@AutoConfiguration
@ComponentScan("ai.stapi.graphql")
public class GraphQLConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommandGqlDataFetcher(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, ai.stapi.graphsystem.aggregatedefinition.model.AggregateDefinitionProvider aggregateDefinitionProvider, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider graphDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper) graphLoaderGqlDataFetcher(ai.stapi.graphoperations.graphLoader.GraphLoader graphLoader, ai.stapi.graphoperations.graphLoader.search.filterOption.factory.FilterOptionFactory filterOptionFactory) graphQlExecutor(GraphQLProvider graphQLProvider) graphQlJavaSchemaGenerator(GraphQlSortInputGenerator graphQlSortInputGenerator, GraphQlFilterInputGenerator graphQlFilterInputGenerator, GraphQlObjectTypeGenerator graphQlObjectTypeGenerator, GraphQlScalarSchemaGenerator graphQlScalarSchemaGenerator, GraphLoaderGqlDataFetcher graphLoaderGqlDataFetcher, CommandGqlDataFetcher commandGqlDataFetcher) graphQlObjectTypeGenerator(GraphQlSortInputGenerator graphQLSortInputGenerator, GraphQlFilterInputGenerator graphQlFilterInputGenerator) initializeGraphQlCommandLineRunner(GraphQLProvider graphQLProvider) printGraphQLCommandLineRunner(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, org.springframework.context.ApplicationContext applicationContext) printGraphQlSchemaCommandHandler(GraphQlSchemaGenerator graphQlSchemaGenerator, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider graphDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionProvider operationDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper) schemaGraphQlProvider(GraphQlJavaSchemaGenerator graphQlJavaSchemaGenerator, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider structureSchemaProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionProvider operationDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper, ai.stapi.schema.scopeProvider.ScopeCacher scopeCacher)
-
Constructor Details
-
GraphQLConfiguration
public GraphQLConfiguration()
-
-
Method Details
-
graphQlExecutor
-
schemaGraphQlProvider
@Bean @ConditionalOnMissingBean(GraphQLProvider.class) public SchemaGraphQlProvider schemaGraphQlProvider(GraphQlJavaSchemaGenerator graphQlJavaSchemaGenerator, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider structureSchemaProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionProvider operationDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper, ai.stapi.schema.scopeProvider.ScopeCacher scopeCacher) -
graphQlJavaSchemaGenerator
@Bean @ConditionalOnMissingBean(GraphQlSchemaGenerator.class) @ConditionalOnBean(SchemaGraphQlProvider.class) public GraphQlJavaSchemaGenerator graphQlJavaSchemaGenerator(GraphQlSortInputGenerator graphQlSortInputGenerator, GraphQlFilterInputGenerator graphQlFilterInputGenerator, GraphQlObjectTypeGenerator graphQlObjectTypeGenerator, GraphQlScalarSchemaGenerator graphQlScalarSchemaGenerator, GraphLoaderGqlDataFetcher graphLoaderGqlDataFetcher, CommandGqlDataFetcher commandGqlDataFetcher) -
graphQlSortInputGenerator
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public GraphQlSortInputGenerator graphQlSortInputGenerator() -
graphQlFilterInputGenerator
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public GraphQlFilterInputGenerator graphQlFilterInputGenerator() -
graphQlObjectTypeGenerator
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public GraphQlObjectTypeGenerator graphQlObjectTypeGenerator(GraphQlSortInputGenerator graphQLSortInputGenerator, GraphQlFilterInputGenerator graphQlFilterInputGenerator) -
graphQlScalarSchemaGenerator
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public GraphQlScalarSchemaGenerator graphQlScalarSchemaGenerator() -
graphLoaderGqlDataFetcher
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public GraphLoaderGqlDataFetcher graphLoaderGqlDataFetcher(ai.stapi.graphoperations.graphLoader.GraphLoader graphLoader, ai.stapi.graphoperations.graphLoader.search.filterOption.factory.FilterOptionFactory filterOptionFactory) -
commandGqlDataFetcher
@Bean @ConditionalOnBean(GraphQlJavaSchemaGenerator.class) public CommandGqlDataFetcher commandGqlDataFetcher(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, ai.stapi.graphsystem.aggregatedefinition.model.AggregateDefinitionProvider aggregateDefinitionProvider, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider graphDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper) -
initializeGraphQlCommandLineRunner
@Bean public InitializeGraphQlCommandLineRunner initializeGraphQlCommandLineRunner(GraphQLProvider graphQLProvider) -
printGraphQlSchemaCommandHandler
@Bean public PrintGraphQlSchemaCommandHandler printGraphQlSchemaCommandHandler(GraphQlSchemaGenerator graphQlSchemaGenerator, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider graphDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionProvider operationDefinitionProvider, ai.stapi.graphsystem.operationdefinition.model.OperationDefinitionStructureTypeMapper operationDefinitionStructureTypeMapper) -
printGraphQLCommandLineRunner
@Bean @Profile("print-graphql-schema") public PrintGraphQLCommandLineRunner printGraphQLCommandLineRunner(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, org.springframework.context.ApplicationContext applicationContext)
-