From c59994fc3197cbdc45c7df0dc609e8086416e108 Mon Sep 17 00:00:00 2001 From: Sviatoslav Nekhaienko <snekhaienko@slb.com> Date: Thu, 24 Dec 2020 21:40:32 +0200 Subject: [PATCH] change props, use HOST --- .../indexer-azure/src/main/resources/application.properties | 2 +- .../src/main/java/org/opengroup/osdu/util/Config.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/indexer-azure/src/main/resources/application.properties b/provider/indexer-azure/src/main/resources/application.properties index aefae3897..a334813af 100644 --- a/provider/indexer-azure/src/main/resources/application.properties +++ b/provider/indexer-azure/src/main/resources/application.properties @@ -36,7 +36,7 @@ KINDS_REDIS_DATABASE=1 CRON_INDEX_CLEANUP_THRESHOLD_DAYS=3 CRON_EMPTY_INDEX_CLEANUP_THRESHOLD_DAYS=7 -SCHEMA_HOST=${HOST}/api/schema-service/v1/schema +SCHEMA_HOST=${schema_service_url}/schema storage_service_url=${storage_service_endpoint} STORAGE_SCHEMA_HOST=${storage_service_url}/schemas diff --git a/testing/indexer-test-core/src/main/java/org/opengroup/osdu/util/Config.java b/testing/indexer-test-core/src/main/java/org/opengroup/osdu/util/Config.java index 41b5ecdff..ee2529723 100644 --- a/testing/indexer-test-core/src/main/java/org/opengroup/osdu/util/Config.java +++ b/testing/indexer-test-core/src/main/java/org/opengroup/osdu/util/Config.java @@ -81,7 +81,7 @@ public class Config { } public static String getSchemaBaseURL() { - return getEnvironmentVariableOrDefaultValue("SCHEMA_HOST", DEFAULT_SCHEMA_HOST); + return getEnvironmentVariableOrDefaultValue("HOST", DEFAULT_SCHEMA_HOST) + "/api/schema-service/v1"; } public static String getEntitlementsDomain() { -- GitLab