Skip to content

Commit

Permalink
fix: update attls icsf condition (#3635)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Pablo Hernán Carle <[email protected]>
Co-authored-by: Pablo Hernán Carle <[email protected]>
  • Loading branch information
pablocarle and Pablo Hernán Carle authored Jul 8, 2024
1 parent f5740c1 commit 3954f0c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
4 changes: 3 additions & 1 deletion api-catalog-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ if [ $JAVA_VERSION -ge 61 ]; then
fi
fi

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
Expand Down
4 changes: 3 additions & 1 deletion caching-service-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ if [ $JAVA_VERSION -ge 61 ]; then
fi
fi

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
Expand Down
4 changes: 3 additions & 1 deletion cloud-gateway-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ if [ $JAVA_VERSION -ge 61 ]; then
fi
fi

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
Expand Down
4 changes: 3 additions & 1 deletion discovery-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ if [ $JAVA_VERSION -ge 61 ]; then
fi
fi

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
Expand Down
4 changes: 3 additions & 1 deletion gateway-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ if [ $JAVA_VERSION -ge 61 ]; then
fi
fi

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
Expand Down
5 changes: 3 additions & 2 deletions metrics-service-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,16 @@ truststore_pass="${ZWE_configs_certificate_truststore_password:-${ZWE_zowe_certi
keystore_location="${ZWE_configs_certificate_keystore_file:-${ZWE_zowe_certificate_keystore_file}}"
truststore_location="${ZWE_configs_certificate_truststore_file:-${ZWE_zowe_certificate_truststore_file}}"

if [ "${ATTLS_ENABLED}" = "true" ]; then
# Disable Java keyring loading for ICSF hardware private key storage.
# Only z/OSMF JWT authentication provider is supported with this type of keyrings.
if [ "${ATTLS_ENABLED}" = "true" -a "${APIML_ATTLS_LOAD_KEYRING:-false}" = "true" ]; then
keystore_type=
keystore_pass=
key_pass=
key_alias=
keystore_location=
fi


# NOTE: these are moved from below
# -Dapiml.service.ipAddress=${ZOWE_IP_ADDRESS:-127.0.0.1} \
# -Dapiml.service.preferIpAddress=${APIML_PREFER_IP_ADDRESS:-false} \
Expand Down

0 comments on commit 3954f0c

Please sign in to comment.