Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display custom Management API URL #854

Merged
merged 7 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading