Catena-X Policy Builder
Please also refer to:
About The Project
This repository contains the Catena-X Policy Builder, which consists of the following components:
- The eclipse-edc/DataDashboard included as Git submodule in the eclipse-edc folder to use the dashboard library.
- A minimal Tractus-X connector for policy validation in the cx-policy-validator folder. The connector implements a custom HTTP endpoint for validation purposes and adds it to the Management API context.
- Everything else in this repo belongs to the Angular frontend (GUI) of the Catena-X Policy Builder.
Getting Started - Local Setup
Step 1: Build and run the backend (validator)
Docker
cd cx-policy-validator
docker build -t cx-policy-builder-validator .
docker run --rm -p 8000:8000 -p 8010:8010 cx-policy-builder-validator
Gradle
cd cx-policy-validator
./gradlew shadowJar
java -Dedc.fs.config="tx-memory-connector/config.properties" -jar tx-memory-connector/build/libs/runtime.jar
Step 2: Build and run the frontend
Docker
docker build -t cx-policy-builder-ui .
docker run --rm -p 8080:8080 cx-policy-builder-ui
- Open http://localhost:8080
Angular DEV server
npm run lib-build -- --configuration production
npm run start
- Open http://localhost:4200
How to contribute
Please note to our CONTRIBUTION guidelines.
License
Distributed under the Apache 2.0 License.
See LICENSE for more information.