-
Notifications
You must be signed in to change notification settings - Fork 277
/
Copy pathconfigurations.ts
67 lines (65 loc) · 2.63 KB
/
configurations.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
*Copyright 2018 T Mobile, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not use
* this file except in compliance with the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
export const AZURE_SSO = 'azuresso';
const DB = 'db';
const LDAP = 'ldap';
export const CONFIGURATIONS = {
required: {
APP_NAME: 'PacBot',
domains: {
PROD_BASE_URL: '', // Expected values: domain where the API is deployed, ex: http://beta.pacbot.com/api
STG_BASE_URL: '', // Expected values: domain where the API is deployed, ex: http://stgbeta.pacbot.com/api
DEV_BASE_URL: '', // Expected values: domain where the API is deployed, ex: http://devbeta.pacbot.com/api
CLOUD_BASE_URL: '', // Expected values: domain where the API is deployed
},
featureModules: {
COMPLIANCE_MODULE: true, // Expected values: true || false
ASSETS_MODULE: true, // Expected values: true || false
OMNI_SEARCH_MODULE: true, // Expected values: true || false
TOOLS_MODULE: false, // Expected values: true || false
ADMIN_MODULE: true, // Expected values: true || false
},
},
optional: {
auth: {
AUTH_TYPE: DB, // AZURE_SSO | DB | LDAP
adConfig : {
tenant: '', // Expected values: Value expected if 'AD_AUTHENTICATION' is true
clientId: '' // Expected values: Value expected if 'AD_AUTHENTICATION' is true
}
},
pacmanIssue: {
CREATE_JIRA_TICKET_FOR_PACMAN_ISSUE: false, // Expected values: true || false || ''
emailPacManIssue: {
ISSUE_MAIL_TEMPLATE_URL: '',
ISSUE_EMAIL_FROM_ID: '[email protected]',
}
},
assetDetails: {
ASSET_DETAILS_TEMPLATE_URL: '',
ASSET_DETAILS_FROM_ID: '',
},
general: {
ACCESS_MANAGEMENT_PORTAL_URL: '',
e2e: {
DOMAIN: 'http://localhost:4200',
EMAIL_ID: '',
NT_ID: '', // Add NT ID for e2e login
NT_PASSWORD: '' // Add respective password for e2e login
},
qualysEnabled: false,
OSS: true
}
}
};