Made changes to sample-node-api.yml to non-hardcoded values

Signed-off-by: Jadin Luong <Jadin.Luong@ibm.com>
This commit is contained in:
Jadin Luong
2021-03-16 19:20:52 -04:00
parent 93da3653cb
commit a5aa13c8b9

View File

@@ -5,7 +5,7 @@ services:
description: Sample Node API
catalogUiTileId: sample-node-api
instanceBaseUrls:
- http://mymainframe.ibm.com:18000/
- http://${ZOWE_EXPLORER_HOST}:${GATEWAY_PORT}/
homePageRelativeUrl: # Home page is at the same URL
routedServices:
- gatewayUrl: api/v1 # [api/ui/ws]/v{majorVersion}
@@ -14,8 +14,8 @@ services:
- apiId: com.ibm.sample-node-api
gatewayUrl: api/v1
version: 1.0.0
swaggerUrl: http://mymainframe.ibm.com:18000/api-docs
documentationUrl: http://mymainframe.ibm.com:18000/api-docs-ui
swaggerUrl: http://${ZOWE_EXPLORER_HOST}:${GATEWAY_PORT}/api-docs
documentationUrl: http://${ZOWE_EXPLORER_HOST}:${GATEWAY_PORT}/api-docs-ui
catalogUiTiles:
sample-node-api: