Table of Contents
Eclipse Dataspace Components is a framework for building dataspaces, exchanging data securely with ensured data sovereignity.
sovity extends the EDC functionality to offer enterprise-ready managed "Connector-as-a-Service" services, bringing out-of-the-box fully configured DAPS and integrations to existing other dataspace technologies.
Our extension of EDC UI functionalities has been made open source and are compatible with stock EDC backends depending on selected configuration.
A list of all available configuration properties can be found here.
In general, all ENV vars EDC_UI_*
are written to an assets/app-config.json
,
either before starting the angular build server or before starting the nginx to
serve static files.
The ENV var EDC_UI_CONFIG_JSON
can be used to pass a JSON that can contain all
properties that would otherwise need to be specified individually. Individually
provided ENV vars take precedence, however.
Requires Node.js version ^16.10.0
.
# Fake backend
(cd fake-backend && npm i && npm run start)
# Run Angular Application
npm i
npm run start
For dev mode ENV vars are read from:
- Current Environment Variables (highest precedence)
.env
file (not committed, in .gitignore).env.local-dev
file (defaults for working with fake backend).
# Example:
# Create a .env file to easily switch between profiles
EDC_UI_ACTIVE_PROFILE=mds-open-source
Requires docker.
# Build docker image
docker build -f "docker/Dockerfile" -t "edc-ui:latest" .
# Docker image will serve at :80
ENV vars EDC_UI_*
will be collected into assets/app-config.json
at container
startup and served.
NGINX_BIND
and NGINX_PORT
are templated into default.conf
and can be used
to overwrite nginx bind address and port.
- Optionally update
openapi/openapi.yaml
. - Regenerate models and services:
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate -i /local/openapi/openapi.yaml -g typescript-angular -o /local/src/modules/edc-dmgmt-client/
Please note that some client classes were edited manually after generation. When regenerating the classes for the API update be careful especially not to overwrite service
constructor
methods using the generator!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Our contribution guide can be found in CONTRIBUTING.md.
Distributed under the Apache 2.0 License. See LICENSE
for more information.