From 092c22692fbe41a2cffd99142672a01d544d3780 Mon Sep 17 00:00:00 2001
From: Duvelis Carao <DCarao@slb.com>
Date: Tue, 7 Jul 2020 13:11:14 -0500
Subject: [PATCH] Adding missing context path for legal

---
 provider/legal-azure/README.md                                 | 1 +
 provider/legal-azure/src/main/resources/application.properties | 1 +
 2 files changed, 2 insertions(+)

diff --git a/provider/legal-azure/README.md b/provider/legal-azure/README.md
index 1a1bc406b..9154f0013 100644
--- a/provider/legal-azure/README.md
+++ b/provider/legal-azure/README.md
@@ -40,6 +40,7 @@ az keyvault secret show --vault-name $KEY_VAULT_NAME --name $KEY_VAULT_SECRET_NA
 | name | value | description | sensitive? | source |
 | ---  | ---   | ---         | ---        | ---    |
 | `LOG_PREFIX` | `legal` | Logging prefix | no | - |
+| `server.servlet.contextPath` | `/api/legal/v1/` | Servlet context path | no | - |
 | `legal_service_region` | `us` | Legal service region | no | - |
 | `entitlements_service_endpoint` | ex `https://foo-entitlements.azurewebsites.net` | Entitlements API endpoint | no | output of infrastructure deployment |
 | `entitlements_service_api_key` | `********` | The API key clients will need to use when calling the service | yes | -- |
diff --git a/provider/legal-azure/src/main/resources/application.properties b/provider/legal-azure/src/main/resources/application.properties
index e7dae37ff..9e34853a1 100644
--- a/provider/legal-azure/src/main/resources/application.properties
+++ b/provider/legal-azure/src/main/resources/application.properties
@@ -13,6 +13,7 @@
 #  limitations under the License.
 
 LOG_PREFIX=legal
+server.servlet.contextPath=/api/legal/v1/
 
 REGION=${legal_service_region}
 AUTHORIZE_API=${entitlements_service_endpoint}
-- 
GitLab