Skip to content

Commit

Permalink
Add ESM to support details (#3749)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Zeithaml <[email protected]>
  • Loading branch information
Martin-Zeithaml authored Mar 6, 2024
1 parent 468aeb3 commit 70003f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/commands/support/.help
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This command will collect these information:
* z/OS version
* Java version
* Node.js version
* External Security Manager
- Zowe configurations
* Zowe manifest.json
* Zowe configuration file
Expand Down
5 changes: 4 additions & 1 deletion bin/commands/support/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,20 @@ print_debug "Temporary directory created: ${tmp_dir}"
print_message

###############################
print_level1_message "Collecting version of z/OS, Java, NodeJS"
print_level1_message "Collecting information about z/OS, Java, NodeJS and ESM"
VERSION_FILE="${tmp_dir}/version_output"
ZOS_VERSION=`operator_command "D IPLINFO" | grep -i release | xargs`
print_message "- z/OS: ${ZOS_VERSION}"
JAVA_VERSION=`${JAVA_HOME}/bin/java -version 2>&1 | head -n 1`
print_message "- Java: ${JAVA_VERSION}"
NODE_VERSION=`${NODE_HOME}/bin/node --version`
print_message "- NodeJS: ${NODE_VERSION}"
ESM=`"${ZWE_zowe_runtimeDirectory}/bin/utils/getesm"`
print_message "- External Security Manager: ${ESM}"
echo "z/OS version: ${ZOS_VERSION}" > "${VERSION_FILE}"
echo "Java version: ${JAVA_VERSION}" >> "${VERSION_FILE}"
echo "NodeJS version: ${NODE_VERSION}" >> "${VERSION_FILE}"
echo "External Security Manager: ${ESM}" >> "${VERSION_FILE}"
print_message

###############################
Expand Down

0 comments on commit 70003f4

Please sign in to comment.