forked from IndustryFusion/DigitalTwin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add subcomponent retrival for hierachical system onboarding
This PR provides a script to retrieve all subcomponent IDs from an entity id. The script assumes to have the entity knowledge and access to a NGSI-LD Context Broker. In addition it provides: * Changed default context in datamodel examples * Plain JSON-properties to integrate legacy JSON objects * Validation and tests for json properties * Add NOTICE for licence compliance and Software BOM * Bats e2e test for subcompoenent tests * Updated README with getsubcomponent example * Extension of validate.js to validate files from stdin Related Epic: IndustryFusion#514 Related User Story: IndustryFusion#555 Signed-off-by: marcel <wagmarcel@web.de>
- Loading branch information
Showing
33 changed files
with
88,878 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,40 @@ | ||
[ | ||
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld", | ||
{ | ||
"@vocab": "https://industry-fusion.org/base/v0.1/", | ||
"eclass": { | ||
"@id": "https://industry-fusion.org/eclass#", | ||
"@prefix": true | ||
}, | ||
"xsd": { | ||
"@id": "http://www.w3.org/2001/XMLSchema#", | ||
"@prefix": true | ||
}, | ||
"iffb": { | ||
"@id": "https://industry-fusion.org/base/v0.1/", | ||
"@prefix": true | ||
}, | ||
"iffk": { | ||
"@id": "https://industry-fusion.org/knowledge/v0.1/", | ||
"@prefix": true | ||
}, | ||
"rdf": { | ||
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | ||
"@prefix": true | ||
}, | ||
"rdfs": { | ||
"@id": "http://www.w3.org/2000/01/rdf-schema#", | ||
"@prefix": true | ||
}, | ||
"schema": { | ||
"@id": "http://schema.org/", | ||
"@prefix": true | ||
}, | ||
"sh": { | ||
"@id": "http://www.w3.org/ns/shacl#", | ||
"@prefix": true | ||
}, | ||
"base": { | ||
"@id": "https://industryfusion.github.io/contexts/ontology/v0/base/", | ||
"@prefix": true | ||
} | ||
} | ||
] | ||
{ | ||
"@context": [ | ||
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld", | ||
{ | ||
"@vocab": "https://industry-fusion.org/base/v0/", | ||
"eclass": { | ||
"@id": "https://industry-fusion.org/eclass#", | ||
"@prefix": true | ||
}, | ||
"xsd": { | ||
"@id": "http://www.w3.org/2001/XMLSchema#", | ||
"@prefix": true | ||
}, | ||
"iffb": { | ||
"@id": "https://industry-fusion.org/base/v0/", | ||
"@prefix": true | ||
}, | ||
"iffk": { | ||
"@id": "https://industry-fusion.org/knowledge/v0/", | ||
"@prefix": true | ||
}, | ||
"rdf": { | ||
"@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | ||
"@prefix": true | ||
}, | ||
"rdfs": { | ||
"@id": "http://www.w3.org/2000/01/rdf-schema#", | ||
"@prefix": true | ||
}, | ||
"schema": { | ||
"@id": "http://schema.org/", | ||
"@prefix": true | ||
}, | ||
"sh": { | ||
"@id": "http://www.w3.org/ns/shacl#", | ||
"@prefix": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.