Commit 1be288da authored by Anuj Gupta's avatar Anuj Gupta
Browse files

Updated IBM Env URL

parent 1316185c
Pipeline #40253 passed with stage
in 2 minutes and 10 seconds
......@@ -150,7 +150,16 @@ namespace seismicdrive
return nullptr;
}
Aws::Client::ClientConfiguration config;
config.endpointOverride = "minio-minio-operator-ns.osdu-qa-a1c3eaf78a86806e299f5f3f207556f0-0000.us-south.containers.appdomain.cloud";
const char *temp = getenv("IBM_COS_URL");
if (temp == NULL)
ibm_cos_url = "set-it-in-env-pl";
else
ibm_cos_url = std::string(temp);
config.endpointOverride = {ibm_cos_url.data(),ibm_cos_url.size()};
std::cout << "MINIO Endpoint " << config.endpointOverride << std::endl;
// config.endpointOverride = "minio-endpoint-without-https";
return std::make_shared<Aws::S3::S3Client>(s3_credentials, config, Aws::Client::AWSAuthV4Signer::PayloadSigningPolicy::Never, false);
}
......
Supports Markdown
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