use of jakarta.nosql.keyvalue.KeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class ArangoDBConfigurationTest method shouldReturnFromConfiguration.
@Test
public void shouldReturnFromConfiguration() {
KeyValueConfiguration configuration = KeyValueConfiguration.getConfiguration();
Assertions.assertNotNull(configuration);
Assertions.assertTrue(configuration instanceof KeyValueConfiguration);
}
use of jakarta.nosql.keyvalue.KeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class CouchbaseKeyValueConfigurationTest method shouldReturnFromConfiguration.
@Test
public void shouldReturnFromConfiguration() {
KeyValueConfiguration configuration = KeyValueConfiguration.getConfiguration();
Assertions.assertNotNull(configuration);
Assertions.assertTrue(configuration instanceof KeyValueConfiguration);
}
use of jakarta.nosql.keyvalue.KeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class KeyValueEntityManagerFactoryUtils method get.
public static BucketManagerFactory get() {
KeyValueConfiguration configuration = new InfinispanKeyValueConfiguration();
BucketManagerFactory managerFactory = configuration.get();
return managerFactory;
}
use of jakarta.nosql.keyvalue.KeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class HazelcastBucketManagerSupplier method get.
@Override
public BucketManager get() {
KeyValueConfiguration configuration = new HazelcastKeyValueConfiguration();
final BucketManagerFactory factory = configuration.get();
return factory.getBucketManager(BUCKET);
}
use of jakarta.nosql.keyvalue.KeyValueConfiguration in project jnosql-diana-driver by eclipse.
the class KeyValueConfigurationTest method shouldReturnFromConfiguration.
@Test
public void shouldReturnFromConfiguration() {
KeyValueConfiguration configuration = KeyValueConfiguration.getConfiguration();
Assertions.assertNotNull(configuration);
Assertions.assertTrue(configuration instanceof KeyValueConfiguration);
}
Aggregations