Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
seismic-dms-cpp-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU Software
OSDU Data Platform
Domain Data Management Services
Seismic
Seismic DMS Suite
seismic-dms-cpp-lib
Commits
99e620fd
Commit
99e620fd
authored
5 months ago
by
Daniel Perez
Browse files
Options
Downloads
Patches
Plain Diff
fix: adding missing header
parent
ed88973b
No related branches found
No related tags found
2 merge requests
!248
fix: add missing header partition id in dataset lock, patch, and get storage auth token
,
!247
fix: add missing header partition id in dataset lock, patch, and get storage auth token
Pipeline
#276053
passed with warnings
5 months ago
Stage: build
Stage: scan
Stage: integration
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/src/lib/cloud/SeismicStore.cc
+2
-0
2 additions, 0 deletions
src/src/lib/cloud/SeismicStore.cc
with
2 additions
and
0 deletions
src/src/lib/cloud/SeismicStore.cc
+
2
−
0
View file @
99e620fd
...
...
@@ -484,6 +484,7 @@ namespace seismicdrive
// add the write lock (if not specified the service will generate one for you)
http
.
add_header
(
"x-seismic-dms-lockid"
,
generateLockID
(
LockMode
::
WRITE
));
http
.
add_header
(
"data-partition-id"
,
sdpath
.
getTenantName
());
setDefaultCallbacks
(
http
);
http
.
add_header
(
"content-type"
,
"application/json"
);
...
...
@@ -1040,6 +1041,7 @@ namespace seismicdrive
http
.
set_url
(
sdurl
+
"/utility/gcs-access-token"
);
http
.
add_url_param
(
"sdpath"
,
subProjectResource
);
http
.
add_url_param
(
"readonly"
,
readonlystr
);
http
.
add_header
(
"data-partition-id"
,
subProjectResource
.
substr
(
5
,
(
subProjectResource
.
find
(
'/'
,
5
)
-
5
)));
http
.
add_header
(
"content-type"
,
"application/json"
);
http
.
add_header
(
sdutils
::
isURLaGCPKnownDeploymentHost
(
sdurl
)
?
"x-api-key"
:
"appkey"
,
sdapikey
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment