Skip to content

FDSC Dashboard

Introduction

Each connector of the data space includes an administration dashboard where the provider can inspect what is configured in its connector: access policies, trusted issuers and who is using its services. It is the PGTEC fork of the FDSC Dashboard (Vue 3 and Vuetify), published as a single container image that works for any participant and is configured only with environment variables.

The dashboard of a participant is available at dashboard-<participant>.pgtec-vrain-dataspace.eu (for example dashboard-iiama…) and is accessed with the participant's Keycloak account.

What it shows

Policies in plain language

ODRL policies are shown as readable sentences ("Participants with role tetis_user may use the resource /tetis/*"), with the original JSON on demand in a code block that can be copied. Policies with constraints, permissions and prohibitions are explained clause by clause.

By service

The ODRL policy store does not know about "services": it only holds policies. The dashboard derives the service, variant, grantee and order from the policy identifier, which follows the pattern:

https://<owner>/policy/[<organisation>/]<service>-access[-<variant>][-urn:ngsi-ld:product-order:<id>]

The By service tab groups policies by service (for example tetis, water4cast, hidris) and shows, for each one, the policies that were created manually and those created by purchases, with the buyer and the order.

A filter limits the view to the policies of the participant's own provider, so each participant only sees what concerns its services.

Trusted issuers

The trusted issuers lists (TIL and TIR) and the credential configuration (CCS) of the connector, with their allowed credential types and roles. See Access control.

Usage log

The Usage view shows who is using the services, in two tabs:

  • Orders: product orders of the participant's offers, read from the TM Forum API of the marketplace (buyer, offer, state and date).
  • Accesses: requests that reach the participant's APISIX gateway, read from its access logs. Options:
    • Summary per user: a table with each person or machine that accessed, first and last access, number of requests and services used.
    • Requests (per user and minute): individual requests grouped by user and minute.
    • Time range of 1 hour, 6 hours, 24 hours or 7 days.

The Orders tab, with the interface in Spanish:

Usage view of the FDSC Dashboard with the list of orders

For each access, the identity of the caller comes from the access token that APISIX received: user name, roles, organisation (did:web) and credential type. To make this possible, the gateway log format is extended with the payload (never the signature) of the JWT. Only the payload is stored in the log, and the token itself is never persisted.

Privacy

The usage log shows personal identifiers of the participants' users. The dashboard requires logging in with the participant's Keycloak, and it only reads the logs of the participant's own namespace. Limit the accounts that can sign in to the administrators of the participant.

How it works

 Browser ── OIDC (Keycloak) ──►  Dashboard (static Vue app)
                                    │
                                    ▼
                           Express server (BFF)
          ┌──────────────┬───────────┴───────────┬─────────────────┐
          ▼              ▼                       ▼                 ▼
   /api/til  /api/tir   /api/ccs            /api/odrl         /api/usage
   (trusted lists)  (credentials config)    (policies)    orders: TM Forum
                                                          accesses: APISIX logs
                                                          (Kubernetes API)

The server proxies the connector APIs, so the browser never talks to them directly. The usage endpoints read the APISIX logs with the Kubernetes API using a dedicated service account with a role limited to reading pods and their logs in the participant's namespace.

Configuration

The same image is used for every participant. The Terraform module (test_dsc_v10) sets these values per participant; the main ones are:

Variable Purpose
PROVIDER_DID DID of the participant, used for the "own policies" filter and the orders
TMF_API_URL TM Forum API of the marketplace, used for the orders
ACCESS_LOGS_NAMESPACE Namespace with the APISIX whose access logs are read
ACCESS_LOGS_SELECTOR, ACCESS_LOGS_CONTAINER Pod selector and container of APISIX (defaults app.kubernetes.io/name=apisix and apisix)

In Terraform it is enabled per participant with dashboard_usage_enabled = true and the image variables (dashboard_image_repository, dashboard_image_tag). The image is published to the GitHub Container Registry when a v* tag is pushed in the repository, and since the registry is private each namespace receives a pull secret copied from a source namespace.

The Spanish interface is the default, and English is available. The look follows the PGTEC marketplace (logos and colours).

Replaced component

The apisix-dashboard (the administration UI of the gateway) is no longer part of the connector deployment (it consumed resources and was not used); this dashboard covers the administration needs of the connector.