use of jakarta.nosql.keyvalue.BucketManager 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.BucketManager 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.BucketManager 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.BucketManager in project jnosql-diana-driver by eclipse.
the class KeyValueEntityManagerFactoryTest method shouldCreateKeyValueEntityManager.
@Test
public void shouldCreateKeyValueEntityManager() {
BucketManager keyValueEntityManager = managerFactory.getBucketManager(BUCKET_NAME);
assertNotNull(keyValueEntityManager);
}
use of jakarta.nosql.keyvalue.BucketManager in project jnosql-diana-driver by eclipse.
the class RedisBucketManagerFactoryTest method shouldCreateKeyValueEntityManager.
@Test
public void shouldCreateKeyValueEntityManager() {
BucketManager keyValueEntityManager = managerFactory.getBucketManager(BUCKET_NAME);
assertNotNull(keyValueEntityManager);
}
Aggregations