From a5aa13c8b97f6316fed7fa9b17747f0f3b4fd591 Mon Sep 17 00:00:00 2001 From: Jadin Luong Date: Tue, 16 Mar 2021 19:20:52 -0400 Subject: [PATCH] Made changes to sample-node-api.yml to non-hardcoded values Signed-off-by: Jadin Luong --- sample-node-api.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sample-node-api.yml b/sample-node-api.yml index 9d0af3c..b5f6876 100644 --- a/sample-node-api.yml +++ b/sample-node-api.yml @@ -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: