From b2538f7ccd1d3a34628c9671d6a54ff5ad0508f9 Mon Sep 17 00:00:00 2001 From: ShehriyarShariq-Fraunhofer Date: Tue, 26 Nov 2024 08:39:37 +0100 Subject: [PATCH 1/2] feat: Added new event descriptions for mqttsubmodelrepo --- .../basyx_components/v2/submodel_repository/features/mqtt.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md b/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md index 119a7b0..6ca43b6 100644 --- a/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md +++ b/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md @@ -9,5 +9,8 @@ This feature provides hierarchical MQTT eventing for a multitude of events: | SubmodelElement Created | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/created | Created SubmodelElement JSON | | SubmodelElement Updated | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/updated | Updated SubmodelElement JSON | | SubmodelElement Deleted | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/deleted | Deleted SubmodelElement JSON | +| SubmodelElements Patched | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/patched | Patched SubmodelElements JSON | +| FileValue Updated | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/fileValue/$fileName/updated | Updated SubmodelElement JSON | +| FileValue Deleted | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/fileValue/deleted | Deleted SubmodelElement JSON | Per default, the SubmodelElement topic payloads include the SubmodelElement's value. If this is not desired, the SubmodelElement can be annotated with a Qualifier of type *emptyValueUpdateEvent* and value *true* \ No newline at end of file From ac94d0041f7f99afe2d529176ea1850658ca9a96 Mon Sep 17 00:00:00 2001 From: ShehriyarShariq-Fraunhofer Date: Tue, 3 Dec 2024 07:47:55 +0100 Subject: [PATCH 2/2] fix: Update FileValue events --- .../basyx_components/v2/submodel_repository/features/mqtt.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md b/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md index 6ca43b6..00bab71 100644 --- a/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md +++ b/docs/source/content/user_documentation/basyx_components/v2/submodel_repository/features/mqtt.md @@ -10,7 +10,7 @@ This feature provides hierarchical MQTT eventing for a multitude of events: | SubmodelElement Updated | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/updated | Updated SubmodelElement JSON | | SubmodelElement Deleted | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/deleted | Deleted SubmodelElement JSON | | SubmodelElements Patched | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/patched | Patched SubmodelElements JSON | -| FileValue Updated | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/fileValue/$fileName/updated | Updated SubmodelElement JSON | -| FileValue Deleted | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/fileValue/deleted | Deleted SubmodelElement JSON | +| FileValue Updated | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/attachment/updated | Updated SubmodelElement JSON | +| FileValue Deleted | sm-repository/$repoId/submodels/$submodelIdBase64URLEncoded/submodelElements/$idShortPath/attachment/deleted | Deleted SubmodelElement JSON | Per default, the SubmodelElement topic payloads include the SubmodelElement's value. If this is not desired, the SubmodelElement can be annotated with a Qualifier of type *emptyValueUpdateEvent* and value *true* \ No newline at end of file