use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class KeyValueConfigurationTest method shouldCreateKeyValueFactoryFromFile.
@Test
public void shouldCreateKeyValueFactoryFromFile() {
BucketManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class SearchQueryTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("city:salvador");
keyValueEntityManager.delete("city:sao_paulo");
keyValueEntityManager.delete("city:rio_janeiro");
keyValueEntityManager.delete("city:manaus");
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class DynamoDBKeyValueConfigurationTest method shouldCreateKeyValueFactoryFromFile.
@Test
public void shouldCreateKeyValueFactoryFromFile() {
BucketManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseListTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("jnosql:list");
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseDocumentCollectionManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete("person:id");
}
Aggregations