-
Notifications
You must be signed in to change notification settings - Fork 17
Support Relationships created by Central #91
Copy link
Copy link
Open
Description
Repro Steps
Create a Device Template in Central
Select Edge Device
Export the device template
Extract each of the interfaces to a different file
Expected: No errors since those are valid DTDL files
Observed:
The DTDL extension complains about the Relationship:
Although the files passes the .NET parser validations
Exported file
[
{
"@id": "dtmi:p8pl7l5ly:capabilitymodel:mybouqmfzo;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:p8pl7l5ly:capabilitymodel:mybouqmfzo:SamplePnPModule;1",
"@type": [
"Relationship",
"EdgeModule"
],
"displayName": {
"en": "SamplePnPModule"
},
"maxMultiplicity": 1,
"name": "SamplePnPModule",
"target": [
"dtmi:p8pl7l5ly:SamplePnPModule;1"
]
}
],
"displayName": {
"en": "Azure IoT Edge Capability Model mybouqmfzo"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
},
{
"@id": "dtmi:p8pl7l5ly:SamplePnPModule;1",
"@type": "Interface",
"displayName": {
"en": "Module SamplePnPModule"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
