use of jakarta.nosql.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.
the class MongoDBDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByMap.
@Test
public void shouldCreateDocumentCollectionManagerFactoryByMap() {
Map<String, String> map = new HashMap<>();
map.put("mongodb-server-host-1", "172.17.0.2:27017");
MongoDBDocumentConfiguration configuration = new MongoDBDocumentConfiguration();
DocumentCollectionManagerFactory managerFactory = configuration.get(map);
assertNotNull(managerFactory);
}
use of jakarta.nosql.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.
the class ArangoDBDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactory.
@Test
public void shouldCreateDocumentCollectionManagerFactory() {
ArangoDBDocumentConfiguration configuration = new ArangoDBDocumentConfiguration();
configuration.addHost("localhost", 8529);
DocumentCollectionManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
use of jakarta.nosql.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.
the class ElasticsearchDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByFile.
@Test
public void shouldCreateDocumentCollectionManagerFactoryByFile() {
DocumentCollectionManagerFactory managerFactory = ElasticsearchDocumentCollectionManagerFactorySupplier.INSTANCE.get();
assertNotNull(managerFactory);
}
use of jakarta.nosql.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.
the class SolrDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByFile.
@Test
public void shouldCreateDocumentCollectionManagerFactoryByFile() {
DocumentConfiguration configuration = new SolrDocumentConfiguration();
DocumentCollectionManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
use of jakarta.nosql.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.
the class CouchDBDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByMap.
@Test
public void shouldCreateDocumentCollectionManagerFactoryByMap() {
CouchDBDocumentConfiguration configuration = new CouchDBDocumentConfiguration();
DocumentCollectionManagerFactory managerFactory = configuration.get();
assertNotNull(managerFactory);
}
Aggregations