summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-10-11 14:00:15 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-10-11 14:00:35 +0800
commit79952978a900efcab3c4da046f40ec2e6256948f (patch)
tree089a617fb63a7ab76083e2e7c78b2688bdea06c9
parentb6d890635786bf4c1937dd69f096984de2695628 (diff)
Architecture doc for MSB
Issue-Id: MSB-80, MSB-81, MSB-82 Change-Id: Ia49c67b88e0acc642a2ebe689dd35b46ae0f2938 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r--docs/platform/architecture.rst36
1 files changed, 9 insertions, 27 deletions
diff --git a/docs/platform/architecture.rst b/docs/platform/architecture.rst
index 2fca78b..f90d8bc 100644
--- a/docs/platform/architecture.rst
+++ b/docs/platform/architecture.rst
@@ -3,30 +3,12 @@
Architecture
------------
-
-Holmes comprises three modules: the rule management module, the engine management module and the data source adapter.
-
-- Holmes
- - Rule Management Module
- - Engine Management Module
- - Data Source Adapter
-
-ONAP-level Architecture
-^^^^^^^^^^^^^^^^^^^^^^^
-
-Basically, Holmes itself is an independent component in ONAP, which means it could be deployed as an ONAP-level component. In the Amsterdam release, Holmes is more generally a DCAE analytic application. It is deployed by DCAE and run as an analytic application on top of it. Also, it could be considered as a filter of the Policy component because it reduces the number of the input messages of Policy.
-
-.. image:: images/overall-architecture-in-onap.png
-
-Holmes Architecture
-^^^^^^^^^^^^^^^^^^^
-
-Take a deep dive into Holmes, we could see it mainly consists of three modules, which are the rule management module, the engine management module and the data source adapter module respectively.
-
-The rule management module provides interfaces for the operations (e.g. creating, updating and deleting) on the rules.
-
-The data source adapter consists of subscribers and publishers, which are used to convert the data format into the one that could be digested by Holmes and vice versa.
-
-The engine management module is the core of Holmes. All the rules are deployed here. When alarms gets into Holmes, they will be pushed into the Drools engine and analyzed by the enabled rules one after another. When processing the alarms, a couple of attributes, such as the alarm name, the occurrence time of the alarm and so on, are utilized. Also, the topological information from A&AI is used in combination of the alarm attributes. After the root cause is identified, it will be converted into a control loop event and published to a specific DMaaP topic which is subscribed to by the Policy component.
-
-.. image:: images/holmes-architecture.png
+MSB(Microservices Bus) provide a comprehensive, end to end solution to support ONAP microservice architecture including service registration/discovery, external gateway, internal gateway, client SDK. It's a pluggable architecture so it can integrate with auth service provider to provide centralized Authentication & Authorization. MSB also provides a service portal to manage the REST APIs.
+MSB itself doesn’t depend on a specific environment. It can work in any bare metal, virtual machine or containerized environment.
+MSB mainly comprises three parts: Discovery, API Gateway and MSB Client SDK. MSB also provide a swagger SDK which could generate swagger REST service description files.
+
+.. image:: images/msb-architecture.png
+Registry is the storage of service information, MSB leverage Consul as the service registry.
+MSB Discovery provides REST APIs for service discovery and registration.
+Service Gateway provides service request routing, load balancing and centralized Auth. It can be deployed as external Gateway or Internal Gateway.
+MSB SDK is a client-side Java SDK which can be used for point to point communication of microservices. \ No newline at end of file