From 571bb737011342b3ef0cd35931e8a3a3616069aa Mon Sep 17 00:00:00 2001 From: Aaron Coburn Date: Thu, 20 Jan 2022 17:49:57 -0500 Subject: [PATCH] Add remaining use cases --- notifications-ucr.html | 74 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/notifications-ucr.html b/notifications-ucr.html index ca6fb3d..7e2662f 100644 --- a/notifications-ucr.html +++ b/notifications-ucr.html @@ -442,6 +442,7 @@

Immediate Notification of Data Changes

Create Events
Update Events
Delete Events
+
Authorization
@@ -462,6 +463,7 @@

Frequency of Notifications

Update Events
Delete Events
Event Filtering
+
Authorization
@@ -480,6 +482,44 @@

Filtered Notifications

Update Events
Delete Events
Event Filtering
+
Authorization
+ + + + +
+

Time-bound Subscriptions

+
+

+ Occasionally, a client only needs a subscription to be in effect for a limited + period of time. While a client may easily close a WebSocket itself, subscriptions + for other, more asynchronous forms of notifications, such as LDN alerts or WebHook + operations, may be more difficult to terminate. +

+
+
Requirements
+
Create Events
+
Update Events
+
Delete Events
+
Authorization
+
+
+
+ +
+

Lost Update Notifications

+
+

+ For WebSockets and subscriptions that rely on an active, live connection to + a notification server, the subscription channel needs to make sure that clients + do not miss notifications in the event of a dropped connection. +

+
+
Requirements
+
Create Events
+
Update Events
+
Delete Events
+
Authorization
@@ -520,7 +560,7 @@

Requirements

Use Case - Functional Requirements + Functional Requirements Non-Functional Requirements @@ -528,7 +568,8 @@

Requirements

F2 F3 F4 - F5 + F5 + F6 NF1 @@ -539,6 +580,7 @@

Requirements

✔ ✔ ⌙ + ✔ ⌙ ⌙ @@ -548,6 +590,7 @@

Requirements

✔ ✔ ✔ + ✔ ⌙ ⌙ @@ -557,6 +600,27 @@

Requirements

✔ ✔ ✔ + ✔ + ⌙ + ⌙ + + + Time-Bound Subscriptions + ✔ + ✔ + ✔ + ⌙ + ✔ + ⌙ + ⌙ + + + Lost Update Notifications + ✔ + ✔ + ✔ + ⌙ + ✔ ⌙ ⌙ @@ -566,6 +630,7 @@

Requirements

⌙ ⌙ ⌙ + ⌙ ✔ ⌙ @@ -592,6 +657,7 @@

Functional Requirements

+ @@ -604,7 +670,9 @@

Functional Requirements

A subscribed entity is alerted when an existing resource is deleted.
F4. Event Filtering
A subscribed entity can request a subset of all notifications.
-
F5. Capability Discovery
+
F5. Authorization
+
Authorization is enforced on all subscriptions.
+
F6. Capability Discovery
A client is able to discover the notification capabilities of a Solid Storage.