@nsshunt/stsconfig 1.8.4 → 1.9.1

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.
@@ -16,7 +16,7 @@ jobs:
16
16
  - uses: actions/checkout@v2
17
17
  - uses: actions/setup-node@v2
18
18
  with:
19
- node-version: 16
19
+ node-version: 17
20
20
  - run: npm ci
21
21
  - run: npm run lint
22
22
  - run: npm test
@@ -28,7 +28,7 @@ jobs:
28
28
  - uses: actions/checkout@v2
29
29
  - uses: actions/setup-node@v2
30
30
  with:
31
- node-version: 16
31
+ node-version: 17
32
32
  registry-url: https://registry.npmjs.org/
33
33
  - run: npm ci
34
34
  - run: npm publish --access public
@@ -45,7 +45,7 @@ jobs:
45
45
  # - uses: actions/checkout@v2
46
46
  # - uses: actions/setup-node@v2
47
47
  # with:
48
- # node-version: 16
48
+ # node-version: 17
49
49
  # registry-url: https://npm.pkg.github.com/
50
50
  # - run: npm ci
51
51
  # - run: npm publish
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@nsshunt/stsconfig",
3
- "version": "1.8.4",
3
+ "version": "1.9.1",
4
4
  "description": "",
5
5
  "main": "stsconfig.js",
6
6
  "dependencies": {
7
7
  "colors": "^1.4.0",
8
8
  "debug": "^4.3.3",
9
- "dotenv": "^10.0.0",
9
+ "dotenv": "^16.0.0",
10
10
  "yaml": "^1.10.2"
11
11
  },
12
12
  "standard": {
13
13
  "parser": "@babel/eslint-parser"
14
14
  },
15
15
  "devDependencies": {
16
- "@babel/core": "^7.16.5",
17
- "@babel/eslint-parser": "^7.16.5",
18
- "@babel/plugin-proposal-class-properties": "^7.16.5",
19
- "@babel/plugin-proposal-private-methods": "^7.16.5",
20
- "eslint": "^8.4.1",
21
- "jest": "^27.4.5"
16
+ "@babel/core": "^7.17.5",
17
+ "@babel/eslint-parser": "^7.17.0",
18
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
19
+ "@babel/plugin-proposal-private-methods": "^7.16.11",
20
+ "eslint": "^8.9.0",
21
+ "jest": "^27.5.1"
22
22
  },
23
23
  "scripts": {
24
24
  "lint": "eslint . --ext js,jsx,ts,tsx --fix",
package/stsconfig.js CHANGED
@@ -151,23 +151,23 @@ const defconfig =
151
151
  // STS Instrument Manager Service username password
152
152
  ,impassword: (process.env.IM_PASSWORD === undefined ? "K6TestUserPassword" : process.env.IM_PASSWORD)
153
153
 
154
- // STS Instrument Manager Service endpoint
154
+ // STS Test Orchestrator Service endpoint
155
155
  ,toendpoint: (process.env.TO_ENDPOINT === undefined ? "http://localhost" : process.env.TO_ENDPOINT)
156
- // STS Instrument Manager Service listen port (listen port for the service)
156
+ // STS Test Orchestrator Service listen port (listen port for the service)
157
157
  ,tohostport: (process.env.TO_HOST_PORT === undefined ? "3004" : process.env.TO_HOST_PORT)
158
- // STS Instrument Manager Service client access port (client port to access the service)
158
+ // STS Test Orchestrator Service client access port (client port to access the service)
159
159
  ,toport: (process.env.TO_PORT === undefined ? "3004" : process.env.TO_PORT)
160
- // STS Instrument Manager Service endpoint
160
+ // STS Test Orchestrator Service endpoint
161
161
  ,toapiroot: (process.env.TO_APIROOT === undefined ? "/ststestorchestrator/v1" : process.env.TO_APIROOT)
162
- // STS Instrument Manager Service Name
162
+ // STS Test Orchestrator Service Name
163
163
  ,toservicename: (process.env.TO_SERVICE_NAME === undefined ? "STSTestOrchestrator" : process.env.TO_SERVICE_NAME)
164
- // STS Instrument Manager Service Version
164
+ // STS Test Orchestrator Service Version
165
165
  ,toserviceversion: (process.env.TO_SERVICE_VERSION === undefined ? "1.0.0" : process.env.TO_SERVICE_VERSION)
166
- // STS Instrument Manager Service Credentials
166
+ // STS Test Orchestrator Service Credentials
167
167
  // ------------------------------------------
168
- // STS Instrument Manager Service username email
168
+ // STS Test Orchestrator Service username email
169
169
  ,toemail: (process.env.TO_EMAIL === undefined ? "K6TestUser@sts" : process.env.TO_EMAIL)
170
- // STS Instrument Manager Service username password
170
+ // STS Test Orchestrator Service username password
171
171
  ,topassword: (process.env.TO_PASSWORD === undefined ? "K6TestUserPassword" : process.env.TO_PASSWORD)
172
172
 
173
173
  // Auth Server endpoint
@@ -189,6 +189,17 @@ const defconfig =
189
189
  // Auth Server username password
190
190
  ,aspassword: (process.env.AS_PASSWORD === undefined ? "K6TestUserPassword" : process.env.AS_PASSWORD)
191
191
 
192
+ // STS Test Runner Service Name
193
+ ,trservicename: (process.env.TR_SERVICE_NAME === undefined ? "STSRestRunner" : process.env.TR_SERVICE_NAME)
194
+ // STS Test Runner Service Version
195
+ ,trserviceversion: (process.env.TR_SERVICE_VERSION === undefined ? "1.0.0" : process.env.TR_SERVICE_VERSION)
196
+ // STS Test Runner Credentials
197
+ // ----------------------------
198
+ // STS Test Runner username email
199
+ ,tremail: (process.env.TR_EMAIL === undefined ? "K6TestUser@sts" : process.env.TR_EMAIL)
200
+ // STS Test Runner password
201
+ ,trpassword: (process.env.TR_PASSWORD === undefined ? "K6TestUserPassword" : process.env.TR_PASSWORD)
202
+
192
203
  // Auth Server - Private Key
193
204
  ,asprivatekeypath: (process.env.AS_PRIVATE_KEY_PATH === undefined ? "/var/lib/sts/stsglobalresources/keys/private.key" : process.env.AS_PRIVATE_KEY_PATH)
194
205
  // Auth Server - Public Key