Commit Graph
17 Commits
Author SHA1 Message Date
Gaurav Kumar Singh 5c979cd8c5 feat(pubsub) overhaul pubsub state machine, states, api, tests
* feat(pubsub): Add DSR state to pubsub-reduced namespace

* feat(pubsub) add preoperantiol-state for DataSetReaders

* feat(pubsub) DSR state representation added to information model

* feat(pubsub): Fix test to use pre-operational state

* feat(pubsub): Add state variable for Reader/WriterGroup and DataSetWriter

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* feat(pubsub): Add Pre-Operational state for WG and DSW

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* feat(pubsub) Revise state machine for Reader/WriterGroups based on proposal

- Add enableReader/WriterGroup API
- Add enableDataSetReader/Writer API
- Add automatic transitions from Pre-Operational to Operational
  based on connections and securitytoken configuration

* feat(pubsub) Add test cases for state changes

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* feat(pubsub): Fix for pubsub tests to handle correct state changes

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* feat(pubsub): Update examples to support enable APIs

* feat(pubsub): Update flow for key assignment via SKS

- Remove Operational APIs for Reader/WriterGroup
- Add API to ActivateKeys to channel
- Update SKS tests and Example application to use
the new API

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* feat(pubsub): Add component interaction table for the puusub components

Signed-off-by: Gaurav Kumar Singh <gk.singh@be-services.com>

* fix(eventloop): Release lock before Shutdown
2023-07-28 10:01:14 +02:00
Thomas Fischer 350da1de4c feat(pubsub) add standaloneSubscribedDataSets information model representation
* add SubscribedDataSets Folder in Minimal XML

this change will prohibit the error message when Namespace0 is set to FULL

* use correct function for cleanup

* fix onRead for SDS childs

* reset isConnected when reader is removed

* add unittest isConnected

* fix pipeline

missing END_TEST for new unit test
2022-12-07 14:45:43 +01:00
Noel Graf 8cf6098a0f fix(pubsub): Set a message receive timeout when pubsub monitoring is active. Separate function to generate the defaultpublisherId. 2022-11-09 12:44:33 +01:00
Noel Graf dcf4463006 feat(pubsub): Implementation of the reserveIds method (#5296) 2022-09-20 22:56:16 +02:00
Thomas FischerandAndreas Ebner cfeeeedf42 feat(pubsub): add StandaloneSubscribedDataSet implementation
Co-authored-by: Andreas Ebner <andreas.ebner@iosb.fraunhofer.de>
2022-07-12 22:48:14 +02:00
Julius Pfrommer 10c612f695 feat(server): Add the missing ModellingRules to the reduced NodeSet 2022-01-19 07:01:02 +01:00
Julius Pfrommer 7e0e097b99 fix(pubsub): RemoveDataSetWriter in minimal generated NS0 2021-06-23 10:27:05 +02:00
Shriya Chaurasia f632859cf3 PubSub: Add ObjectTypes in Information model for Subscriber
- Add ReaderGroupType and DataSetReaderType
 - Add DataSetReaderTransportType and DataSetReaderMessageType
 - Add SubscribedDataSetType and TargetVariableType

Change-Id: I792b32cd9bf38888939473705e93d5efee618861
2020-09-16 10:01:16 +02:00
Julius Pfrommer 793be1727a PubSub: Add required definitions to reduced PubSub information model 2019-07-03 22:20:09 +02:00
Stefan Profanter 18fa59716d Nodeset: Remove invalid DataType value to align with full NS0 2019-05-08 09:07:38 +02:00
Stefan Profanter a45baf3d4a Update UA-Nodeset submodule to most recent 1.04 commit 2019-04-09 08:14:56 +00:00
Andreas Ebner af8c26f7d1 pubsub improvements
pubsub improvements

pubsub improvements
2019-02-20 11:30:20 +01:00
Stefan Profanter ebedd4d751 NodesetCompiler: Ignore already loaded nodeset 2019-01-03 13:52:07 +01:00
Andreas Ebner 8497b2e04c removed infinitely loop, extended pubsub information model representation 2018-11-19 07:19:35 +01:00
Andreas Ebner 72853d143e added PubSubConnection information model representation and methods 2018-11-19 07:19:35 +01:00
andreasebner cf8a55353f Enable PubSub tests and static code analysis (#1833)
* enable PubSub tests and static code analysis

* changed cleanup order
2018-08-31 11:31:58 +02:00
Andreas Ebner 6aeb2fddf6 Added first part of the pubsub information model representation 2018-05-27 18:56:04 +02:00