use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseSetTest 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:set");
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class DocumentQueryTest 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");
keyValueEntityManager.delete("person:id2");
keyValueEntityManager.delete("person:id3");
keyValueEntityManager.delete("person:id4");
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseBucketManagerTest method afterClass.
@AfterAll
public static void afterClass() {
CouchbaseKeyValueConfiguration configuration = CouchbaseKeyValueTcConfiguration.getTcConfiguration();
BucketManagerFactory keyValueEntityManagerFactory = configuration.get();
BucketManager keyValueEntityManager = keyValueEntityManagerFactory.getBucketManager(CouchbaseUtil.BUCKET_NAME);
keyValueEntityManager.delete(KEY_OTAVIO);
keyValueEntityManager.delete(KEY_SORO);
}
use of jakarta.nosql.keyvalue.BucketManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchbaseQueueTest 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:queue");
}
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);
}
Aggregations