aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/design.rst
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2021-10-07 09:11:48 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-10-12 12:52:44 -0400
commita43a13b39050de41fd24e11d16a3a280af088527 (patch)
treeac9ab11b8f864c435256faa5371485eea6095817 /docs/content/design.rst
parent3c8fbebbe03798d5747fc02f1eda96d7fa5f1056 (diff)
Finalize design and modeling documentation
Issue-ID: CPS-447 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I58181dd7018319c46d465c78b8299c3f316f455e
Diffstat (limited to 'docs/content/design.rst')
-rw-r--r--docs/content/design.rst36
1 files changed, 30 insertions, 6 deletions
diff --git a/docs/content/design.rst b/docs/content/design.rst
index 7a6590d..c414e6d 100644
--- a/docs/content/design.rst
+++ b/docs/content/design.rst
@@ -8,13 +8,37 @@
CPS Temporal Design
===================
-.. warning:: Draft
+Exposed APIs
+============
-* REST API
+CPS Temporal is providing a REST HTTP API to query historical CPS data.
+Its OPEN API Specification can be found either:
- * Specification
- * Postman Collection
+* In :download:`openapi.yml <../_static/openapi/swagger/openapi.yml>`
+ file
+* At ``https://<cps-temporal-host>:<cps-temporal-port>/swagger/openapi.yml``
+ endpoint available on CPS Temporal running instance
-* Event Schema
+Swagger UI is also available at:
- * Json Schema
+* ``https://<cps-temporal-host>:<cps-temporal-port>/swagger-ui.html``
+
+And following Postman collection can be used to send requests to any running
+instance:
+
+* :download:`CPS Temporal Postman Collection <../_static/postman-collections/cps-temporal-postman-collection.json>`
+
+Event Integration
+=================
+
+CPS Core and CPS Temporal are integrated with an event driven architecture.
+Integration between these two components is event notification based.
+
+For each data modification handled by CPS Core,
+
+* CPS Core is publishing, to a dedicated Kafka topic, an event representing
+ the data configuration or state.
+* CPS Temporal is listening to the same topic for the event and is responsible
+ to keep track of all data over time.
+
+Refer to :doc:`modeling` for more details on the event structure.