From c29aeccbf6d7d7810915d12d85766571efacfc37 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:27:38 +0200 Subject: [PATCH] Update event-subscription-template.yaml Add SUBSCRIPTION_UNPROCESSABLE in terminationReason enum for subscription ends event. Solve https://github.com/camaraproject/Commonalities/issues/243 --- artifacts/camara-cloudevents/event-subscription-template.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artifacts/camara-cloudevents/event-subscription-template.yaml b/artifacts/camara-cloudevents/event-subscription-template.yaml index e28f39e8..a040a5a3 100644 --- a/artifacts/camara-cloudevents/event-subscription-template.yaml +++ b/artifacts/camara-cloudevents/event-subscription-template.yaml @@ -634,13 +634,14 @@ components: - MAX_EVENTS_REACHED - Maximum number of events (optionally set by the requester) has been reached - ACCESS_TOKEN_EXPIRED - Access Token sinkCredential (optionally set by the requester) expiration time has been reached - SUBSCRIPTION_DELETED - Subscription was deleted by the requester + - SUBSCRIPTION_UNPROCESSABLE - Subscription cannot be processed due to some reason, e.g. because the specified area cannot be managed. Useful for asynchronous subscription creation. enum: - MAX_EVENTS_REACHED - NETWORK_TERMINATED - SUBSCRIPTION_EXPIRED - ACCESS_TOKEN_EXPIRED - SUBSCRIPTION_DELETED - + - SUBSCRIPTION_UNPROCESSABLE HTTPSubscriptionRequest: allOf: - $ref: "#/components/schemas/SubscriptionRequest"