Skip to content

imec-int/pill

Repository files navigation

PILL (Physical Internet Living Labs)

Getting started

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

Tracking/Sytadel configuration

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:

    1. set the BROKER_URL environment variable
    2. set the PILL_CLIENT environment variable to define the Tenant (applies to all API calls from Sytadel)
  • To use the app with an EDC instance:

    1. Make sure the BROKER_URL environment variable is not set
    2. set the PILL_CLIENT environment variable to define the Tenant (applies to all API calls from Sytadel)
    3. Start an HttpProxy transfer to the target NGSI-LD asset, passing Sytadel's receiver endpoint as the receiverHttpEndpoint 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",
        }
      }
      
    4. Once the Sytadel backend receives the EDR from the Connector, the UI will become usable.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages