@nsshunt/stsconfig 1.8.0 → 1.8.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/stsconfig.js +60 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsshunt/stsconfig",
3
- "version": "1.8.0",
3
+ "version": "1.8.4",
4
4
  "description": "",
5
5
  "main": "stsconfig.js",
6
6
  "dependencies": {
package/stsconfig.js CHANGED
@@ -112,52 +112,82 @@ const defconfig =
112
112
  ,cspassword: (process.env.CS_PASSWORD === undefined ? "K6TestUserPassword" : process.env.CS_PASSWORD)
113
113
  */
114
114
 
115
- // STSREST01 Server (UICS) endpoint
115
+ // STSREST01 Server endpoint
116
116
  ,rest01endpoint: (process.env.REST01_ENDPOINT === undefined ? "http://localhost" : process.env.REST01_ENDPOINT)
117
- // STSREST01 Server (UICS) port (listen port for the service)
117
+ // STSREST01 Server port (listen port for the service)
118
118
  ,rest01hostport: (process.env.REST01_HOST_PORT === undefined ? "3000" : process.env.REST01_HOST_PORT)
119
- // STSREST01 Server (UICS) port (client port to access the service)
119
+ // STSREST01 Server port (client port to access the service)
120
120
  ,rest01port: (process.env.REST01_PORT === undefined ? "3000" : process.env.REST01_PORT)
121
- // STSREST01 Server (UICS) endpoint
122
- ,rest01apiroot: (process.env.REST01_APIROOT === undefined ? "/stsrest01/v1/uics" : process.env.REST01_APIROOT)
123
- // STSREST01 Server (UICS) username email
124
- ,rest01email: (process.env.REST01_EMAIL === undefined ? "K6TestUser@sts" : process.env.REST01_EMAIL)
125
- // STSREST01 Server (UICS) username password
126
- ,rest01password: (process.env.REST01_PASSWORD === undefined ? "K6TestUserPassword" : process.env.REST01_PASSWORD)
121
+ // STSREST01 Server endpoint
122
+ ,rest01apiroot: (process.env.REST01_APIROOT === undefined ? "/stsrest01/v1/im" : process.env.REST01_APIROOT)
127
123
  // STSREST01 Service Name
128
124
  ,rest01servicename: (process.env.REST01_SERVICE_NAME === undefined ? "STSRest01" : process.env.REST01_SERVICE_NAME)
129
125
  // STSREST01 Service Version
130
126
  ,rest01serviceversion: (process.env.REST01_SERVICE_VERSION === undefined ? "1.0.0" : process.env.REST01_SERVICE_VERSION)
127
+ // STSREST01 Service Credentials
128
+ // -----------------------------
129
+ // STSREST01 Server username email
130
+ ,rest01email: (process.env.REST01_EMAIL === undefined ? "K6TestUser@sts" : process.env.REST01_EMAIL)
131
+ // STSREST01 Server username password
132
+ ,rest01password: (process.env.REST01_PASSWORD === undefined ? "K6TestUserPassword" : process.env.REST01_PASSWORD)
133
+
131
134
 
132
- // UI Console Server (UICS) endpoint
133
- ,uicsendpoint: (process.env.UICS_ENDPOINT === undefined ? "http://localhost" : process.env.UICS_ENDPOINT)
134
- // UI Console Server (UICS) port (listen port for the service)
135
- ,uicshostport: (process.env.UICS_HOST_PORT === undefined ? "3001" : process.env.UICS_HOST_PORT)
136
- // UI Console Server (UICS) port (client port to access the service)
137
- ,uicsport: (process.env.UICS_PORT === undefined ? "3001" : process.env.UICS_PORT)
138
- // UI Console Server (UICS) endpoint
139
- ,uicsapiroot: (process.env.UICS_APIROOT === undefined ? "/stsmonitor/v1" : process.env.UICS_APIROOT)
140
- // UI Console Server (UICS) username email
141
- ,uicsemail: (process.env.UICS_EMAIL === undefined ? "K6TestUser@sts" : process.env.UICS_EMAIL)
142
- // UI Console Server (UICS) username password
143
- ,uicspassword: (process.env.UICS_PASSWORD === undefined ? "K6TestUserPassword" : process.env.UICS_PASSWORD)
144
-
145
- // Auth Server (UICS) endpoint
135
+ // STS Instrument Manager Service endpoint
136
+ ,imendpoint: (process.env.IM_ENDPOINT === undefined ? "http://localhost" : process.env.IM_ENDPOINT)
137
+ // STS Instrument Manager Service listen port (listen port for the service)
138
+ ,imhostport: (process.env.IM_HOST_PORT === undefined ? "3001" : process.env.IM_HOST_PORT)
139
+ // STS Instrument Manager Service client access port (client port to access the service)
140
+ ,import: (process.env.IM_PORT === undefined ? "3001" : process.env.IM_PORT)
141
+ // STS Instrument Manager Service endpoint
142
+ ,imapiroot: (process.env.IM_APIROOT === undefined ? "/stsinstrumentmanager/v1" : process.env.IM_APIROOT)
143
+ // STS Instrument Manager Service Name
144
+ ,imservicename: (process.env.IM_SERVICE_NAME === undefined ? "STSInstrumentManager" : process.env.IM_SERVICE_NAME)
145
+ // STS Instrument Manager Service Version
146
+ ,imserviceversion: (process.env.IM_SERVICE_VERSION === undefined ? "1.0.0" : process.env.IM_SERVICE_VERSION)
147
+ // STS Instrument Manager Service Credentials
148
+ // ------------------------------------------
149
+ // STS Instrument Manager Service username email
150
+ ,imemail: (process.env.IM_EMAIL === undefined ? "K6TestUser@sts" : process.env.IM_EMAIL)
151
+ // STS Instrument Manager Service username password
152
+ ,impassword: (process.env.IM_PASSWORD === undefined ? "K6TestUserPassword" : process.env.IM_PASSWORD)
153
+
154
+ // STS Instrument Manager Service endpoint
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)
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)
159
+ ,toport: (process.env.TO_PORT === undefined ? "3004" : process.env.TO_PORT)
160
+ // STS Instrument Manager Service endpoint
161
+ ,toapiroot: (process.env.TO_APIROOT === undefined ? "/ststestorchestrator/v1" : process.env.TO_APIROOT)
162
+ // STS Instrument Manager Service Name
163
+ ,toservicename: (process.env.TO_SERVICE_NAME === undefined ? "STSTestOrchestrator" : process.env.TO_SERVICE_NAME)
164
+ // STS Instrument Manager Service Version
165
+ ,toserviceversion: (process.env.TO_SERVICE_VERSION === undefined ? "1.0.0" : process.env.TO_SERVICE_VERSION)
166
+ // STS Instrument Manager Service Credentials
167
+ // ------------------------------------------
168
+ // STS Instrument Manager Service username email
169
+ ,toemail: (process.env.TO_EMAIL === undefined ? "K6TestUser@sts" : process.env.TO_EMAIL)
170
+ // STS Instrument Manager Service username password
171
+ ,topassword: (process.env.TO_PASSWORD === undefined ? "K6TestUserPassword" : process.env.TO_PASSWORD)
172
+
173
+ // Auth Server endpoint
146
174
  ,asendpoint: (process.env.AS_ENDPOINT === undefined ? "http://localhost" : process.env.AS_ENDPOINT)
147
- // Auth Server (UICS) host port (listen port for the service)
175
+ // Auth Server host port (listen port for the service)
148
176
  ,ashostport: (process.env.AS_HOST_PORT === undefined ? "3002" : process.env.AS_HOST_PORT)
149
- // Auth Server (UICS) port (client port to access the service)
177
+ // Auth Server port (client port to access the service)
150
178
  ,asport: (process.env.AS_PORT === undefined ? "3002" : process.env.AS_PORT)
151
- // Auth Server (UICS) endpoint
179
+ // Auth Server endpoint
152
180
  ,asapiroot: (process.env.AS_APIROOT === undefined ? "/stsauth/v1" : process.env.AS_APIROOT)
153
- // Auth Server (UICS) username email
154
- ,asemail: (process.env.AS_EMAIL === undefined ? "K6TestUser@sts" : process.env.AS_EMAIL)
155
- // Auth Server (UICS) username password
156
- ,aspassword: (process.env.AS_PASSWORD === undefined ? "K6TestUserPassword" : process.env.AS_PASSWORD)
157
181
  // STSAuth Service Name
158
182
  ,asservicename: (process.env.AS_SERVICE_NAME === undefined ? "STSAuth" : process.env.AS_SERVICE_NAME)
159
183
  // STSAuth Service Version
160
184
  ,asserviceversion: (process.env.AS_SERVICE_VERSION === undefined ? "1.0.0" : process.env.AS_SERVICE_VERSION)
185
+ // STS Auth Service Credentials
186
+ // ----------------------------
187
+ // Auth Server username email
188
+ ,asemail: (process.env.AS_EMAIL === undefined ? "K6TestUser@sts" : process.env.AS_EMAIL)
189
+ // Auth Server username password
190
+ ,aspassword: (process.env.AS_PASSWORD === undefined ? "K6TestUserPassword" : process.env.AS_PASSWORD)
161
191
 
162
192
  // Auth Server - Private Key
163
193
  ,asprivatekeypath: (process.env.AS_PRIVATE_KEY_PATH === undefined ? "/var/lib/sts/stsglobalresources/keys/private.key" : process.env.AS_PRIVATE_KEY_PATH)