Skip to content

Commit

Permalink
feat: display custom Management API URL in UI (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilczaja authored Mar 26, 2024
1 parent ec5d8e6 commit 9cd6484
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).

### Deployment Migration Notes

- EDC UI:
- New **optional** environment variable: `EDC_UI_MANAGEMENT_API_URL_SHOWN_IN_DASHBOARD` as override for shown Management API URL on the dashboard

#### Compatible Versions


Expand Down
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
EDC_UI_MANAGEMENT_API_URL: http://localhost:11002/api/management
EDC_UI_MANAGEMENT_API_KEY: ApiKeyDefaultValue
EDC_UI_CATALOG_URLS: http://edc2:11003/api/dsp
EDC_UI_MANAGEMENT_API_URL_SHOWN_IN_DASHBOARD: http://localhost:11002/control/api/management
NGINX_ACCESS_LOG: off

edc:
Expand Down
6 changes: 6 additions & 0 deletions docs/deployment-guide/goals/production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ EDC_UI_MANAGEMENT_API_KEY: "ApiKeyDefaultValue"
EDC_UI_CONFIG_URL: "edc-ui-config"
```
You can also optionally set the following config properties:
```yaml
# Override the management API URL shown to the user in the UI
EDC_UI_MANAGEMENT_API_URL_SHOWN_IN_DASHBOARD: https://[EDC_URL]/api/control/management
```
## EDC Backend Configuration
A sovity EDC CE or MDS EDC CE Backend deployment requires the following environment variables:
Expand Down
1 change: 1 addition & 0 deletions launchers/.env
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ WEB_HTTP_CONTROL_PATH=${MY_EDC_BASE_PATH}/api/control
EDC_HOSTNAME=${MY_EDC_FQDN}

EDC_DSP_CALLBACK_ADDRESS=${MY_EDC_PROTOCOL}${MY_EDC_FQDN}${WEB_HTTP_PROTOCOL_PATH}
EDC_UI_MANAGEMENT_API_URL_SHOWN_IN_DASHBOARD=${MY_EDC_PROTOCOL}${MY_EDC_FQDN}${WEB_HTTP_MANAGEMENT_PATH}

# Flyway Extension: Defaults
EDC_DATASOURCE_DEFAULT_NAME=default
Expand Down

0 comments on commit 9cd6484

Please sign in to comment.