ADR 009 β Discovery of AAS Services via DSP Version 0.2.0
Problem to be solvedβ
The interaction via Dataspace Protocol (according to ADR 002) facilitates the discovery of services such as APIs. So far, only ADR 008 has been chosen as common API for discovery of data - namely asset centric data according to IDTA-01002.
When standing alone, ADR008 assumes that the Data Consumer has prior knowledge about the location and authentication method of the AAS-APIs. Moreover, it assumes the Data Consumer already holds credentials that the Data Provider accepts.
Solution descriptionβ
The Data Provider MUST (with regards to his Digital Twin Registry):
- advertise the Digital Twin Registry as
Datasetin their DSP-Catalog to an appropriate audience. - annotate that
Datasetwith"http://purl.org/dc/terms/type": {"@id":"https://w3id.org/catenax/taxonomy#DigitalTwinRegistry"} - upon successful authentication yield access to the URL of the DTR before the segments
/shell-descriptorsand/lookuprespectively. - add an endpoint to each
submodel-descriptorwithprotocolInformation.hrefset to the endpoint where the submodel is accessible.protocolInformation.subprotocolset toDSPprotocolInformation.subprotocolBodyset according to the concatenation of the following key-value-pairs (assigned by a "=" and separated by a semicolon ";"):idrepresents the id of that Dataset in the Data Providers catalog that contains the Submodel.dspEndpointrepresents the endpoint of the Data Provider's DSP endpoint where the catalog containing the relevant Dataset is located.
- ensure that access control to shell-descriptors is enforced on a granular level
The Data Provider MUST (with regards to his Submodels):
- advertise endpoints in such a manner via the DSP that a Consumer can access them according to the payload from the
corresponding
submodel-descriptorβsendpointsentry.
Expected business consequencesβ
This is additional integration effort. This does not mean that each Submodel has to be registered. If the effort is still conceived as high, appropriate tooling (either by the EDC polling the repos OR the repos registering at the catalog automatically) can be developed.
Alternatives evaluatedβ
In the context of the existing ADRs 002 and ADR 008 -
the overall setup is pretty much predetermined. The metadata annotations of the Dataset objects could theoretically
reflect the response from a Digital Twin Repositoryβs /description endpoint.
This can be added later in a compatible fashion in thereβs a strong preference for it. The Catena-X annotation is
adopted from CX-0002 to maintain
compatibility with the Catena-X dataspace.
It could be done like in FraunhoferIOSB/EDC-Extension-for-AAS: EDC Extension supporting usage of Asset Administration Shells where most of the data from the AAS Registry is duplicated into the DSP catalog rendering the component Digital Twin Registry pretty much useless.
Links to additional explanations, further material, and referencesβ
This ADR is a subset of CX-0002 and the Digital Twin Kit. The latter has diagrams, explanations and motivations sketched out.