Documentation of RAN PM 09/11109/2
authorPatrikBuhr <patrik.buhr@est.tech>
Tue, 16 May 2023 08:54:58 +0000 (10:54 +0200)
committerPatrikBuhr <patrik.buhr@est.tech>
Tue, 16 May 2023 12:21:35 +0000 (14:21 +0200)
Renamed kafka-pm-producer to pm-file-converter

Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Issue-ID: NONRTRIC-868
Change-Id: Ib0af622e34d389dfe24667a08b4cec5e9e887b1c

24 files changed:
.readthedocs.yaml
docs/conf.py
docs/overview.rst
pm-file-converter/.gitignore [moved from kafka-pm-producer/.gitignore with 100% similarity]
pm-file-converter/Dockerfile [moved from kafka-pm-producer/Dockerfile with 100% similarity]
pm-file-converter/README.md [moved from kafka-pm-producer/README.md with 100% similarity]
pm-file-converter/application_configuration.json [moved from kafka-pm-producer/application_configuration.json with 100% similarity]
pm-file-converter/build.sh [moved from kafka-pm-producer/build.sh with 100% similarity]
pm-file-converter/container.yaml [moved from kafka-pm-producer/container.yaml with 100% similarity]
pm-file-converter/docs/Architecture.png [moved from kafka-pm-producer/docs/Architecture.png with 100% similarity]
pm-file-converter/docs/Pictures.pptx [moved from kafka-pm-producer/docs/Pictures.pptx with 100% similarity]
pm-file-converter/docs/_static/logo.png [moved from kafka-pm-producer/docs/_static/logo.png with 100% similarity]
pm-file-converter/docs/conf.py [moved from kafka-pm-producer/docs/conf.py with 100% similarity]
pm-file-converter/docs/conf.yaml [moved from kafka-pm-producer/docs/conf.yaml with 100% similarity]
pm-file-converter/docs/favicon.ico [moved from kafka-pm-producer/docs/favicon.ico with 100% similarity]
pm-file-converter/docs/index.rst [moved from kafka-pm-producer/docs/index.rst with 89% similarity]
pm-file-converter/docs/overview.rst [moved from kafka-pm-producer/docs/overview.rst with 98% similarity]
pm-file-converter/docs/requirements-docs.txt [moved from kafka-pm-producer/docs/requirements-docs.txt with 100% similarity]
pm-file-converter/gen-cert.sh [moved from kafka-pm-producer/gen-cert.sh with 100% similarity]
pm-file-converter/go.mod [moved from kafka-pm-producer/go.mod with 100% similarity]
pm-file-converter/go.sum [moved from kafka-pm-producer/go.sum with 100% similarity]
pm-file-converter/main.go [moved from kafka-pm-producer/main.go with 100% similarity]
pm-file-converter/tox.ini [moved from kafka-pm-producer/tox.ini with 100% similarity]
tox.ini

index ab5d752..6fcc5c8 100644 (file)
@@ -31,13 +31,22 @@ build:
     python: "3.7"
   jobs:
     pre_build:
-    - mkdir --parents _readthedocs/html/
-    - mkdir --parents _readthedocs/tmp/doctrees
-    - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees  ./docs/ _readthedocs/html/
-    - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees/datafilecollector  ./datafilecollector/docs/ _readthedocs/html/datafilecollector
-    - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees/influxlogger  ./influxlogger/docs/ _readthedocs/html/influxlogger
-    - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees/pmproducer  ./pmproducer/docs/ _readthedocs/html/pmproducer
-    - sphinx-build -W -b html --keep-going -n -d _readthedocs/tmp/doctrees/kafka-pm-producer  ./kafka-pm-producer/docs/ _readthedocs/html/kafka-pm-producer
+      - mkdir --parents _readthedocs/html/
+      - mkdir --parents _readthedocs/tmp/doctrees
+      - sphinx-build -W -b html --keep-going -n -d
+        _readthedocs/tmp/doctrees  ./docs/ _readthedocs/html/
+      - sphinx-build -W -b html --keep-going -n -d
+        _readthedocs/tmp/doctrees/datafilecollector  ./datafilecollector/docs/
+        _readthedocs/html/datafilecollector
+      - sphinx-build -W -b html --keep-going -n -d
+        _readthedocs/tmp/doctrees/influxlogger  ./influxlogger/docs/
+        _readthedocs/html/influxlogger
+      - sphinx-build -W -b html --keep-going -n -d
+        _readthedocs/tmp/doctrees/pmproducer  ./pmproducer/docs/
+        _readthedocs/html/pmproducer
+      - sphinx-build -W -b html --keep-going -n -d
+        _readthedocs/tmp/doctrees/pm-file-converter  ./pm-file-converter/docs/
+        _readthedocs/html/pm-file-converter
 
 python:
   install:
@@ -45,7 +54,7 @@ python:
     - requirements: datafilecollector/docs/requirements-docs.txt
     - requirements: influxlogger/docs/requirements-docs.txt
     - requirements: pmproducer/docs/requirements-docs.txt
-    - requirements: kafka-pm-producer/docs/requirements-docs.txt
+    - requirements: pm-file-converter/docs/requirements-docs.txt
 
 sphinx:
   configuration: docs/conf.py
index 8f9044f..ff87b2b 100644 (file)
@@ -42,6 +42,6 @@ intersphinx_mapping['nonrtric'] = ('%s/o-ran-sc-nonrtric/en/%s' %(baseurl, branc
 intersphinx_mapping['influxlogger'] = ('%s/influxlogger' % selfurl, None)
 intersphinx_mapping['datafilecollector'] = ('%s/datafilecollector' % selfurl, None)
 intersphinx_mapping['pmproducer'] = ('%s/pmproducer' % selfurl, None)
-intersphinx_mapping['kafka-pm-producer'] = ('%s/kafka-pm-producer' % selfurl, None)
+intersphinx_mapping['pm-file-converter'] = ('%s/pm-file-converter' % selfurl, None)
 
 intersphinx_disabled_reftypes = ["*"]
index a107728..f6ea5ce 100644 (file)
@@ -26,7 +26,7 @@ Components
 The picture illustrates the components involved.
 
 * The PM Data File Collector fetches the XML files from the RAN.
-* The PM Data Converter converts these to a Json format. The structure and the contents
+* The PM File Converter converts these to a Json format. The structure and the contents
   is the same as the XML format.
 * The PM Producer handles filtering and distribution of PM data to subscribers. These subscribers can be rApps.
 * The Influx Logger stores selected PM mesurements into a time series database.
@@ -44,7 +44,7 @@ The third party products used are:
 For more detailed documentation of the components:
 
 * :doc:`Non-RT RIC - RAN PM - PM Data File Collector (Documentation site) <datafilecollector:index>`.
-* :doc:`Non-RT RIC - RAN PM - PM Data Data Converter (Documentation site) <kafka-pm-producer:index>`.
+* :doc:`Non-RT RIC - RAN PM - PM File Converter (Documentation site) <pm-file-converter:index>`.
 * :doc:`Non-RT RIC - RAN PM - PM Producer (Documentation site) <pmproducer:index>`.
 * :doc:`Non-RT RIC - RAN PM - Influx Logger (Documentation site) <influxlogger:index>`.
 * `Non-RT RIC - Information Coordinator Service (Documentation site) <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-informationcoordinatorservice/en/latest/>`_.
@@ -65,7 +65,7 @@ The figure below gives an overview of the data flow through the components.
 2. The VES event is put on a Kafka topic and picked up by the Data File Collector.
 3. A PM report file is fetched from the RAN node by a file transfer protocol. Which protocol to use is defined in the VES event.
 4. The collected file is stored
-5. A File collected object is put on a Kafka topic and is picked up by the PM Data Converter.
+5. A File collected object is put on a Kafka topic and is picked up by the PM File Converter.
 6. The file data is read from the file store.
 7. A PM report in json format is stored (compressed with gzip).
 8. A message (a Json object) indicating that a new PM report (in Json format) is available is put on a Kafka topic and is picked up by the PM Data Producer.
@@ -108,4 +108,4 @@ An application retrieving logged PM data from the Influx database needs to consi
 defined in :doc:`Non-RT RIC - RAN PM - Influx Logger (Documentation site) <influxlogger:index>`.
 
 .. image:: ./DesignTimeDependencies.png
-   :width: 500pt
\ No newline at end of file
+   :width: 500pt
similarity index 89%
rename from kafka-pm-producer/docs/index.rst
rename to pm-file-converter/docs/index.rst
index ac5b863..dde56a8 100644 (file)
@@ -2,7 +2,7 @@
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2023 Nordix
 
-Non-RT RIC PM Data Converter
+Non-RT RIC PM File Converter
 ============================
 
 .. toctree::
@@ -10,4 +10,4 @@ Non-RT RIC PM Data Converter
    :caption: Contents:
 
    ./overview.rst
+
similarity index 98%
rename from kafka-pm-producer/docs/overview.rst
rename to pm-file-converter/docs/overview.rst
index 906881a..438cdf1 100644 (file)
@@ -3,7 +3,7 @@
 .. Copyright (C) 2023 Nordix
 
 
-PM Data Converter
+PM File Converter
 ~~~~~~~~~~~~~~~~~
 
 
@@ -11,7 +11,7 @@ PM Data Converter
 Overview
 ********
 
-The task of the PM Data Converter is to convert PM Measurement report files,
+The task of the PM File Converter is to convert PM Measurement report files,
 (XML formatted according to 3GPP TS 32.432 and 3GPP TS 32.435) into Json.
 
 The component receives objects from kafka that indicates that new PM Report files
diff --git a/tox.ini b/tox.ini
index e014a22..e26163d 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -29,13 +29,13 @@ deps =
     -r{toxinidir}/datafilecollector/docs/requirements-docs.txt
     -r{toxinidir}/influxlogger/docs/requirements-docs.txt
     -r{toxinidir}/pmproducer/docs/requirements-docs.txt
-    -r{toxinidir}/kafka-pm-producer/docs/requirements-docs.txt
+    -r{toxinidir}/pm-file-converter/docs/requirements-docs.txt
 
 commands =
     sphinx-build -W -b html --keep-going -n -d {envtmpdir}/datafilecollector/doctrees ./datafilecollector/docs/ {toxinidir}/docs/_build/html/datafilecollector
     sphinx-build -W -b html --keep-going -n -d {envtmpdir}/influxlogger/doctrees ./influxlogger/docs/ {toxinidir}/docs/_build/html/influxlogger
     sphinx-build -W -b html --keep-going -n -d {envtmpdir}/pmproducer/doctrees ./pmproducer/docs/ {toxinidir}/docs/_build/html/pmproducer
-    sphinx-build -W -b html --keep-going -n -d {envtmpdir}/kafka-pm-producer/doctrees ./kafka-pm-producer/docs/ {toxinidir}/docs/_build/html/kafka-pm-producer
+    sphinx-build -W -b html --keep-going -n -d {envtmpdir}/pm-file-converter/doctrees ./pm-file-converter/docs/ {toxinidir}/docs/_build/html/pm-file-converter
     sphinx-build -W -b html --keep-going -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]