Search in sources :

Example 11 with BucketManagerFactory

use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.

the class KeyValueConfigurationTest method shouldCreateKeyValueFactory.

@Test
public void shouldCreateKeyValueFactory() {
    Map<String, String> map = new HashMap<>();
    BucketManagerFactory managerFactory = configuration.get(map);
    assertNotNull(managerFactory);
}
Also used : HashMap(java.util.HashMap) BucketManagerFactory(org.jnosql.diana.api.key.BucketManagerFactory) Test(org.junit.jupiter.api.Test)

Example 12 with BucketManagerFactory

use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.

the class KeyValueConfigurationTest method shouldCreateKeyValueFactoryFromFile.

@Test
public void shouldCreateKeyValueFactoryFromFile() {
    BucketManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : BucketManagerFactory(org.jnosql.diana.api.key.BucketManagerFactory) Test(org.junit.jupiter.api.Test)

Example 13 with BucketManagerFactory

use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.

the class RiakKeyValueConfigurationTest method shouldCreateKeyValueFactoryFromFile.

@Test
public void shouldCreateKeyValueFactoryFromFile() {
    BucketManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : BucketManagerFactory(org.jnosql.diana.api.key.BucketManagerFactory) Test(org.junit.jupiter.api.Test)

Example 14 with BucketManagerFactory

use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.

the class RedisConfigurationTest method shouldCreateKeyValueFactoryFromFile.

@Test
public void shouldCreateKeyValueFactoryFromFile() {
    BucketManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : BucketManagerFactory(org.jnosql.diana.api.key.BucketManagerFactory) Test(org.junit.jupiter.api.Test)

Example 15 with BucketManagerFactory

use of org.jnosql.diana.api.key.BucketManagerFactory in project jnosql-diana-driver by eclipse.

the class RedisConfigurationTest method shouldCreateKeyValueFactory.

@Test
public void shouldCreateKeyValueFactory() {
    Map<String, String> map = new HashMap<>();
    map.put("redis-master-hoster", "localhost");
    BucketManagerFactory managerFactory = configuration.getManagerFactory(map);
    assertNotNull(managerFactory);
}
Also used : HashMap(java.util.HashMap) BucketManagerFactory(org.jnosql.diana.api.key.BucketManagerFactory) Test(org.junit.jupiter.api.Test)

Aggregations

BucketManagerFactory (org.jnosql.diana.api.key.BucketManagerFactory)19 Test (org.junit.jupiter.api.Test)9 BucketManager (org.jnosql.diana.api.key.BucketManager)8 AfterAll (org.junit.jupiter.api.AfterAll)8 HashMap (java.util.HashMap)3 CouchbaseKeyValueConfiguration (org.jnosql.diana.couchbase.key.CouchbaseKeyValueConfiguration)3 KeyValueConfiguration (org.jnosql.diana.api.key.KeyValueConfiguration)2 HazelcastKeyValueConfiguration (org.jnosql.diana.hazelcast.key.HazelcastKeyValueConfiguration)1 InfinispanKeyValueConfiguration (org.jnosql.diana.infinispan.key.InfinispanKeyValueConfiguration)1