Skip to content

Commit

Permalink
Merge pull request #208 from DivergentEuropeans/register-to-ML
Browse files Browse the repository at this point in the history
Register ZSS to ML using configuration script
  • Loading branch information
1000TurquoisePogs authored Sep 16, 2020
2 parents ddf7b9d + 997ceb9 commit 7321c15
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions bin/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,34 @@ export NODE_PATH=../..:../../zlux-server-framework/node_modules:$NODE_PATH
__UNTAGGED_READ_MODE=V6 $NODE_BIN initInstance.js

APP_WORKSPACE_DIR=${INSTANCE_DIR}/workspace/app-server

version=`grep "version" ${INSTANCE_DIR}/workspace/manifest.json | head -1 | sed -e 's/"//g' | sed -e 's/.*: *//g' | sed -e 's/,.*//g'`

# Add static definition for zss. TODO: Needs documentation
cat <<EOF >${STATIC_DEF_CONFIG_DIR}/zss.ebcidic.yml
#
services:
- serviceId: zss
title: Zowe System Services (ZSS)
description: Zowe System Services is used for enabling low-level microservices and other privileged mainframe services, like USS, MVS, authentication, and security management.
catalogUiTileId: zss
instanceBaseUrls:
- http://${ZOWE_EXPLORER_HOST}:${ZOWE_ZSS_SERVER_PORT}/
homePageRelativeUrl:
routedServices:
- gatewayUrl: api/v1
serviceRelativeUrl:
apiInfo:
- apiId: org.zowe.zss
gatewayUrl: api/v1
version: ${version}
# swaggerUrl: TODO
# documentationUrl: TODO
catalogUiTiles:
zss:
title: Zowe System Services (ZSS)
description: Zowe System Services is used for enabling low-level microservices and other privileged mainframe services, like USS, MVS, authentication, and security management.
EOF
iconv -f IBM-1047 -t IBM-850 ${STATIC_DEF_CONFIG_DIR}/zss.ebcidic.yml > $STATIC_DEF_CONFIG_DIR/zss.yml
rm ${STATIC_DEF_CONFIG_DIR}/zss.ebcidic.yml
chmod 770 $STATIC_DEF_CONFIG_DIR/zss.yml

0 comments on commit 7321c15

Please sign in to comment.