Skip to content

Build a Dataspace Application

This path shows how to build software that shares data in a dataspace. The connector, the Credential Service, and the token service come from the platform. What you build is the use-case application: the software that implements one use case, serves and calls its API, decides what each counterparty gets, and keeps the records.

The path follows two applications in the fictional Bike Dataspace. A team at Danube Cloud builds the supplier certificate service, which members such as Costa Frames and Lindner Bikes use to exchange supplier certificates. Brandt Batteries builds a battery data service next to its own connector. The examples use the multi-participant Management API of a managed platform. Where a self-hosted connector differs, the lecture says so.

  • Application developers and system integrators who connect document stores, ERP systems, or other business software to a dataspace.
  • Data plane developers who build the component that serves or moves the data. Lectures 9 and 10 are written for you and can be read on their own.
  • Architects who need to know where application logic ends and platform services begin.

You should be comfortable with HTTP APIs, JSON, and access tokens. You do not need to know the internals of the Eclipse Dataspace Components.

After this path you can:

  • explain what a use-case application does and what the platform already does for it;
  • call the Management API with the right address, token, and request envelope;
  • publish an API offer from an asset, a policy definition, and a contract definition;
  • write policies with the terms of your dataspace, and know which conditions work in an access policy and which only in a contract policy;
  • request a catalog, negotiate a contract, and start a transfer, and manage all three with a pattern that this path calls a channel;
  • check the access token of a data flow and use its claims;
  • design and implement the application protocol of a use case in both directions;
  • decide in the application what a caller gets, for example with partner lists and grants;
  • handle asynchronous state with events, an inbox, and reconciliation;
  • test against a demonstrator and prepare the application for production.
#LectureWhat it covers
1What you are buildingThe two example applications and the split between application and platform.
2Your starting pointThe addresses, identifiers, and tokens you receive from the platform operator.
3Application architectureControl path and data path, the parts of an application, and where rules live.
4Publish an offerWhat a contract covers, and an offer from an asset, a policy definition, and a contract definition.
5Policies in practiceODRL as the connector accepts it, access and contract policy, the term for the data sharing agreement, and conditions that only work in a contract policy.
6Discover and negotiateCatalog requests, the right dataset, contract negotiation, and the agreement.
7Transfer dataTransfer requests, what a started transfer means, and the first call with a token.
8ChannelsA pattern for managing catalog, agreement, and transfer as one object, and two flows per pair.
9Data plane architectureData Plane Signaling, the shapes of a data plane, and where your endpoint comes from.
10Flow tokensThe claims of an access token and the checks on both sides.
11Design the use-case protocolThe application protocol that a use case needs on top of the dataspace protocols.
12Calls and decisions in the applicationInbound calls, decisions with partners and grants as one design, failure handling, and documents.
13Credentials and claimsHow verified claims reach your code, and how long they stay true.
14Events and resilienceEvents, an inbox, retries, and reconciliation.
15A second use caseBattery data: what a second application reuses and what is new.
16Test and shipTest levels, demonstrators, and a checklist for going live.

Lectures 1 to 8 cover the side of the application that faces the connector. Lectures 9 to 14 cover the data path and the application’s own logic. Lectures 15 and 16 apply the result to a second use case and take it to production.

If dataspaces are new to you, read A Dataspace Use Case first. It introduces the Bike Dataspace, the companies, and the pattern of publish, discover, agree, and transfer without any code.

To try the calls from this path, you need a running platform. The demonstrators page explains which one fits which goal.

This path does not repeat the reference documentation of the Management API. Each lecture shows the minimal shape of a call and links to the authoritative source.