Commit Graph

144 Commits

Author SHA1 Message Date
Julius Pfrommer 287c5ad69b fix(server): Make the BrowseName of Nodes immutable
The BrowseName is tracked in binary trees in other nodes for fast
lookup. We would have to reinsert the node to all references lists
of other nodes pointing here.
2020-03-29 21:27:39 +02:00
Julius Pfrommer 017ee76609 refactor(server): Fold SessionManager into Session Service-Set 2020-01-26 12:39:37 +01:00
Julius Pfrommer fc3a83e570 fix(tests): Remove number of readspeed test iterations 2020-01-18 21:15:08 +01:00
Julius Pfrommer 555edd2692 fix(tests): Reduce number of monitoringspeed test operations 2020-01-18 21:15:08 +01:00
Julius Pfrommer a25bb75393 refactor(core): Move ConnectionConfig into SecureChannel 2020-01-18 21:15:08 +01:00
Ari Breitkreuz 6382d1ad05 Add Unit Test for discardNewest leading to failed assertion 2019-12-24 08:25:34 +01:00
Julius Pfrommer 3dce9f5ed5 refactor(server): Simplify the async operations intenally
The server config is simplified a bit. A single timeout is used for the
request. No changes to the public API otherwise.

Full integration tests for the async operations.
2019-11-10 16:50:18 +01:00
Julius Pfrommer 35f2ca4116 refactor(server): Remove server/ua_server_methodqueue.h
Moves the queue elements to the AsyncOperationManager
2019-10-28 11:48:43 +01:00
Julius Pfrommer c4cde43deb refactor(server): Rename UA_AsyncMethodManager to UA_AsyncOperationManager 2019-10-28 11:48:43 +01:00
Julius Pfrommer 6a91f9d46f refactor(server): Prepare AsyncMethodManager for read/write operations 2019-10-28 11:48:43 +01:00
Julius Pfrommer b322f4d128 refactor(server): Remove server pointer from AsyncMethodManager 2019-10-28 11:48:43 +01:00
Julius Pfrommer adbf1ccd73 test(server): ReadSpeed test for many nodes instead of a single one 2019-10-24 07:30:59 +02:00
Julius Pfrommer 92673e1855 refactor(server): Cache absolute deadband percentage deadband filter
The percentage deadband refers to the EURange property of the variable.
Compute the resulting absolute deadband ahead of time. This simplifies
the cyclic "hot path".
2019-10-23 10:18:27 +02:00
Julius Pfrommer 7cad87fa7c feature(plugin): Recover the old hash-map based Nodestore 2019-10-21 17:09:53 +02:00
Julius Pfrommer ddd0fbfcfd refactor(server): Restore the NodeStore as a true plugin 2019-10-21 17:09:53 +02:00
Julius Pfrommer 5856ceb003 refactor(server): Rename deleteMembers to clear in UA_SecurityPolicy 2019-10-03 15:14:24 +02:00
Julius Pfrommer acbac3ee0b Merge branch '1.0' 2019-09-15 13:23:15 +02:00
Julius Pfrommer 7b31e40641 test(server): Add speed test for AddNodes 2019-09-15 13:21:56 +02:00
schick 926840fc6c Tests: Unit Tests for Async Methods 2019-09-12 15:20:01 +02:00
Ubuntu dfdc6ae296 feat(multithreading): Locks and assertions for Session, Subscription and MonitoredItem handling 2019-09-10 07:41:05 +02:00
Stefan Profanter 01fae7b5b4 Merge remote-tracking branch '1.0' into master 2019-09-02 14:34:18 +02:00
Stefan Profanter a06a792fa8 fix(server): Correctly initialize application description discovery urls for custom hostname
fixes #3048
2019-08-30 21:27:48 +02:00
Ubuntu 28c857114b feat(multithreading): Supporting history data 2019-08-27 07:44:34 +02:00
Ubuntu 6050ffe172 feat(multithreading): Locks for subscription and browsing services 2019-08-27 07:44:34 +02:00
inspektor-scherlein 4b0b7f81ef Server: Two new callbacks to UA_GlobalNodeLifecycle
1. generateChildNodeId: Used to define NodeIds for automatically generated nodes during recursive node instantiation
2. createOptionalChild: Used to define whether an optional child should be created during recursive node instantiation
2019-08-25 09:49:19 +02:00
inspektor-scherlein 13fa838d54 Server: Two new callbacks to UA_GlobalNodeLifecycle
1. generateChildNodeId: Used to define NodeIds for automatically generated nodes during recursive node instantiation
2. createOptionalChild: Used to define whether an optional child should be created during recursive node instantiation
2019-08-24 15:02:43 +02:00
Ubuntu 2b3a8cbc91 feat(server): Adding multithreading architecture with additional refactoring 2019-08-19 23:36:03 +02:00
Ubuntu 7f3271d405 fix(server): Delete node when replaceNode is not successful 2019-08-19 23:36:03 +02:00
matkonnerth 777eb9339d Server: Read Datatype Definitions of Structures 2019-08-15 18:05:42 +02:00
Stefan Profanter 6752ff9518 Merge branch '1.0' into master 2019-08-08 14:04:08 +02:00
Julius Pfrommer c6a4668b57 View: Fix API of BrowseRecursive; Add unit test 2019-08-07 20:58:22 +02:00
Julius Pfrommer 0a2e0aede1 NodeManagement: Allow AddNodes with an undecoded ExtensionObject value
Fix for #2918.
2019-08-05 16:16:13 +02:00
Stefan Profanter 40d9e588cd Merge branch '1.0' into master 2019-08-05 12:53:27 +02:00
Julius Pfrommer a4cfd801b2 Server: Add an example for matrix variables. Fix #2389 2019-08-01 18:20:48 +02:00
Julius Pfrommer da7a908edb Add check for double references (taken from #2866) 2019-08-01 08:04:29 +02:00
Markus Karch 1a68db4934 Tests: Add check_server_callbacks.c
Some torture-tests where the information model is changed during
callbacks.
2019-08-01 08:04:29 +02:00
Julius Pfrommer 227c0ba978 Add check for double references (taken from #2866) 2019-07-31 16:37:08 +02:00
Markus Karch c68cd30318 Tests: Add check_server_callbacks.c
Some torture-tests where the information model is changed during
callbacks.
2019-07-27 14:14:37 +02:00
Stefan Profanter 6386b74d23 Client: Add additional check to avoid null pointer access on CreateEvent 2019-07-25 15:51:33 +02:00
Ari 09331e2d66 Add unit testing for abstract event types 2019-07-25 15:51:33 +02:00
Julius Pfrommer 1ea70b5614 Subscriptions: Fix events test under valgrind delays 2019-07-03 22:20:09 +02:00
Julius Pfrommer 3b14df892c Services: Remove the in-situ service special case
The savings in memory allocations are not worth the additional
complexity. The services now are uniformly defined.
2019-06-16 09:57:11 +02:00
Julius Pfrommer d871105cc2 Tests: Small improvement to testing BrowseNext 2019-06-06 02:32:09 +02:00
Julius Pfrommer a8a8231ba4 Tests: Various fixes for the unit tests on MinGW 2019-06-06 02:32:09 +02:00
Julius Pfrommer afef5d4b22 View: Move ContinuationPoint definition from session to view service 2019-06-06 02:32:09 +02:00
Stefan Profanter d0831c7a5f Stack: Add support for HasInterface reference (Amendment 7) 2019-05-28 08:12:25 +02:00
Stefan Profanter 857c2bc421 Stack: Add support for DefaultInstanceBrowseName (see Amendment 7) 2019-05-27 17:07:02 +02:00
Stefan Profanter 6fe8453249 Untabify
Used command:
`find . \( -name '*.c' -o -name '*.h' \) -not \( -path "./deps/*" -prune \) ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;`
2019-05-25 09:09:46 +02:00
Stefan Profanter 5e3ef272ad Events: Check for valid event filter
Fixes #2731
2019-05-16 10:04:16 +02:00
Stefan Profanter 8cb236af86 Stack: Only shut down mDNS if it was initialized before.
Fixes #2715
2019-05-14 15:02:50 +02:00