From 64d5b0b1aebb93e15e44d7b23b525e6fb7b53ac9 Mon Sep 17 00:00:00 2001 From: pasant9 Date: Wed, 22 Mar 2023 16:40:45 +0530 Subject: [PATCH] Fix Websocket endpoint --- .../templates/am/instance-1/wso2am-pattern-1-am-conf.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/am-pattern-1/templates/am/instance-1/wso2am-pattern-1-am-conf.yaml b/advanced/am-pattern-1/templates/am/instance-1/wso2am-pattern-1-am-conf.yaml index 6fcd1389..5730c116 100644 --- a/advanced/am-pattern-1/templates/am/instance-1/wso2am-pattern-1-am-conf.yaml +++ b/advanced/am-pattern-1/templates/am/instance-1/wso2am-pattern-1-am-conf.yaml @@ -90,8 +90,8 @@ data: service_url = "https://localhost:${mgt.transport.https.port}/services/" username= "${admin.username}" password= "${admin.password}" - ws_endpoint = "ws://localhost:9099" - wss_endpoint = "wss://localhost:8099" + ws_endpoint = "ws://{{ .Values.wso2.deployment.am.ingress.websocket.hostname }}" + wss_endpoint = "wss://{{ .Values.wso2.deployment.am.ingress.websocket.hostname }}" http_endpoint = "http://{{ .Values.wso2.deployment.am.ingress.gateway.hostname }}" https_endpoint = "https://{{ .Values.wso2.deployment.am.ingress.gateway.hostname }}" websub_event_receiver_http_endpoint = "http://{{ .Values.wso2.deployment.am.ingress.websub.hostname }}"