File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
java-app/src/test/java/com/demo Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ public void setup() {
2222 String containerName = System .getenv ("COSMOSDB_CONTAINER_NAME" );
2323
2424 String endpoint = connectionString .split (";" )[0 ].split ("=" )[1 ];
25+ endpoint = endpoint .replaceAll ("http://" , "https://" );
2526 System .out .println ("endpoint 1 === " + endpoint );
2627
27- endpoint = "https://" + endpoint .split ("://" )[1 ];
28- System .out .println ("endpoint 2 === " + endpoint );
28+ // endpoint = "https://" + endpoint.split("://")[1];
29+ // System.out.println("endpoint 2 === " + endpoint);
2930
3031 String key = connectionString .split (";" )[1 ].split ("=" )[1 ];
31- System .out .println ("key === " + key );
32+ // System.out.println("key === " + key);
3233
3334 try {
3435 this .client = new CosmosClientBuilder ()
You can’t perform that action at this time.
0 commit comments