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-service
Commits
9a407a8a
Commit
9a407a8a
authored
Aug 25, 2021
by
Yunhua Koglin
Browse files
check
parent
74458518
Pipeline
#60887
failed with stages
in 56 minutes and 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/services/tenant/handler.ts
View file @
9a407a8a
...
...
@@ -141,13 +141,13 @@ export class TenantHandler {
public
static
async
getTenantSDPath
(
req
:
expRequest
):
Promise
<
string
>
{
const
datapartition
=
TenantParser
.
dataPartition
(
req
);
// retrieve the tenant informations
const
tenant
=
await
TenantDAO
.
get
(
datapartition
);
//
//
retrieve the tenant informations
//
const tenant = await TenantDAO.get(datapartition);
if
(
FeatureFlags
.
isEnabled
(
Feature
.
AUTHORIZATION
))
{
await
Auth
.
isUserRegistered
(
req
.
headers
.
authorization
,
tenant
.
esd
,
req
[
Config
.
DE_FORWARD_APPKEY
]);
}
//
if (FeatureFlags.isEnabled(Feature.AUTHORIZATION)) {
//
await Auth.isUserRegistered(req.headers.authorization,
//
tenant.esd, req[Config.DE_FORWARD_APPKEY]);
//
}
try
{
const
tenants
=
await
TenantDAO
.
getAll
();
...
...
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