Commit Graph

1870 Commits

Author SHA1 Message Date
Julius Pfrommer 6e204f4163 feat(pubsub): Implement UA_Server_getPubSubComponentChildren 2025-04-07 21:41:33 +02:00
Julius Pfrommer 5ff0ef23f2 feat(pubsub): Implement UA_Server_getPubSubComponentParent 2025-04-07 20:57:11 +02:00
Julius Pfrommer 9183d2384a feat(pubsub): Implement UA_Server_getPubSubComponentType 2025-04-07 20:37:54 +02:00
Julius Pfrommer 79a4a19808 feat(tests): Enable first unit tests to lwip as the architecture 2025-03-19 08:31:35 +01:00
Julius Pfrommer d451c75d57 refactor(core): Remove unused UA_printXml 2025-03-02 13:38:18 +00:00
Julius Pfrommer 0b586eff10 feat(tests): Add a fuzzing test for the XML de/encoding 2025-03-02 13:38:18 +00:00
Julius Pfrommer a08460cc17 refactor(core): Move XML decoding to the yxml-based tokenizer 2025-03-02 13:38:18 +00:00
Julius Pfrommer 05c3e632c1 feat(tests): Add check_yxml.c unit test 2025-03-02 13:38:18 +00:00
Srdjan Usorac dbdac8d2af feat(core): Add XML en/decode support for Arrays
* Initial Variant encode included

Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Srdjan Usorac 17789c970c feat(core): Add XML en/decode support for ExtensionObject
Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Srdjan Usorac 4171255142 feat(core): Add option to print encoded XML elements
Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Srdjan Usorac fc006fba17 fix(tests): XML decode within nodesetLoader integration tests
Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Srdjan Usorac 3ede72761e feat(core): Add XML en/decode support until ExtensionObject
* Add XML en/decode support for ByteString, StatusCode,
  QualifiedName, and LocalizedText

* Skip support for XmlElement

Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Srdjan Usorac 24eb71bbe8 feat(core): Distinguish XML en/decoding of primitive and complex types
* Rework en/decoding to be in sync with the standard: https://reference.opcfoundation.org/Core/Part6/v104/docs/5.3

* Concept of handling complex data types (decodeXmlFields)

* XML parsing of values

* Rework Guid, NodeId, and ExpandedNodeId (complex types)

* Rework and add unit tests for complex data types

Signed-off-by: Srdjan Usorac <uso@keba.com>
2025-03-02 13:38:18 +00:00
Noel Graf 67312c1ad3 fix(server): Use trustlist methods in gds informationmodel 2025-02-27 14:45:52 +01:00
Julius Pfrommer 19eabfd839 feat(tests): Add testing of UA_Server_updatePubSubConnectionConfig 2025-02-23 08:36:58 +01:00
Julius Pfrommer afb48d1745 feat(pubsub): Add componentLifecycleCallback to the PubSub config 2025-02-23 08:36:58 +01:00
Julius Pfrommer de6e63bfff refactor(client): Pull in inline definitions and better typing of async callback methods 2025-02-20 10:45:26 +01:00
Julius Pfrommer 15332c4ed0 feat(tests): Extend replay tests with encryption examples 2025-02-19 11:27:27 +01:00
Julius Pfrommer 1bdf2dbe0a feat(tests): Add a first replay tests against the UA C++ SDK 2025-02-19 11:27:27 +01:00
Julius Pfrommer 6b64ca3519 feat(tests): Add a ConnectionManager that can replay PCAP network dumps 2025-02-19 11:27:27 +01:00
Julius Pfrommer c0a8522775 refactor(tests): Regenerate testing certificates
Before they were not accepted by the Unified Automation SDK, even after
adding them to the trustlist.
2025-02-19 11:27:27 +01:00
Julius Pfrommer 2dcaada9f8 feat(util): Introduce percent-escaping of strings for RFC 3986 2025-02-08 12:38:12 +01:00
Julius Pfrommer e02866372c feat(client): Check if the "CreatedAt" timestamp of the SecurityToken matches the current system clock - consistently use monotonic clock internally 2025-02-04 13:33:31 +01:00
Julius Pfrommer 77ae531e82 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-02-02 19:14:15 +01:00
Julius Pfrommer 2119e7cd20 fix(server): Unlock the server before executing an async method 2025-02-02 17:40:38 +01:00
Julius Pfrommer 99d4d46804 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-28 06:55:14 +01:00
Julius Pfrommer 1321281968 refactor(tests): Lock the EventLoop before client/server in the tests 2025-01-26 23:29:22 +01:00
Julius Pfrommer 748f39ad5e Merge remote-tracking branch 'origin/master' into merge_14_master_25 2025-01-25 19:07:12 +01:00
Julius Pfrommer 3bec159cb9 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-25 19:06:56 +01:00
Julius Pfrommer 43d1a05009 fix(pubsub): Fix locking issues in the PubSub tests 2025-01-20 17:58:24 +01:00
Julius Pfrommer 0e62e11afb Merge remote-tracking branch 'origin/master' into merge_14_master_25 2025-01-20 16:09:35 +01:00
Julius Pfrommer 4adf6a8b8b refactor(pubsub): Remove unneeded freeze flags 2025-01-19 22:33:50 +01:00
Julius Pfrommer 061d76bfbc refactor(tests): Remove pubsub "attic" of outdated tests 2025-01-19 22:33:50 +01:00
Julius Pfrommer 2eef339f5a refactor(tests): Cosmetic cleanups in check_pubsub_publisherid.c 2025-01-19 22:33:50 +01:00
Julius Pfrommer de4d4876d6 refactor(tests): Remove redundant fastpath tests in check_pubsub_publisherid.c 2025-01-19 22:33:50 +01:00
Julius Pfrommer 5bf6f0c3e7 refactor(pubsub): Remove the old direct-access API
The public Offset Table API should be used for realtime operations on
the NetworkMessages instead.
2025-01-19 22:33:50 +01:00
Julius Pfrommer e0ef113a84 refactor(pubsub): Remove old PubSubRTLevel enum 2025-01-19 22:33:50 +01:00
Julius Pfrommer 956f170d77 refactor(pubsub): Remove old PubSub realtime implementation 2025-01-19 22:33:50 +01:00
Julius Pfrommer cba40d669f feat(pubsub): Offset table generation for PubSub messages 2025-01-15 17:03:14 +01:00
Noel Graf 50f6286107 fix(test): Reset trust list for each test case 2025-01-15 14:15:29 +01:00
Noel Graf 949b0cc4dd fix(test): Resolve incorrect checks caused by existing certificates in PKI folder 2025-01-14 22:49:30 +01:00
tomitkl 2076a9c87f feat(plugin): Add filestore Windows implementation (#7006)
* feat(plugin): Add filestore Windows implementation

* Define UA_DT_REG and UA_DT_DIR

* Remove build flag and use __linux__ or UA_ARCHITECTURE_WIN32 in places which used to check only for __linux__
2025-01-10 14:28:37 +01:00
Noel Graf 34d957c561 fix(server): Consistency in the use of the Windows architecture flag 2025-01-09 15:00:38 +01:00
Julius Pfrommer 8414614764 fix(core): Ensure that decode->encode->decode yields the identical result 2025-01-02 23:41:14 +01:00
Julius Pfrommer 83ad60c103 refactor(core): Update RelativePath browsing for the new QualifiedName format 2025-01-02 23:41:14 +01:00
Julius Pfrommer 12a3e5c915 refactor(pubsub): Adjust PubSub JSON unit test to the v1.05 format 2025-01-02 23:41:14 +01:00
Julius Pfrommer 422d18a397 feat(pubsub): It is allowed to have a single JSON object for the Messages field 2025-01-02 23:41:14 +01:00
Julius Pfrommer 4478f1d556 refactor(core): JSON encoding of Variant, DataValue, ExtensionObject following 1.05 spec 2025-01-02 23:41:14 +01:00
Julius Pfrommer c3ce501142 refactor(core): Use the human-readable QualifiedName encoding for JSON 2025-01-02 23:41:14 +01:00