Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "BaSyx / Documentation / Components / DataBridge / Features / AAS Endpoint"
< BaSyx | Documentation | Components | DataBridge | Features
(→Working Example) |
|||
Line 3: | Line 3: | ||
== Configuration == | == Configuration == | ||
− | To configure AAS Server in DataBridge you need to provide the '''unique id''', '''endpoint of the Submodel''' | + | To configure AAS Server in DataBridge you need to provide the '''unique id''', '''endpoint of the Submodel''', '''idShort path''' and the '''api''' type. |
+ | The AAS endpoint supports both the Dot AAS V1 '''(BaSyx)''' as well as Dot AAS V3 '''(DotAAS-V3)''' specifications api. | ||
− | === Sample Configuration === | + | === Sample Configuration Dot AAS V1 === |
<pre class="mw-code mw-code-json"> | <pre class="mw-code mw-code-json"> | ||
[ | [ | ||
Line 11: | Line 12: | ||
"uniqueId": "ConnectedSubmodel/ConnectedPropertyA", | "uniqueId": "ConnectedSubmodel/ConnectedPropertyA", | ||
"submodelEndpoint": "http://localhost:4001/shells/TestUpdatedDeviceAAS/aas/submodels/ConnectedSubmodel/submodel", | "submodelEndpoint": "http://localhost:4001/shells/TestUpdatedDeviceAAS/aas/submodels/ConnectedSubmodel/submodel", | ||
− | "idShortPath": "ConnectedPropertyA" | + | "idShortPath": "ConnectedPropertyA", |
+ | "api": "BaSyx" | ||
+ | } | ||
+ | ] | ||
+ | </pre> | ||
+ | |||
+ | === Sample Configuration Dot AAS V3 === | ||
+ | <pre class="mw-code mw-code-json"> | ||
+ | [ | ||
+ | { | ||
+ | "uniqueId": "ConnectedSubmodel/ConnectedPropertyA", | ||
+ | "submodelEndpoint": "http://localhost:4001/shells/TestUpdatedDeviceAAS/aas/submodels/ConnectedSubmodel/submodel", | ||
+ | "idShortPath": "ConnectedPropertyA", | ||
+ | "api": "DotAAS-V3" | ||
} | } | ||
] | ] |
Revision as of 04:30, 6 June 2023
Contents
AAS
The AAS Server can be integrated with DataBridge. The AAS component can be configured as a Data Sink in the DataBridge.
Configuration
To configure AAS Server in DataBridge you need to provide the unique id, endpoint of the Submodel, idShort path and the api type. The AAS endpoint supports both the Dot AAS V1 (BaSyx) as well as Dot AAS V3 (DotAAS-V3) specifications api.
Sample Configuration Dot AAS V1
[ { "uniqueId": "ConnectedSubmodel/ConnectedPropertyA", "submodelEndpoint": "http://localhost:4001/shells/TestUpdatedDeviceAAS/aas/submodels/ConnectedSubmodel/submodel", "idShortPath": "ConnectedPropertyA", "api": "BaSyx" } ]
Sample Configuration Dot AAS V3
[ { "uniqueId": "ConnectedSubmodel/ConnectedPropertyA", "submodelEndpoint": "http://localhost:4001/shells/TestUpdatedDeviceAAS/aas/submodels/ConnectedSubmodel/submodel", "idShortPath": "ConnectedPropertyA", "api": "DotAAS-V3" } ]
Similarly, you can configure multiple AAS sinks inside the configuration file.
Naming Convention
The name of the AAS configuration file should be aasserver.json.
Working Example
The integration example with MQTT as a data source, JSONata as a transformer, and AAS as a data sink is on GitHub DataBridge Example.