Include module diagram 49/6149/6
authorClaudio D. Gasparini <claudio.gasparini@intl.att.com>
Wed, 26 May 2021 16:45:09 +0000 (18:45 +0200)
committerClaudio D. Gasparini <claudio.gasparini@intl.att.com>
Thu, 27 May 2021 06:35:15 +0000 (08:35 +0200)
Issue-ID: OAM-208
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: I5853e649c3a641ec34acbc9e6286fb4689530707

docs/developer-guide.rst
docs/index.rst
docs/overview.rst
docs/pm/index.rst
docs/snmp/index.rst
docs/structureDiagram.png [new file with mode: 0644]
docs/user-guide.rst
ves-nf-oam-adopter/ves-nf-oam-adopter-artifacts/pom.xml

index 8207a84..1495df2 100644 (file)
@@ -2,10 +2,26 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
 
+===============
 Developer Guide
 ===============
 
+.. image:: nf-oam-adopter-diagram.png
+  :alt: Diagram
+
 Architecture design of FM / PM Adopter
+--------------------------------------
 
-.. image:: nf-oam-adopter-diagram.png
+Adapter has been design to provided common libraries that can be reused to generate application as per vendor needs.
+
+**Modules**
+
+- **o-ran-ves-adapter-api** module provides generated POJOS from VES 7.1 json Schema, together with VesEventNotifier interface.
+- **o-ran-ves-adapter-event-notifier**  module provides VesEventNotifier service implementation, responsible of forward VES events to the VES Collector via REST.
+- **o-ran-ves-adapter-pm-manager** module is responsible of read and translate CSV PM files from devices end point, translate it to VES event formant, and forward it to VesEventNotifier.
+- **o-ran-ves-adapter-snmp-manager** module is responsible of listend for SNMP traps on UDP port (Default 162), translate it to VES event formant, and forward it to VesEventNotifier.
+- **o-ran-ves-adapter-app** module contains the application, is responsible to assemble the whole set of libraries.
+- **ves-nf-oam-adopter-pm-sb-rest-client** module contains mock vendor specific PM REST Client implementation (ves-nf-oam-adopter-mock app).
+
+.. image:: structureDiagram.png
   :alt: Diagram
\ No newline at end of file
index 49d12eb..ede0d7f 100644 (file)
@@ -9,7 +9,7 @@ NF OAM Adopter
 ==============
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :caption: Contents:
 
    overview.rst
index 08c9b4c..02e8747 100644 (file)
@@ -2,8 +2,8 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
 
-NF OAM Adopter Overview
-=======================
+Overview
+========
 
 NF OAM Adopter provides FM and PM VES event notification capabilities.
 
index f47ad48..433aaa9 100644 (file)
@@ -2,20 +2,16 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
 
+===============
 PM REST Manager
-###############
+===============
 
 PM REST Manager library follows `VES Event Listener 7.1 <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves7_1spec.html#>`_
 
-.. toctree::
-   :maxdepth: 3
-   :caption: Contents:
-
 PM VES Message
-==============
+--------------
 
-Datatype: commonEventHeader
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Datatype: commonEventHeader**
 
 .. list-table::
    :header-rows: 1
@@ -142,8 +138,7 @@ Datatype: commonEventHeader
      - none
 
 
-Datatype: measurementFields
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Datatype: measurementFields**
 
 .. list-table::
    :header-rows: 1
@@ -180,10 +175,9 @@ Datatype: measurementFields
      - none
 
 REST PM Configuration
-=====================
+---------------------
 
-Rest Adapter configuration
-~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Rest Adapter configuration**
 
 Configuration file **application.yml** contains global definitions required to be consumed by PM REST adapters services.
 
@@ -192,8 +186,7 @@ Configuration file **application.yml** contains global definitions required to b
 - **synchronization-time-frequency** Defines the time for execution of pull of PM files and forwarding as VES Message
 - **mapping-config-path** Defines the path where mapping configuration file is located
 
-Rest SB Client Adapter configuration
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Rest SB Client Adapter configuration**
 
 - **ran-token-endpoint** Defines rand endpoint from where token will be obtained
 - **ran-pm-endpoint:** Defines rand endpoint from where ZIP with PM files will be GET.
@@ -203,7 +196,7 @@ Rest SB Client Adapter configuration
   :language: YAML
 
 Mapping Configuration
-~~~~~~~~~~~~~~~~~~~~~
+---------------------
 
 Configuration file **pm-ves-message-mapping.yaml** contains all definitions required to define the mapping
 from ZIP file with collection of csv files information to VES Message format
@@ -232,20 +225,18 @@ from ZIP file with collection of csv files information to VES Message format
   :language: YAML
 
 PM Adapter Configuration
-========================
+------------------------
 
 PM Adapters can be instantiated at runtime
 
-Create a PM Adapter
-~~~~~~~~~~~~~~~~~~~
+**Create a PM Adapter**
 
 **POST** ``https://<SERVICE_IP>:<SERVICE_PORT>/adapters/adapter``
 
 .. literalinclude:: create-adapter.json
   :language: JSON
 
-Get PM Adapters
-~~~~~~~~~~~~~~~
+**Get PM Adapters**
 
 **GET** ``https://<SERVICE_IP>:<SERVICE_PORT>/adapters/``
 
@@ -253,7 +244,6 @@ Get PM Adapters
   :language: JSON
 
 
-Delete PM Adapter
-~~~~~~~~~~~~~~~~~
+**Delete PM Adapter**
 
 **DELETE** ``https://<SERVICE_IP>:<SERVICE_PORT>/adapters/adapter/10.53.40.50``
index 5dbe202..03c4d29 100644 (file)
@@ -2,20 +2,16 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
 
+================
 SNMP2VES Manager
-################
+================
 
 SNMP Manager library follows `VES Event Listener 7.1 <https://docs.onap.org/projects/onap-vnfrqts-requirements/en/latest/Chapter8/ves7_1spec.html#>`_
 
-.. toctree::
-   :maxdepth: 3
-   :caption: Contents:
-
 FM VES Message
 --------------
 
-Datatype: commonEventHeader
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Datatype: commonEventHeader**
 
 .. list-table::
    :header-rows: 1
@@ -141,8 +137,7 @@ Datatype: commonEventHeader
      - no
      - none
 
-Datatype: faultFields
-~~~~~~~~~~~~~~~~~~~~~
+**Datatype: faultFields**
 
 .. list-table::
    :header-rows: 1
diff --git a/docs/structureDiagram.png b/docs/structureDiagram.png
new file mode 100644 (file)
index 0000000..6284861
Binary files /dev/null and b/docs/structureDiagram.png differ
index 4380a54..da359bf 100644 (file)
@@ -2,11 +2,11 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
 
-NF OAM Adopter User Guide
-=========================
+User Guide
+==========
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :caption: Contents:
 
    ./snmp/index.rst
index 7269b55..45a17d8 100644 (file)
                 <artifactId>ves-nf-oam-adopter-pm-sb-rest-client</artifactId>
                 <version>${project.version}</version>
             </dependency>
+            <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>ves-nf-oam-adopter-app</artifactId>
+                <version>${project.version}</version>
+            </dependency>
         </dependencies>
     </dependencyManagement>
 </project>
\ No newline at end of file