Skip to content
GitLab
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 Management Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
c745e89d
Commit
c745e89d
authored
Feb 03, 2021
by
Diego Molteni
Browse files
added missed base url
parent
f9cc118b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/dataecosystem/compliance.ts
View file @
c745e89d
...
...
@@ -47,7 +47,8 @@ export class DESCompliance {
'
Content-Type
'
:
'
application/json
'
},
json
:
{
names
:
[
ltag
]
},
url
:
Config
.
DES_SERVICE_HOST_COMPLIANCE
,
PORT
:
Config
.
DES_REDIS_INSTANCE_PORT
,
url
:
Config
.
DES_SERVICE_HOST_COMPLIANCE
+
dataecosystem
.
getComplianceBaseUrlPath
()
+
'
/legaltags:validate
'
};
// tslint:disable-next-line: no-string-literal
...
...
src/dataecosystem/entitlement.ts
View file @
c745e89d
...
...
@@ -36,7 +36,7 @@ export class DESEntitlement {
'
Authorization
'
:
userToken
.
startsWith
(
'
Bearer
'
)
?
userToken
:
'
Bearer
'
+
userToken
,
'
Content-Type
'
:
'
application/json
'
,
},
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
+
dataecosystem
.
getEntitlementBaseUrlPath
()
+
'
/groups/
'
+
group
+
'
/members
'
,
};
if
(
prevCursor
!==
undefined
)
{
options
.
url
+=
(
'
?cursor=
'
+
prevCursor
);
}
...
...
@@ -75,7 +75,7 @@ export class DESEntitlement {
'
Authorization
'
:
userToken
.
startsWith
(
'
Bearer
'
)
?
userToken
:
'
Bearer
'
+
userToken
,
'
Content-Type
'
:
'
application/json
'
},
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
+
dataecosystem
.
getEntitlementBaseUrlPath
()
+
'
/groups
'
,
};
options
.
headers
[
dataecosystem
.
getDataPartitionIDRestHeaderName
()]
=
dataPartitionID
;
...
...
@@ -115,7 +115,8 @@ export class DESEntitlement {
'
Content-Type
'
:
'
application/json
'
},
json
:
undefined
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
+
dataecosystem
.
getEntitlementBaseUrlPath
()
+
'
/groups/
'
+
groupName
+
'
/members
'
,
};
options
.
json
=
dataecosystem
.
getUserAddBodyRequest
(
userEmail
,
role
);
...
...
@@ -151,7 +152,8 @@ export class DESEntitlement {
'
Authorization
'
:
userToken
.
startsWith
(
'
Bearer
'
)
?
userToken
:
'
Bearer
'
+
userToken
,
'
Content-Type
'
:
'
application/json
'
},
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
+
dataecosystem
.
getEntitlementBaseUrlPath
()
+
'
/groups/
'
+
groupName
+
'
/members/
'
+
userEmail
,
};
options
.
headers
[
dataecosystem
.
getDataPartitionIDRestHeaderName
()]
=
dataPartitionID
;
...
...
@@ -190,7 +192,7 @@ export class DESEntitlement {
description
:
groupDesc
,
name
:
groupName
,
},
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
,
url
:
Config
.
DES_SERVICE_HOST_ENTITLEMENT
+
dataecosystem
.
getEntitlementBaseUrlPath
()
+
'
/groups
'
,
};
options
.
headers
[
dataecosystem
.
getDataPartitionIDRestHeaderName
()]
=
dataPartitionID
;
...
...
src/dataecosystem/storage.ts
View file @
c745e89d
...
...
@@ -35,7 +35,7 @@ export class DESStorage {
'
Content-Type
'
:
'
application/json
'
},
json
:
seismicMeta
,
url
:
Config
.
DES_SERVICE_HOST_STORAGE
,
url
:
Config
.
DES_SERVICE_HOST_STORAGE
+
dataecosystem
.
getStorageBaseUrlPath
()
+
'
/records
'
,
};
// tslint:disable-next-line: no-string-literal
...
...
@@ -70,7 +70,7 @@ export class DESStorage {
'
AppKey
'
:
appkey
||
Config
.
DES_SERVICE_APPKEY
,
'
Content-Type
'
:
'
application/json
'
,
},
url
:
Config
.
DES_SERVICE_HOST_STORAGE
,
url
:
Config
.
DES_SERVICE_HOST_STORAGE
+
dataecosystem
.
getStorageBaseUrlPath
()
+
'
/records/
'
+
seismicUid
+
'
:delete
'
,
};
// tslint:disable-next-line: no-string-literal
...
...
@@ -104,7 +104,7 @@ export class DESStorage {
'
Accept
'
:
'
application/json
'
,
'
AppKey
'
:
appkey
||
Config
.
DES_SERVICE_APPKEY
,
},
url
:
Config
.
DES_SERVICE_HOST_STORAGE
,
url
:
Config
.
DES_SERVICE_HOST_STORAGE
+
dataecosystem
.
getStorageBaseUrlPath
()
+
'
/records/
'
+
seismicUid
,
};
// tslint:disable-next-line: no-string-literal
...
...
Anuj Gupta
@anujgupta
mentioned in commit
deb21716
·
Feb 06, 2021
mentioned in commit
deb21716
mentioned in commit deb21716c22d6ff8fd2ee8f3a32057b723b64530
Toggle commit list
Anuj Gupta
@anujgupta
mentioned in merge request
!11 (merged)
·
Feb 06, 2021
mentioned in merge request
!11 (merged)
mentioned in merge request !11
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment