Class AxonSystemPluginConfiguration

java.lang.Object
ai.stapi.axonsystemplugin.configuration.AxonSystemPluginConfiguration

@AutoConfiguration @ComponentScan("ai.stapi.axonsystemplugin.fixtures") @ComponentScan("ai.stapi.axonsystemplugin.structuredefinition") public class AxonSystemPluginConfiguration extends Object
  • Constructor Details

    • AxonSystemPluginConfiguration

      public AxonSystemPluginConfiguration()
  • Method Details

    • defaultGraphProjection

      @Bean public DefaultGraphProjection defaultGraphProjection(ai.stapi.graph.NodeRepository nodeRepository, ai.stapi.graph.EdgeRepository edgeRepository, ai.stapi.graphoperations.synchronization.GraphSynchronizer graphSynchronizer)
    • configureStructureDefinitionHandler

      @Bean public ConfigureStructureDefinitionHandler configureStructureDefinitionHandler(org.axonframework.eventhandling.gateway.EventGateway eventGateway, ai.stapi.schema.structureSchemaProvider.StructureSchemaProvider structureSchemaProvider, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder)
    • fixtureCommandsApplier

      @Bean public FixtureCommandsApplier fixtureCommandsApplier(org.axonframework.commandhandling.gateway.CommandGateway commandGateway)
    • commitCommandFixturesHandler

      @Bean public CommitCommandFixturesHandler commitCommandFixturesHandler(CommandMessageStore commandMessageStore, org.axonframework.eventhandling.gateway.EventGateway eventGateway, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • wipePersistedCommandAfterCommitPolicy

      @Bean public WipePersistedCommandAfterCommitPolicy wipePersistedCommandAfterCommitPolicy(CommandMessageStore commandMessageStore)
    • generateFixturesCommandLineRunner

      @Bean @Profile("generate-fixtures") public GenerateFixturesCommandLineRunner generateFixturesCommandLineRunner(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, DefaultGraphProjection graphProjection, org.springframework.context.ApplicationContext applicationContext)
    • commitCommandFixturesLineRunner

      @Bean @Profile("commit-command-fixtures") public CommitCommandFixturesLineRunner commitCommandFixturesLineRunner(org.axonframework.commandhandling.gateway.CommandGateway commandGateway, org.springframework.context.ApplicationContext applicationContext)