ptp-notification-armada-app/notificationclient-base
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
..
centos Integration work for ORAN notification 2022-09-14 11:02:43 -04:00
debian Images of ptp-notification containers for Debian 2022-07-19 15:01:27 -03:00
docker/notificationclient-sidecar [PTP] Fix logic for handling incorrect v2 subscription POST 2022-11-30 16:18:39 -05:00