Skip to content

What you are building

Danube Cloud hosts the connectors of Costa Frames, Lindner Bikes, and many other members of the Bike Dataspace. These members do not want to work with a connector. They want their customers to get current certificates, and they want their suppliers’ certificates to arrive in the systems they already use. Danube Cloud therefore builds an application on top of its platform: the supplier certificate service. In this path you are on the team that builds it.

Supplier certificate serviceBattery data service
Use caseSupplier certificatesBattery passport data
Built and run byDanube Cloud, for its membersBrandt Batteries, for itself
TenantsMany. One context per member.One
ConnectorThe members’ contexts on the Danube Cloud platformBrandt’s own connector
Systems around itCosta’s document store feeds it. Lindner’s supplier management system reads from it. Staff use its portal.Brandt’s product database feeds it.

Most of the path follows the supplier certificate service. Lecture 15 returns to the battery data service and shows what a second use case reuses.

A dataspace application starts with a lot in place. The following tasks are done by platform services, and you call them through their APIs.

TaskDone by
Hold the participant’s keys and credentials and present themCredential Service
Prove to a counterparty what the dataspace requires, such as membership, and check the counterparty’s proofConnector and Credential Service
Publish offers, answer catalog requests, negotiate contracts, manage transfersConnector
Issue the access token for an agreed data flowSiglet, the platform’s token service for data planes

Your application never handles a verifiable credential and never signs a protocol message. When a call from another company reaches your code, the platform has already established who is calling and that a contract exists.

The connector settles who may talk to whom about which API. Everything after that is the use case itself.

  • The use-case API. How a customer asks for a certificate, how the supplier answers, and how a renewed certificate is announced.
  • Decisions. Which customer gets which certificate, by rule or after a person approved.
  • Records. Certificates and their versions, requests, and what was shared with whom under which agreement.
  • Integration. The connection to the document store on one side and to supplier management on the other.
  • Operations. Retries, events, monitoring, and recovery after a failure.

This is more than three API calls, and it is where most of your time goes.

The use-case path names four building blocks per participant: connector, Credential Service, data plane, and business systems. The data plane is the block that serves the data once a contract exists.

For a use case that exchanges data through an API, the data plane has two parts. Siglet does the part that every use case needs. It takes instructions from the connector and issues an access token for each agreed flow. Your application does the part that is specific to the use case. It serves the API and checks the token on every call.

Costa Frames Provider

Lindner Bikes Consumer

Connector
Connector
Siglet
Siglet
Supplier certificate service Costa's context
Supplier certificate service Lindner's context
Document store
Supplier management
The platform provides connector and Siglet. The supplier certificate service takes the place of the data plane and connects the business systems.

The supplier certificate service is one deployment. The picture shows it twice because it acts separately for each member. Costa’s certificates and Lindner’s requests are kept apart as strictly as if two companies ran two installations.

A use-case application implements one use case on both sides. The supplier certificate service lets Costa provide certificates and lets Lindner request them. It also lets Lindner provide its own certificates to its customers, and it lets Costa collect certificates from its aluminium suppliers.

This follows from the dataspace itself, where provider and consumer are roles in one exchange and not types of company. Build the application so that every tenant can act in both roles from the first day. The two sides share most parts: the client for the connector, the token handling, the store, and the log.

  • The platform provides identity, proof of credentials, contracts, and access tokens. You call these services and do not rebuild them.
  • A use-case application implements the use-case API, the decisions, the records, and the operations around them.
  • For an API use case, Siglet and your application together are the data plane.
  • One use-case application serves both roles, because every participant can provide and consume.