From 4077e5f2f35e68cf08369b035c2e17cc1ce5619b Mon Sep 17 00:00:00 2001 From: Duvelis Carao <DCarao@slb.com> Date: Tue, 7 Jul 2020 13:14:58 -0500 Subject: [PATCH] Adding missing context path for indexer --- provider/indexer-azure/README.md | 1 + provider/indexer-azure/src/main/resources/application.properties | 1 + 2 files changed, 2 insertions(+) diff --git a/provider/indexer-azure/README.md b/provider/indexer-azure/README.md index f3eb06386..fbfb5cea4 100644 --- a/provider/indexer-azure/README.md +++ b/provider/indexer-azure/README.md @@ -39,6 +39,7 @@ az keyvault secret show --vault-name $KEY_VAULT_NAME --name $KEY_VAULT_SECRET_NA | name | value | description | sensitive? | source | | --- | --- | --- | --- | --- | +| `server.servlet.contextPath` | `/api/indexer/v2/` | Servlet context path | no | - | | `storage_service_url` | ex `https://storage.azurewebsites.net` | Endpoint of storage service | no | output of infrastructure deployments | | `STORAGE_SCHEMA_HOST` | `${storage_service_url}/schemas` | Endpoint of schema API | no | - | | `STORAGE_QUERY_RECORD_HOST` | `${storage_service_url}/query/records` | Endpoint of records API | no | - | diff --git a/provider/indexer-azure/src/main/resources/application.properties b/provider/indexer-azure/src/main/resources/application.properties index 65f111f57..b390dd92c 100644 --- a/provider/indexer-azure/src/main/resources/application.properties +++ b/provider/indexer-azure/src/main/resources/application.properties @@ -13,6 +13,7 @@ # limitations under the License. LOG_PREFIX=indexer +server.servlet.contextPath=/api/indexer/v2/ REGION=centralus logging.level.org.opendes.osdu=DEBUG JAVA_OPTS=-Dserver.port=80 -- GitLab