Commit Graph
18 Commits
Author SHA1 Message Date
Julius Pfrommer 956f170d77 refactor(pubsub): Remove old PubSub realtime implementation 2025-01-19 22:33:50 +01:00
Julius Pfrommer fb6ed1798b refactor(pubsub): Rename ua_pubsub.h into ua_pubsub_internal.h
This way all subsystems (client/server/pubsub) follow the same
nomenclature.
2024-10-11 23:08:03 +02:00
Julius Pfrommer d0749c50c4 refactor(pubsub): Use the PubSubManager directly in Connection, ReaderGroup, WriterGroup 2024-09-09 23:20:32 +02:00
Julius Pfrommer cc6a9ef12c refactor(pubsub): Simplify the internal _find functions 2024-09-09 23:20:32 +02:00
Julius Pfrommer d0ede5c379 refactor(pubsub): Clean up the WriterGroup API 2024-09-09 23:20:32 +02:00
Julius Pfrommer 04fd16af13 Merge remote-tracking branch 'origin/1.4' into merge_14_master_15 2024-05-25 00:35:46 +02:00
estr Eckerstorfer Andreas 51b4427f35 refactor(tests): Include stdlib.h where open62541 no longer does it
Include is needed for definition of EXIT_SUCCESS.
2024-05-14 15:10:11 +02:00
Julius Pfrommer 09317bcc00 Merge remote-tracking branch 'origin/1.4' 2023-11-14 17:39:04 +01:00
Julius Pfrommer 0271f50579 refactor(server): Only use logging-pointer instead of inline structure
We could not adjust all pointers when moving the config "into" the
server.
2023-11-10 08:38:53 +01:00
Julius Pfrommer dd300f3eff refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests 2023-10-04 10:56:26 +02:00
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
Julius Pfrommer 0051c28a25 refactor(test): Remove plugin/pubsub.h API from unit tests 2023-06-16 18:52:25 +02:00
basyskom-dege fa984e8ee6 fix(pubsub): Add StatusCode checks. (#5723)
* Fix Pubsub Tests. Added Statuscode Checks.

* Fix CI error:  unread retval
2023-04-05 16:41:09 +02:00
Andreas Eckerstorfer 022ad60723 fix (tests): Check server instance in UNIT tests
Failed UNIT tests caused an exception in the server loop, if the
server instance could not be created.
2023-01-31 00:07:18 +01:00
Divya Prasanth Prabhakaran 0d96fc024a fix(pubsub): Fix signing key length
- Fix symmetric sign key length - 256 bits

Change-Id: I8de1442c9c6cde55c4a4c43302f525ebe49e1efc
2021-08-27 15:57:03 +02:00
Julius Pfrommer 4d3422524c refactor(core): Don't generate headers with internal encoding functions 2021-08-16 10:21:51 +02:00
Jan Hermes 8b3b922def test(pubsub): fix encryption test for DeltaFrames
With DeltaFrames enabled the encryption test failed. Appearently the
order of operations for setting up the server matters in this case:

addDataSetField must appear before addDataSetWriter!
2021-05-23 12:48:45 +02:00
Julius Pfrommer d4c3427299 feat(test): Add PubSub encryption unit test 2021-04-05 22:18:58 +02:00