StarlingX PTP Notification App
Go to file
Cole Walker bbeef95744 Rework notification messages to remove instance tags
Rework the pull status and subscription notification to remove the top
level instance tags that were returned with the notification. These tags
were originally introduced to identify which PTP instance a given
notification was associated with. Updates to the ORAN standard have
clarified that the instance identification should instead be included in
the Resource Address field.

This commit includes the following changes:
- Update notification format to place instance identifier in Resource
  Address instead of a top level tag (default behaviour)
- Provide a helm override to enable legacy notification format with top
  level instance tags for compatibility. This can be enabled by setting
  the override "notification_format=legacy"
- Ensure GM clockClass is correctly reported for both BC and GM configs
- Changes result in new images for notificationclient-base and
  notificationservice-base-v2
- Pull status notifications are now delivered as a list of dicts when
  there are multiple instances in a request. The "overall sync status"
  message is delivered as a dict because it only ever has a single
  notification
- Push notifications are delivered as individual dicts for each
  notification, this behaviour remains the same

Test plan:
Pass: Verify ptp-notification builds and deploys
Pass: Verify container image builds
Pass: Verify ptp-notification operations (pull status, subscribe, list,
delete)
Pass: Verify standard and legacy format output for each notification
type

Partial-bug: 2089035

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: Ied6674a02b41ed31079a291fc9bace74d95d467a
2024-11-20 09:15:35 -05:00
api-ref/source Use all-caps state in O-RAN timing notification 2023-02-10 14:55:46 -03:00
doc Fix tox-docs failing sphinx 2022-05-31 14:33:17 +00:00
helm-charts/custom/ptp-notification-helm Rework notification messages to remove instance tags 2024-11-20 09:15:35 -05:00
locationservice-base Add support for httpGet liveness probes 2024-04-16 11:07:15 -04:00
notificationclient-base Rework notification messages to remove instance tags 2024-11-20 09:15:35 -05:00
notificationservice-base Handle incomplete pmc results 2024-09-20 12:26:05 -04:00
notificationservice-base-v2 Rework notification messages to remove instance tags 2024-11-20 09:15:35 -05:00
python3-k8sapp-ptp-notification Rename app plugin to conform with app framework requirements 2024-05-27 14:27:08 -04:00
stx-ptp-notification-helm Update helm/fluxcd api version. 2024-06-26 17:43:53 -03:00
.gitignore Add support for httpGet liveness probes 2024-04-16 11:07:15 -04:00
.gitreview Added .gitreview 2021-01-19 18:53:24 +00:00
.zuul.yaml Add minimum Kubernetes version supported 2024-02-05 16:45:14 -03:00
bindep.txt Update app Zuul Check Jobs. 2023-12-20 06:36:14 -06:00
CONTRIBUTING.rst Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:12:32 -04:00
debian_iso_image.inc ptp-notification-armada-app: update debian_iso_image.inc 2022-11-23 11:24:11 +08:00
debian_pkg_dirs Auto-increment chart versions 2024-03-05 13:46:22 -07:00
debian_stable_docker_images.inc Build Debian container image for notificationservice-base-v1-api 2023-01-30 15:05:15 +00:00
HACKING.rst Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
requirements.txt [PTP] Reduce cpu usage and correct holdover time 2022-10-06 19:27:04 +00:00
test-requirements.txt Update app Zuul Check Jobs. 2023-12-20 06:36:14 -06:00
tox.ini Update app Zuul Check Jobs. 2023-12-20 06:36:14 -06:00