Class CassandraMock

java.lang.Object
com.majorana.maj_orm.DBs.CassandraMock

@Configuration @Profile("mock-cass") public class CassandraMock extends Object
Spring configuration, mocks up a empty cassandra connection if the spring profile "mock-cass" is active
  • Constructor Details

    • CassandraMock

      public CassandraMock()
  • Method Details

    • cassandraState

      @Bean public CassandraState cassandraState()
    • cassandraSession

      @Bean public com.datastax.oss.driver.api.core.CqlSession cassandraSession()
    • cassandraConverter

      @Bean public org.springframework.data.cassandra.core.convert.CassandraConverter cassandraConverter()