@nsshunt/stsappframework 3.0.136 → 3.0.137
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/package.json +1 -1
- package/runtest2.sh +24 -0
package/package.json
CHANGED
package/runtest2.sh
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# openssl req -nodes -new -x509 -keyout server.key -out server.cert
|
|
3
|
+
clear; \
|
|
4
|
+
export STS_PROJ_ROOT=./..; \
|
|
5
|
+
STSENVFILE=$STS_PROJ_ROOT/stsglobalresources/.env \
|
|
6
|
+
DB_SCRIPT_FOLDER=$STS_PROJ_ROOT/stsglobalresources/db-scripts \
|
|
7
|
+
REST01_PORT=3003 \
|
|
8
|
+
REST01_HOST_PORT=3003 \
|
|
9
|
+
REST01_SERVICE_NAME="STSRest01-3003" \
|
|
10
|
+
REST01_API_IDENTIFIER="https://stsmda.com.au/stsrest01api/v1.0/" \
|
|
11
|
+
REST01_ENDPOINT="https://stsrest.stsmda.org" \
|
|
12
|
+
MAX_CPU=1 \
|
|
13
|
+
AS_ENDPOINT=https://stscore.stsmda.org \
|
|
14
|
+
AS_HOST_PORT=3002 \
|
|
15
|
+
AS_PORT=3002 \
|
|
16
|
+
DB_HOST=localhost \
|
|
17
|
+
DB_PORT=5432 \
|
|
18
|
+
DB_PASSWORD=postgres \
|
|
19
|
+
HTTPS_SERVER_KEY_PATH=/etc/letsencrypt/live/stsmda.org/privkey.pem \
|
|
20
|
+
HTTPS_SERVER_CERT_PATH=/etc/letsencrypt/live/stsmda.org/fullchain.pem \
|
|
21
|
+
DEBUG=proc* \
|
|
22
|
+
PUBLISH_DEBUG=false \
|
|
23
|
+
UV_THREADPOOL_SIZE=64 \
|
|
24
|
+
node dist/testing/app
|