1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
Commit graph

6284 commits

Author SHA1 Message Date
Philipp Jungkamp
61d5133a40 node-loopback: Fix missing Node::parse call
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 18:07:32 +02:00
Philipp Jungkamp
82bf4df50c node-webrtc: move peer member initialization to initializer list
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 14:06:48 +02:00
Steffen Vogel
352c5996db Fix buffer overflow in UUID handling
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 13:26:26 +02:00
Steffen Vogel
7c32617ead Remove unused includes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 12:59:02 +02:00
Steffen Vogel
50b02df5fd webrtc: Remove unused overload
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 11:53:29 +02:00
Steffen Vogel
82ea02884d webrtc: Show provide status about the RTCPeerConnection via the REST API
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 11:53:29 +02:00
Philipp Jungkamp
7ad3dff578 Remove obsolete uuid_t parameter from villas-signal
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 11:45:38 +02:00
Philipp Jungkamp
f73efabd18 Adapt fpga node to changed uuid passing
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-30 11:30:05 +02:00
Steffen Vogel
cf5ef3927c Remove more left-overs from Go node-type
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:55:48 +02:00
Steffen Vogel
4d43b72d78 webrtc: Use UUID name as signaling peer by default
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:51:40 +02:00
Steffen Vogel
7749a3a922 No not pass super-node UUID to Node::parse() any longer
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:51:01 +02:00
Steffen Vogel
d57a5d3306 Refactor parameter name for parse() from cfg to json
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-30 10:48:43 +02:00
Steffen Vogel
e20bd664d9 Harmonize libjansson format strings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Steffen Vogel
f409e05c35 Refactor naming of json_t variables
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:49 +02:00
Steffen Vogel
31eabd7b9d webrtc: Refactor {to,from}JSON() to {to,from}Json()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 08:15:05 +02:00
Steffen Vogel
294af6aaca webrtc: Send signaling list
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
20dc83bee4 webrtc: Add peer option
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 07:56:43 +02:00
Steffen Vogel
94636e8b09 webrtc: Renamed signaling connection to peer
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-29 05:48:02 +00:00
Steffen Vogel
0445d671dc
Merge pull request #677 from VILLASframework/packaging-nix
Disable warning as error for normal release builds
2023-06-23 19:17:37 +02:00
Steffen Vogel
da0a73c39b
Merge pull request #680 from VILLASframework/fix-leaks
Fix memory and synchronization issues
2023-06-23 19:16:13 +02:00
Philipp Jungkamp
3baf5a410f queue: Fix incorrect signalling on queue push
Pushing zero values to a CQueueSignalled should't wake the
synchronization mechanism.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 14:04:06 +02:00
Philipp Jungkamp
f1c7e0f2a8 path: Fix leaking samples
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 13:02:55 +02:00
Philipp Jungkamp
b9c8ffce5b node-iec60870: ignore -Wmaybe-uninitialized false positive
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 12:00:08 +02:00
Philipp Jungkamp
4224f72ecb cmake: disable warning as error on default release builds
A new warning introduced by the compiler on a target system should not
break the build on that target.
You can override that behaviour using VILLAS_COMPILE_WARNING_AS_ERROR.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:53:01 +02:00
Philipp Jungkamp
cd5a99df67 packaging-nix: fix cross-compilation
Update nixpkgs for upstream libre cross compilation fix.
Use minimal systemd dependency for mosquitto and rdma-core.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:53:01 +02:00
Philipp Jungkamp
4c662ff56a packaging-nix: Add criterion to devShells to allow building unit-tests
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:51:55 +02:00
Philipp Jungkamp
0cb4ac79d5 unit-tests: intialize global test params at runtime
Move the intialization of the paramters to runtime by converting the
static array to a vector and filling it when critirion calls the test
setup.

Global variable initialization order across translation units is not
defined.
Referring to e.g. the memory::mmap global variable in the initialization
of the static unit test parameter set may leave an incorrect address in
the struct param.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-23 11:33:34 +02:00
Steffen Vogel
f77231f2a7
Merge pull request #676 from VILLASframework/fix-ci-cmake
ci: Use uniform cmake invocation
2023-06-21 16:35:52 +02:00
Steffen Vogel
d294e8fff3
Merge pull request #675 from VILLASframework/fix-webrtc
Fix webrtc
2023-06-21 16:33:18 +02:00
Steffen Vogel
3d6e5204ff
Merge pull request #674 from VILLASframework/fix-amqp
node-amqp: Handle moved include dir of rabbitmq-c
2023-06-21 16:32:23 +02:00
Steffen Vogel
ad6de61766
Merge pull request #673 from VILLASframework/build-vscode-devcontainer-image
ci: Build and push VSCode devcontainer image in CI
2023-06-21 16:31:18 +02:00
Philipp Jungkamp
99bad50d6b ci: Use uniform cmake invocation
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 16:09:31 +02:00
Philipp Jungkamp
7f514cb935 node-webrtc: initialize all members of PeerConnection
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:39:48 +02:00
Philipp Jungkamp
6985d92f6f node-amqp: Handle moved include dir of rabbitmq-c
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:36:10 +02:00
Philipp Jungkamp
87488fc167 webrtc: Change wss:// to https://
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:16:12 +02:00
Philipp Jungkamp
498b8aebdf node-webrtc: Fix logging
- Move send log before lws_write because it clobbers the buffer.
- Add raw receive log.
- Check json_dumpb return value.

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 15:16:12 +02:00
Steffen Vogel
c687396a28
Merge pull request #669 from VILLASframework/devcontainer-updates
Update devcontainer config
2023-06-21 12:44:12 +02:00
Steffen Vogel
c5c5c54a28 ci: Build and push VSCode devcontainer image in CI
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 12:43:45 +02:00
Steffen Vogel
bddff1aee7
Merge pull request #672 from VILLASframework/ci-release-builds
ci: Enable release builds in CI
2023-06-21 12:33:31 +02:00
Steffen Vogel
bc48e0928e ci: Enable release builds in CI
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 10:23:51 +00:00
Steffen Vogel
2bcd1d9a46
Merge pull request #666 from VILLASframework/fixes-steffen
Pending fixes from Steffen
2023-06-21 12:10:16 +02:00
Philipp Jungkamp
9d28079d24 node-redis: Work around breaking change in redis-plus-plus
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
398497300d cmake: update package description
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
a37b64111f fpga: call base-class function for NodeFactory::start()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
b81e4d9b74 remove obsolete rmshm and rmsem tools
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
09c1e01f6f fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
0aafb47dd2 redis: fix compiler warnings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
ea1f8c3d51 iec60870: fix compiler warning
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
a709a8a0fb iec60870: fix coding style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00
Steffen Vogel
88fb57df8e web: disable libwebsocket server status as it has been removed from upstream lib
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-06-21 11:48:04 +02:00