Run the following commands to get the development environment up-and-running:
# Make sure to fill in all variables that are annotated as [REQUIRED]
cp .env.local.template .env.local
npm i
npm run dev
The app can be configured to work with an EDC (Eclipse Data Space Connector) instance or with a Context Broker.
-
To use the app with a Context Broker:
- set the
BROKER_URL
environment variable - set the
PILL_CLIENT
environment variable to define the Tenant (applies to all API calls from Sytadel)
- set the
-
To use the app with an EDC instance:
- Make sure the
BROKER_URL
environment variable is not set - set the
PILL_CLIENT
environment variable to define the Tenant (applies to all API calls from Sytadel) - Start an
HttpProxy
transfer to the targetNGSI-LD
asset, passing Sytadel's receiver endpoint as thereceiverHttpEndpoint
parameter. E.g:{ "@type": "TransferRequestDto", "@context": "https://w3id.org/edc/v0.0.1/ns/", (...) // other parameters "dataDestination": { "@type": "DataAddress", "type": "HttpProxy", }, "privateProperties": { "receiverHttpEndpoint": "https://{sytadel.hostname}/api/receiver", } }
- Once the Sytadel backend receives the EDR from the Connector, the UI will become usable.
- Make sure the