From 8072d811d64f925e0d27b15098c227dc9a6a58c1 Mon Sep 17 00:00:00 2001
From: Smitha Manjunath <smanjunath@microsoft.com>
Date: Thu, 27 Jan 2022 14:14:21 +0000
Subject: [PATCH] Smanjunath/update swagger endpoint

---
 devops/azure/chart/templates/auth.yaml         | 2 +-
 devops/azure/chart/templates/authSB.yaml       | 2 +-
 devops/azure/chart/templates/deployment.yaml   | 4 ++--
 devops/azure/chart/templates/deploymentSB.yaml | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devops/azure/chart/templates/auth.yaml b/devops/azure/chart/templates/auth.yaml
index 81b9c11de..e09366c40 100644
--- a/devops/azure/chart/templates/auth.yaml
+++ b/devops/azure/chart/templates/auth.yaml
@@ -30,4 +30,4 @@ spec:
       to:
         - operation:
             notPaths: ["/","*/swagger-resources","*/swagger",
-                       "/api/notification/v1/swagger-resources/*","*/swagger-ui.html","*/actuator/health"]
\ No newline at end of file
+                       "/api/notification/v1/swagger-resources/*","*/swagger-ui.html","*/swagger-ui/index.html","*/actuator/health"]
diff --git a/devops/azure/chart/templates/authSB.yaml b/devops/azure/chart/templates/authSB.yaml
index 50e54fb12..012db0dc6 100644
--- a/devops/azure/chart/templates/authSB.yaml
+++ b/devops/azure/chart/templates/authSB.yaml
@@ -30,4 +30,4 @@ spec:
       to:
         - operation:
             notPaths: ["/","*/swagger-resources","*/swagger",
-                       "/api/notification/v1/swagger-resources/*","*/swagger-ui.html","*/actuator/health"]
\ No newline at end of file
+                       "/api/notification/v1/swagger-resources/*","*/swagger-ui.html","*/swagger-ui/index.html","*/actuator/health"]
diff --git a/devops/azure/chart/templates/deployment.yaml b/devops/azure/chart/templates/deployment.yaml
index a6f9651b7..c3cb168ae 100644
--- a/devops/azure/chart/templates/deployment.yaml
+++ b/devops/azure/chart/templates/deployment.yaml
@@ -47,7 +47,7 @@ spec:
             - containerPort: 80
           readinessProbe:
             httpGet:
-              path: /api/notification/v1/swagger-ui.html
+              path: /api/notification/v1/swagger-ui/index.html
               port: 80
           volumeMounts:
             - name: azure-keyvault
@@ -106,4 +106,4 @@ spec:
             - name: event_grid_to_service_bus_enabled
               value: "false"
             - name: event_grid_enabled
-              value: "true"
\ No newline at end of file
+              value: "true"
diff --git a/devops/azure/chart/templates/deploymentSB.yaml b/devops/azure/chart/templates/deploymentSB.yaml
index e254ef274..49b24272e 100644
--- a/devops/azure/chart/templates/deploymentSB.yaml
+++ b/devops/azure/chart/templates/deploymentSB.yaml
@@ -43,7 +43,7 @@ spec:
             - containerPort: 81
           readinessProbe:
             httpGet:
-              path: /api/notification/v1/swagger-ui.html
+              path: /api/notification/v1/swagger-ui/index.html
               port: 81
           volumeMounts:
             - name: azure-keyvault
@@ -102,4 +102,4 @@ spec:
             - name: event_grid_to_service_bus_enabled
               value: "false"
             - name: event_grid_enabled
-              value: "false"
\ No newline at end of file
+              value: "false"
-- 
GitLab