Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "BaSyx / Documentation / Components / AAS Server / Features / Hierarchical MQTT"

(Created page with "== User Story & Use Case == ''As AAS Components user'' ''I want hierarchical MQTT topics in the AAS Server Component'' ''so that I can subscribe precisely to the topics of i...")
 
Line 1: Line 1:
 +
= Hierarchical MQTT Eventing =
 
== User Story & Use Case ==
 
== User Story & Use Case ==
 
''As AAS Components user''
 
''As AAS Components user''

Revision as of 08:25, 26 November 2022

Hierarchical MQTT Eventing

User Story & Use Case

As AAS Components user

I want hierarchical MQTT topics in the AAS Server Component

so that I can subscribe precisely to the topics of interest without having to filter on client side


MQTT supports hierarchical topics with wildcard subscription support. For example, if the topics a/b/x and a/b/y exist, subscribing to a/b/* subscribes to all events broadcasted on both topics.

Feature Overview

The following hierarchical topics with their respective payloads are implemented:

  • /aas-repository/<repo-id>/shells/created
    • Payload: Complete AAS (without ConceptDictionaries)
  • /aas-repository/<repo-id>/shells/deleted
      • Payload: Complete AAS (old, without ConceptDictionaries)
  • /aas-repository/<repo-id>/shells/updated
    • Payload: Complete AAS (without ConceptDictionaries)
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/created
    • Payload: Submodels without SMEs
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/deleted
    • Payload: Submodels without SMEs
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/updated
    • Payload: Submodels without SMEs
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/<encoded-sm-identifier>/submodelElements/<idShortPath>/created
    • Payload: SME without value (or value-equivalent)
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/<encoded-sm-identifier>/submodelElements/<idShortPath>/deleted
    • Payload: old SME without value (or value-equivalent)
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/<encoded-sm-identifier>/submodelElements/<idShortPath>/updated
    • Payload: SME without value (or value-equivalent)
  • /aas-repository/<repo-id>/shells/<encoded-aas-identifier>/submodels/<encoded-sm-identifier>/submodelElements/<idShortPath>/value
    • SME value, if not specified otherwise via qualifier


For AAS/SM-Identifier encoding, Base64URL encoding and URL encoding are available.

Feature Configuration

The feature can be configured via the aas.properties by selecting aas.

Back to the top