Abbreviation | Name |
---|---|
EDC | Eclipse Dataspace Connector |
DTR | Digital Twin Registry |
DT | Digital Twin |
This concept does not include the discovery process for EDC notifications. This will be done in a separate concept.
IRS is not able to validate if a certain data offer is correct or outdated. IRS will take the first responding offer which is available, all other requests are disregarded after that and the responses are ignored.
IRS queries all DTRs for the globalAssetId and will take the first result it gets.
If none of the DTRs return a result, IRS will create a tombstone.
sequenceDiagram
IRS ->> Discovery Service: Get EDCs for BPN
Discovery Service ->> IRS: Return list of 1 EDC
IRS ->> EDC Provider: Query for DTR contract offer
EDC Provider ->> IRS: 2 DTR contract offers
par Query DTR 1
IRS ->> EDC Provider: Negotiate contract
IRS ->> DTR 1: Query for DT
DTR 1 ->> IRS: no DT
and Query DTR 2
IRS ->> EDC Provider: Negotiate contract
IRS ->> DTR 2: Query for DT
DTR 2 ->> IRS: DT
end
IRS starts a contract negotiation for all registry contract offers in parallel and queries the DTRs for all successful
negotiations.
The first registry which responds with a DT will be the one used by IRS.
sequenceDiagram
IRS ->> Discovery Service: Get EDCs for BPN
Discovery Service ->> IRS: Return list of 3 EDCs
par Catalog Request to EDC 1
IRS ->> EDC Provider 1: Query for DTR contract offer
EDC Provider 1 ->> IRS: No offer
and Catalog Request to EDC 2
IRS ->> EDC Provider 2: Query for DTR contract offer
EDC Provider 2 ->> IRS: No offer
and Catalog Request to EDC 3
IRS ->> EDC Provider 3: Query for DTR contract offer
EDC Provider 3 ->> IRS: DTR contract offer
IRS -> EDC Provider 3: Negotiate contract
IRS ->> DTR: Query for DT
DTR ->> IRS: DT
end
Only one EDC found for BPN and the catalog only contains one offer for the DTR.
IRS will use this registry and will create a tombstone if no DT could be found for the globalAssetId.
sequenceDiagram
IRS ->> Discovery Service: Get EDCs for BPN
Discovery Service ->> IRS: Return list of 1 EDC
IRS ->> EDC Provider 3: Query for DTR contract offer
EDC Provider 3 ->> IRS: DTR contract offer
IRS -> EDC Provider 3: Negotiate contract
IRS ->> DTR: Query for DT
DTR ->> IRS: DT
IRS starts a contract negotiation for all the registry offers.
sequenceDiagram
IRS ->> Discovery Service: Get EDCs for BPN
Discovery Service ->> IRS: Return list of 3 EDCs
par Catalog Request to EDC 1
IRS ->> EDC Provider 1: Query for DTR contract offer
EDC Provider 1 ->> IRS: No offer
and Catalog Request to EDC 2
IRS ->> EDC Provider 2: Query for DTR contract offer
EDC Provider 2 ->> IRS: DTR contract offer
IRS -> EDC Provider 2: Negotiate contract
IRS ->> DTR: Query for DT
DTR ->> IRS: DT
and Catalog Request to EDC 3
IRS ->> EDC Provider 3: Query for DTR contract offer
EDC Provider 3 ->> IRS: DTR contract offer
IRS -> EDC Provider 3: Negotiate contract
IRS ->> DTR: Query for DT
DTR ->> IRS: No DT
end
IRS starts a contract negotiation for all the registry offers and creates a tombstone since no DTR could be discovered.
sequenceDiagram
IRS ->> Discovery Service: Get EDCs for BPN
Discovery Service ->> IRS: Return list of 3 EDCs
par Catalog Request to EDC 1
IRS ->> EDC Provider 1: Query for DTR contract offer
EDC Provider 1 ->> IRS: No offer
and Catalog Request to EDC 2
IRS ->> EDC Provider 2: Query for DTR contract offer
EDC Provider 2 ->> IRS: No offer
and Catalog Request to EDC 3
IRS ->> EDC Provider 3: Query for DTR contract offer
EDC Provider 3 ->> IRS: No offer
end
IRS ->> IRS: Tombstone
IRS will use all registries to query for the globalAssetId and takes the first result which is returned.
If no DT could be found in any of the DTRs, IRS will create a tombstone.
IRS uses the /query endpoint of the DTR to get the DT id based on the globalAssetId. If more than one id is present for a globalAssetId, IRS will use the first of the list.
sequenceDiagram
IRS ->> DTR: /query for globalAssetId
DTR ->> IRS: return list of two results
IRS ->> IRS: use first