There is a security vulnerability in SSH key-generation using GitKraken < v8.0.1. If you used this tool to create SSH keys, please update GitKraken and regenerate. If you need help with this, contact forum-support@opengroup.org

Commit 26ef9df3 authored by unknown's avatar unknown
Browse files

removed debugging code - final update : provided option to select either gateway or direct mode

parent a1d00d14
Pipeline #49778 failed with stage
in 10 seconds
......@@ -111,24 +111,13 @@ public class CosmosClientFactoryImpl implements ICosmosClientFactory {
.gatewayMode()
.consistencyLevel(ConsistencyLevel.EVENTUAL)
.buildClient();
System.out.println("------------------Running the service on Gateway Mode ------------------");
} else {
cosmosClient = new CosmosClientBuilder()
.endpoint(pi.getCosmosEndpoint())
.key(pi.getCosmosPrimaryKey())
.throttlingRetryOptions(throttlingRetryOptions)
.buildClient();
System.out.println("------------------Running the service on Direct Mode ------------------");
}
System.out.println(enableGatewayMode);
// CosmosClient cosmosClient = new CosmosClientBuilder()
// .endpoint(pi.getCosmosGatewayEndpoint())
// .key(pi.getCosmosPrimaryKey())
// .gatewayMode()
// .consistencyLevel(ConsistencyLevel.EVENTUAL)
// .throttlingRetryOptions(throttlingRetryOptions)
// .buildClient();
CoreLoggerFactory.getInstance().getLogger(LOGGER_NAME)
.info("Created CosmosClient for dataPartition {}.", dataPartitionId);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment