StarlingX PTP Notification App
Go to file
Cole Walker 6a2e65d412 [PTP] Fix logic for handling incorrect v2 subscription POST
Fixed an issue where attempting to GET a subscription by ID was
failing. DELETE by subscription ID was also failing.
The logic to return 404 on an incorrect v2 subscription POST was
breaking the ability to get subscriptions by ID. Added a dedicated
method to handle the incorrect POST and returned the subscription GET
logic to the original form.

Test plan:
PASS: Build and deploy notification-client base
PASS: Test v1 and v2 pull status, subscribe, get subscription, delete
PASS: Invalid POST to v2 subscription endpoint returns 404

Closes-bug: 1998394

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I3c67af481d86966fcb78270c34ad9f6e6468c63c
2022-11-30 16:18:39 -05:00
api-ref/source Update REST API doc for PTP notification v2 2022-09-13 11:09:36 -04:00
doc Fix tox-docs failing sphinx 2022-05-31 14:33:17 +00:00
locationservice-base Fix bad path for PTP configuration files 2022-10-28 11:10:45 -03:00
notificationclient-base [PTP] Fix logic for handling incorrect v2 subscription POST 2022-11-30 16:18:39 -05:00
notificationservice-base Fix unhandled exception when querying ptp status 2022-11-25 16:25:08 -05:00
python-k8sapp-ptp-notification Fix zuul failures during setup 2022-10-28 20:15:14 +00:00
stx-ptp-notification-helm Update image tags for Debian base images 2022-11-21 14:13:16 -05:00
.gitignore api-ref html builds 2021-03-11 13:11:54 -05:00
.gitreview Added .gitreview 2021-01-19 18:53:24 +00:00
.zuul.yaml Fix zuul failures during setup 2022-10-28 20:15:14 +00:00
centos_build_layer.cfg Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
centos_iso_image.inc Remove ptp-notification armada application build 2022-08-24 11:43:45 -03:00
centos_pkg_dirs Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
centos_pkg_dirs_containers Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
centos_stable_docker_images.inc Add Notification Services and Notification Client Sidecar 2021-02-01 11:10:51 +08: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 Add Debian packaging for ptp-notification app 2021-12-02 12:06:28 -06:00
debian_stable_docker_images.inc Images of ptp-notification containers for Debian 2022-07-19 15:01:27 -03: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 Add CguHandler, DmesgWatcher, GnssMonitor classes 2022-06-23 17:08:37 -04:00
tox.ini Images of ptp-notification containers for Debian 2022-07-19 15:01:27 -03:00