Commit c59994fc authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

change props, use HOST

parent 2f83809d
Pipeline #20159 failed with stages
in 60 minutes and 36 seconds
......@@ -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
......
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment