[Pm-mapper] Add description of disable TLS and use unauthenticated topics 74/127174/2
authorTomasz Wrobel <tomasz.wrobel@nokia.com>
Thu, 17 Feb 2022 11:46:53 +0000 (12:46 +0100)
committerTomasz Wrobel <tomasz.wrobel@nokia.com>
Fri, 18 Feb 2022 14:52:39 +0000 (15:52 +0100)
Issue-ID: DCAEGEN2-3032
Issue-ID: DCAEGEN2-3038
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I8fe94be26f90ce3b1a4ff75a434a3c55c1246613

docs/sections/services/pm-mapper/configuration.rst

index df7423a..46a73f2 100644 (file)
@@ -1,5 +1,6 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
+.. Copyright 2022 Nokia. All rights reserved.
 
 Configuration and Performance
 =============================
@@ -42,6 +43,56 @@ Envs should be specified in section "envs:" in blueprint. Example part of bluepr
         ...
 
 
+.. _pm_mapper_disable_tls:
+
+Disable TLS
+"""""""""""
+Pm-mapper by default uses communication over TLS, but it is also possible to use plain http request. To disable TLS, set configuration flag 'enable_http' to true, and set the certificate paths to empty strings or remove them from the configuration. See the config.yaml examples below.
+
+.. code-block:: yaml
+    
+  applicationConfig:
+    enable_http: true
+    key_store_path: ""
+    key_store_pass_path: ""
+    trust_store_path: ""
+    trust_store_pass_path: ""
+
+
+
+Or 
+
+.. code-block:: yaml
+
+  applicationConfig:
+    enable_http: true
+    #key_store_path: 
+    #key_store_pass_path: 
+    #trust_store_path: 
+    #trust_store_pass_path: 
+
+
+Unauthenticated topic
+"""""""""""""""""""""
+To use unauthenticated topics :ref:`disable TLS <pm_mapper_disable_tls>`, and edit AAF credentials in configuration, it should be removed or set to empty string. See the examples below.
+
+.. code-block:: yaml
+    
+  applicationConfig:
+    aaf_identity: ""
+    aaf_password: ""
+
+
+Or
+
+.. code-block:: yaml
+    
+  applicationConfig:
+    #aaf_identity: 
+    #aaf_password: 
+
+
+
 PM Mapper Filtering
 """""""""""""""""""
 The PM Mapper performs data reduction, by filtering the PM telemetry data it receives.