File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
jnosql-nosql-oracle/src/test/java/org/eclipse/jnosql/databases/oracle/communication Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1414 */
1515package org .eclipse .jnosql .databases .oracle .communication ;
1616
17- import oracle .nosql .driver .NoSQLHandle ;
18- import oracle .nosql .driver .NoSQLHandleConfig ;
19- import oracle .nosql .driver .NoSQLHandleFactory ;
20- import oracle .nosql .driver .kv .StoreAccessTokenProvider ;
2117import org .eclipse .jnosql .communication .Settings ;
2218import org .eclipse .jnosql .communication .document .DocumentConfiguration ;
2319import org .eclipse .jnosql .communication .document .DocumentManagerFactory ;
@@ -39,15 +35,6 @@ public enum Database implements Supplier<BucketManagerFactory> {
3935 container .start ();
4036 }
4137
42- NoSQLHandle getNoSQLHandle () {
43- String address = container .getHost ();
44- Integer port = container .getFirstMappedPort ();
45- //NoSQLHandleConfig config = new NoSQLHandleConfig("http://" + System.getenv("NOSQL_ENDPOINT") + ":" + System.getenv("NOSQL_PORT"));
46- System .out .println ("Connecting to http://" + address + ":" + port );
47- NoSQLHandleConfig config = new NoSQLHandleConfig ("http://" + address + ":" + port );
48- config .setAuthorizationProvider (new StoreAccessTokenProvider ());
49- return NoSQLHandleFactory .createNoSQLHandle (config ) ;
50- }
5138
5239 @ Override
5340 public BucketManagerFactory get () {
You can’t perform that action at this time.
0 commit comments