Skip to content

Commit

Permalink
Merge pull request #130 from 1000TurquoisePogs/bugfix/align-instance-id
Browse files Browse the repository at this point in the history
Align instance ID when it is non-default
  • Loading branch information
1000TurquoisePogs committed Jul 21, 2020
2 parents 5422616 + 49b4f4c commit c7cbb5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,11 @@

All notable changes to the Zlux App Server package will be documented in this file.

## Recent Changes
## v1.13.0

- Align app server's instance ID parameter to the Zowe Instance value

## v1.12.0

- Add v1.12 update script for replacing all bundled plugin references with ones that use $ROOT_DIR environment variable
- Change Scripts to work with independent zss component
Expand Down
9 changes: 9 additions & 0 deletions bin/convert-env.sh
Expand Up @@ -7,6 +7,15 @@
#
# Copyright Contributors to the Zowe Project.

# For backwards compatible behavior, only set the instance ID if it is non-default
if [ -n "$ZOWE_INSTANCE" ]
then
if [ "$ZOWE_INSTANCE" != "1" ]
then
export ZWED_instanceID=$ZOWE_INSTANCE
fi
fi

# shape old env vars into app-server compatible ones
# mediation layer
if [ -z "$ZWED_node_mediationLayer_server_gatewayPort" ]
Expand Down

0 comments on commit c7cbb5d

Please sign in to comment.