Commit f61a49de authored by Mingyang Zhu's avatar Mingyang Zhu
Browse files

make domain configurable

parent 427f57a5
Pipeline #24939 passed with stages
in 36 minutes and 23 seconds
...@@ -16,3 +16,6 @@ image: ...@@ -16,3 +16,6 @@ image:
server: server:
servlet: servlet:
contextPath: /api/entitlements/v2 contextPath: /api/entitlements/v2
config:
domain: #{DOMAIN}#
\ No newline at end of file
...@@ -73,5 +73,7 @@ spec: ...@@ -73,5 +73,7 @@ spec:
value: http://partition/api/partition/v1 value: http://partition/api/partition/v1
- name: cosmosdb_database - name: cosmosdb_database
value: osdu-db value: osdu-db
- name: service_domain_name
value: {{ .Values.config.domain }}
- name: azure_istioauth_enabled - name: azure_istioauth_enabled
value: "true" value: "true"
\ No newline at end of file
...@@ -23,3 +23,6 @@ image: ...@@ -23,3 +23,6 @@ image:
server: server:
servlet: servlet:
contextPath: /api/entitlements/v2 contextPath: /api/entitlements/v2
config:
domain: contoso.com
...@@ -44,6 +44,7 @@ with these settings service expects "x-payload" header which contains Base64 enc ...@@ -44,6 +44,7 @@ with these settings service expects "x-payload" header which contains Base64 enc
name | value | description | sensitive? | source | name | value | description | sensitive? | source |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| `azure_istioauth_enabled` | `true` | Flag to Disable AAD auth | no | -- | | `azure_istioauth_enabled` | `true` | Flag to Disable AAD auth | no | -- |
| `service_domain_name` | ex `contoso.com` | The name of the domain for which the service will run | no | output of infrastructure deployment |
**Required to run integration tests** **Required to run integration tests**
......
...@@ -43,4 +43,4 @@ app.graph.db.sslEnabled=true ...@@ -43,4 +43,4 @@ app.graph.db.sslEnabled=true
# App configuration # App configuration
app.projectId=evd-ddl-us-services app.projectId=evd-ddl-us-services
app.domain=contoso.com app.domain=${service_domain_name}
Supports Markdown
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