From 6d46e11d2d0687b5f8061993d80a180f8f65e829 Mon Sep 17 00:00:00 2001 From: Alexey Weyl Date: Wed, 11 Nov 2015 14:28:03 +0000 Subject: [PATCH] Add Entity Graph Change Notifications Spec Change-Id: I913f1ab56584da05349ab5f7d6195e02e3a1cf67 --- .../entity-graph-change-notifications.rst | 116 ++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 specs/mitaka/entity-graph-change-notifications.rst diff --git a/specs/mitaka/entity-graph-change-notifications.rst b/specs/mitaka/entity-graph-change-notifications.rst new file mode 100644 index 0000000..5e7ae27 --- /dev/null +++ b/specs/mitaka/entity-graph-change-notifications.rst @@ -0,0 +1,116 @@ +.. + This work is licensed under a Creative Commons Attribution 3.0 Unported + License. + + http://creativecommons.org/licenses/by/3.0/legalcode + +========================== +Vitrage Resource Processor +========================== + +https://blueprints.launchpad.net/vitrage/+spec/entity-graph-change-notifications + +When the Entity Graph is changed, different services would like to be informed of the change, and perform operations +accordingly. + +Problem description +=================== + +When the Entity Graph is changed, different services would like to be informed of the change, and perform operations +accordingly. Such as: +(1) When edges \ vertices are added \ removed, the Vitrage Evaluator will run the subgraph matching algorithm on the +graph to find the templates which are matching and perform required actions. +(2) When properties of existing edges \ vertices are modified, this can also impact subgraph matching outcome and thus +the Vitrage Evaluator will need to be notified. + +Proposed change +=============== + +For each CRUD operation on the Entity Graph, we will support adding listeners that can be notified, and receive updates +when each change occurs. The update must include information about each change. + +Alternatives +------------ + +None + +Data model impact +----------------- + +None + +REST API impact +--------------- + +None + +Security impact +--------------- + +None + +Pipeline impact +--------------- + +None + +Other end user impact +--------------------- + +None + +Performance/Scalability Impacts +------------------------------- + +None + + +Other deployer impact +--------------------- + +None + +Developer impact +---------------- + +None + + +Implementation +============== + +Assignee(s) +----------- + +Primary assignee: + alexey_weyl + +Work Items +---------- + +None + +Future lifecycle +================ + +None + +Dependencies +============ + +None + +Testing +======= + +None + +Documentation Impact +==================== + +None + +References +========== + +None