Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-cpp-lib
Commits
1be288da
Commit
1be288da
authored
May 17, 2021
by
Anuj Gupta
Browse files
Updated IBM Env URL
parent
1316185c
Pipeline
#40253
passed with stage
in 2 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/src/lib/cloud/providers/ibm/IbmStorage.cc
View file @
1be288da
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment