@nsshunt/stsdatamanagement 1.12.3 → 1.12.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.
package/databaseutils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const prompts = require('prompts');
2
2
  const fs = require('fs');
3
3
  require('colors');
4
- let crypto = require('crypto');
4
+ //let crypto = require('crypto');
5
5
  const goptions = require('@nsshunt/stsconfig').$options;
6
6
 
7
7
  const { PGPoolManager } = require('./pgpoolmanager');
@@ -65,7 +65,7 @@ class DatabaseUtils
65
65
  let rawdata = fs.readFileSync(roleFile);
66
66
  let applications = JSON.parse(rawdata);
67
67
  for (const [, application] of Object.entries(applications)) {
68
- application.clientSecret = crypto.randomBytes(32).toString('base64');
68
+ //application.clientSecret = crypto.randomBytes(32).toString('base64');
69
69
  let retVal = await blcauth.AddApplication(application);
70
70
  if (retVal.status !== 200) {
71
71
  console.log(`Application registered: ${JSON.stringify(retVal)}`.red);
@@ -2,61 +2,61 @@
2
2
  "STSREST01Service": {
3
3
  "clientName": "STS REST01 Service",
4
4
  "clientId": "KgSyRECcvnJwwOZqf7GPqUw508sx7VBFEbDC0iP4oeY=",
5
- "clientSecret": "T47MrXCtBJh4XErd0PwiEUHSnU6qwbcKnrPGDQtEZfg=",
5
+ "clientSecret": "ki/mGsFv7CNz/ztPRpOVaKPqIlQl2jWMGZQY3RNtEAQ9tb6opbr8v78nSQ==",
6
6
  "type": "Service"
7
7
  },
8
8
  "STSAuthService": {
9
9
  "clientName": "STSAuthService",
10
10
  "clientId": "q6a9F0kksXDDcrsCUKRwHKDnTNh7yZfxCShAgIJqfGg=",
11
- "clientSecret": "Tiw7JGSTSfrOfCbWm6colSG7SDzv0Bb+sboXU6honMQ=",
11
+ "clientSecret": "eN9u0mHZLGWZrdnE1zit2vL6xwUFW466sTZcbkXDml5KWxlvKaZ1uiOZmA==",
12
12
  "type": "Service"
13
13
  },
14
14
  "STSUITerminal": {
15
15
  "clientName": "STSUITerminal",
16
16
  "clientId": "U0E4c4cuRKlBsGo7OhOl3qTkoNGFBXjORUS/T4R4xyA=",
17
- "clientSecret": "oWAMozeclVRQCUswR6l+q5fnGDom7FE6u7/x9onlyk8=",
17
+ "clientSecret": "7E+bdahOJvbRVM6aPnSd6LiiqJUrOgxCzfK7hZzCYO2lHJCat83SwNkJmw==",
18
18
  "type": "Service"
19
19
  },
20
20
  "STSCLI": {
21
21
  "clientName": "STSCLI",
22
22
  "clientId": "EcCpnQOIQFizAnWphlFJ4tSylosgVnwKTSNtgwuL2tw=",
23
- "clientSecret": "emjncxxgEwsfe4thSQ+b86uVZEXMPuQFz5y24xedkEc=",
23
+ "clientSecret": "Wh6eQAPAb87pi+rmtZhiPkEhzKQ2VFo1KIT1x5ODlBQ7dvRcGMLI/jv+fA==",
24
24
  "type": "Service"
25
25
  },
26
26
  "STSUIWebApp": {
27
27
  "clientName": "STSUIWebApp",
28
28
  "clientId": "lww8Je8n2P0OI/KEfJ+4p/bqsk8uE/noeq13tl4zlQ0=",
29
- "clientSecret": "STSUIWebApp",
29
+ "clientSecret": "GIYfMl3h13gjFImc4gSOkVOyzgifxE7NZtZm2Kf6h9N0RwMgo4Oa+4ymuA==",
30
30
  "type": "Service"
31
31
  },
32
32
  "STSUserAgentRunner": {
33
33
  "clientName": "STSUserAgentRunner",
34
34
  "clientId": "y1h2nNr1BzTVPIzNmP/f041uxbnyZYTJeF/5GcwRCtw=",
35
- "clientSecret": "STSUserAgentRunner",
35
+ "clientSecret": "/s89EqDzcPpgdLxJJFQvfmwmyFp+gNh/ZhWX0b0HOH8D2kUDqMIPVBxVoQ==",
36
36
  "type": "Service"
37
37
  },
38
38
  "STSInstrumentManagerService": {
39
39
  "clientName": "STSInstrumentManagerService",
40
40
  "clientId": "l8u2E912eR44ZYRHUkSBCCnDOXxQqYOPahDVQzYowrw=",
41
- "clientSecret": "STSInstrumentManagerService",
41
+ "clientSecret": "D+1MGxikkOdv5rgJktyG1R8gFrf2fj4u+nTzB3qf1cga9sAikbUGX6sjjw==",
42
42
  "type": "Service"
43
43
  },
44
44
  "STSTestOrchestratorService": {
45
45
  "clientName": "STSTestOrchestratorService",
46
46
  "clientId": "CU1sVlS6vsEe3O3VvNzKFdBnQd9pQ83w9RyVx/7tJfc=",
47
- "clientSecret": "STSTestOrchestratorService",
47
+ "clientSecret": "1DW3Ff0K/pSDGhugkExBKouk9ecGEopNsHl5IM+YJ0WOU54kLYdW/FOkfg==",
48
48
  "type": "Service"
49
49
  },
50
50
  "STSTestRunnerService": {
51
51
  "clientName": "STSTestRunnerService",
52
52
  "clientId": "aX9dJbsT06V1G4j06xEIQ/rZ2CDlpzggU58aLtZ8fzE=",
53
- "clientSecret": "STSTestRunnerService",
53
+ "clientSecret": "ZR+lMZFIfcx9gOdss3C9J5wWDQlaz2ID6dJ3hURG5NOrY7kIhUo/QdFESw==",
54
54
  "type": "Service"
55
55
  },
56
56
  "STSBroker": {
57
57
  "clientName": "STSBrokerService",
58
58
  "clientId": "TRppBuvxcjL7jrY9lCASJ5st8JpU8WlhAUAWoX/KKQ4=",
59
- "clientSecret": "00pdkRMl43BzlxJ/YkCipIWtBDKm35DVCIhN3gaQwD8=",
59
+ "clientSecret": "bJzwAHA+U1Pn7ya9lWEH80a03Ic9tVlQ+OfHrc5ydqI4MNlWWvPPvK+c7Q==",
60
60
  "type": "Service"
61
61
  },
62
62
  "STSAuthenticate": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsdatamanagement",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "STS Data Management Modules, Utilities and Services",
5
5
  "main": "dbaccess.js",
6
6
  "dependencies": {