From 5502a08830020b981f767fc539a8921f4fbfc3d1 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Wed, 20 Dec 2017 17:29:35 +0100 Subject: agl-service-unicens: Rx message event Bug-AGL: SPEC-1177 Implements /subscriberx function. Control Rx messages will be notified to subscribers. If no subscriber is assigned, then Rx messages are discarded. This avoids Rx stuck issues after receiving multiple messages. Change-Id: Idb71569b8ff6f651833d7d01c37a3eea866daf1d Signed-off-by: Tobias Jahnke --- ucs2-afb/ucs_apidef.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'ucs2-afb/ucs_apidef.json') diff --git a/ucs2-afb/ucs_apidef.json b/ucs2-afb/ucs_apidef.json index a150fb8..954e275 100644 --- a/ucs2-afb/ucs_apidef.json +++ b/ucs2-afb/ucs_apidef.json @@ -142,7 +142,18 @@ } }, "/subscribe": { - "description": "Subscribe to UNICENS Events.", + "description": "Subscribe to network events.", + "get": { + "x-permissions": { + "$ref": "#/components/x-permissions/monitor" + }, + "responses": { + "200": {"$ref": "#/components/responses/200"} + } + } + }, + "/subscriberx": { + "description": "Subscribe to Rx control message events.", "get": { "x-permissions": { "$ref": "#/components/x-permissions/monitor" -- cgit 1.2.3-korg