Andre Mauricio Zelak 1ac45c8f43 Add support to '/sync' aka sync all subscription
When adding a new subscription check for an existing matching one,
considering the source uri hierachy. Deny a new individual
if there is already a sync all subscription, and deny
a new sync all if there is already an invidual one.

After a new sync all subscription is created a set of event messages
are sent to the client containing the initial state of each source
down in the hierarchy. And, every time one of the source states changes
a new message is sent.

Test Plan:
PASS: Build the container images
PASS: Mannually deploy them and test with v2 client
PASS: Create a '/././sync' subscription and check the event messages
PASS: Check current subscription list
PASS: Change GNSS sync state and check the event messages
PASS: Attempt to create a new individual subscription and
      check it fails
PASS: Delete the '/././sync' subscription
PASS: Check current subscription list again

Closes-bug: 2009188

Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
Change-Id: I90b642e73f30fb1798f4a93ab5313411c177949c
2023-03-10 17:29:05 -03:00
2022-05-31 14:33:17 +00:00
2021-03-11 13:11:54 -05:00
2021-01-19 18:53:24 +00:00
2023-02-20 11:31:18 -03:00
2023-02-20 11:31:18 -03:00
2022-12-27 01:24:14 +00:00
Description
StarlingX PTP Notification App
4.5 MiB
Languages
Python 97.2%
Makefile 1.1%
Dockerfile 0.5%
Shell 0.4%
Smarty 0.3%
Other 0.4%