Package io.es4j.test

Class Es4jBootstrapper<T extends io.es4j.Aggregate>

java.lang.Object
io.es4j.test.Es4jBootstrapper<T>

public class Es4jBootstrapper<T extends io.es4j.Aggregate> extends Object
  • Field Details

    • eventBusPoxy

      public AggregateEventBusPoxy<T extends io.es4j.Aggregate> eventBusPoxy
    • httpClient

      public AggregateHttpClient<T extends io.es4j.Aggregate> httpClient
    • POSTGRES_VERSION

      public static final String POSTGRES_VERSION
      See Also:
    • ZOOKEEPER_VERSION

      public static final String ZOOKEEPER_VERSION
      See Also:
    • postgreSQLContainer

      public org.testcontainers.containers.PostgreSQLContainer<?> postgreSQLContainer
    • redis

      public org.testcontainers.containers.GenericContainer redis
    • vertx

      public static io.vertx.mutiny.core.Vertx vertx
    • config

      public io.vertx.core.json.JsonObject config
    • postgres

      public Boolean postgres
    • clustered

      public Boolean clustered
    • HTTP_HOST

      public String HTTP_HOST
    • HTTP_PORT

      public Integer HTTP_PORT
    • aggregateClass

      public Class<T extends io.es4j.Aggregate> aggregateClass
    • cache

      public AggregateCache cache
    • eventStore

      public EventStore eventStore
    • offsetStore

      public OffsetStore offsetStore
  • Constructor Details

    • Es4jBootstrapper

      public Es4jBootstrapper(Class<T> aggregateClass, String infraConfig)
  • Method Details

    • bootstrap

      public void bootstrap()
    • setRemoteHost

      public Es4jBootstrapper<T> setRemoteHost(String host)
    • setRemotePort

      public Es4jBootstrapper<T> setRemotePort(Integer port)
    • setPostgres

      public Es4jBootstrapper<T> setPostgres(Boolean postgres)
    • infrastructure

      public Boolean infrastructure()
    • configuration

      public io.vertx.core.json.JsonObject configuration()
    • deployPgContainer

      public void deployPgContainer()
    • deployZookeeper

      public void deployZookeeper()
    • destroy

      public void destroy()