Skip to content

Commit

Permalink
removed KDBFINSPACE flag from default list as unnecessary (#622)
Browse files Browse the repository at this point in the history
* moved KDBFINSPACE flag from default list

* updated release paperwork
  • Loading branch information
zanbuchanan authored Dec 12, 2023
1 parent ed8474b commit f46f023
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Head to the address it gives you to check if your changes have worked. More info
## Licences
Third party licenses have been used, see Licenses, Apache 2.0 and OpenLDAP, kdbldap.so
## Release Notes
- **5.0.2, Dec 2023**
* Removed KDBFINSPACE env variable from required startup variable list
- **5.0.1, Dec 2023**
* Renaming TorQ Amazon Finspace project references to TorQ-Amazon-FinSpace-Starter-Pack
- **5.0.0, Dec 2023**
Expand Down
2 changes: 1 addition & 1 deletion config/dependency.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
app,version,dependency
TorQ,5.0.1,
TorQ,5.0.2,
1 change: 0 additions & 1 deletion setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export KDBAPPCODE=${TORQAPPHOME}/code
export KDBHDB=${TORQDATA}/hdb
export KDBWDB=${TORQDATA}/wdbhdb
export KDBTPLOG=${TORQDATA}/tplogs
export KDBFINSPACE="false"

export KDBBASEPORT=6000 # set KDBBASEPORT to the default value for a TorQ Installation
export KDBSTACKID="-stackid ${KDBBASEPORT}"
Expand Down
5 changes: 2 additions & 3 deletions torq.q
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ envusage:@[value;`envusage;"Required environment variables:
KDBCONFIG:\t\t\twhere the process configuration lives
KDBLOG:\t\t\twhere log files are written to
KDBHTML:\t\t\tcontains html files
KDBLIB:\t\t\tcontains supporting library files
KDBFINSPACE:\t\t\tif running in finspace"]
KDBLIB:\t\t\tcontains supporting library files"]

envoptusage:@[value;`envoptusage;"Optional environment variables:
KDBAPPCONFIG:\t\t\twhere the app specific configuation can be found"]
Expand Down Expand Up @@ -96,7 +95,7 @@ getusage:{@[value;`.proc.usage;generalusage,"\n\n",envusage,"\n\n",envoptusage,"
// The required environment variables
// The base script must have KDBCODE, KDBCONFIG, KDBLOG, KDBHTML and KDBLIB set
envvars:@[value;`envvars;`symbol$()]
envvars:distinct `KDBCODE`KDBCONFIG`KDBLOG`KDBHTML`KDBLIB`KDBFINSPACE,envvars
envvars:distinct `KDBCODE`KDBCONFIG`KDBLOG`KDBHTML`KDBLIB,envvars
// The script may have optional environment variables
// KDBAPPCONFIG may be defined for loading app specific config
{if[not ""~getenv x; envvars::distinct x,envvars]}each `KDBAPPCONFIG`KDBSERVCONFIG
Expand Down

0 comments on commit f46f023

Please sign in to comment.