update link to upper-constraints.txt
[dcaegen2.git] / docs / sections / services / pm-mapper / configuration.rst
index 46a73f2..fbac01c 100644 (file)
@@ -1,6 +1,8 @@
 .. 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.
+.. Copyright (c) 2023 AT&T Intellectual Property. All rights reserved.
+
 
 Configuration and Performance
 =============================
@@ -16,33 +18,6 @@ In order to parallel processing, new configuration env has been introduced:
 
 - PROCESSING_THREADS_COUNT (optional, default value: number of threads available to JVM) - allows to specify number of threads that will be used for files processing.
 
-
-Envs should be specified in section "envs:" in blueprint. Example part of blueprint configuration:
-
-::
-
-        ...
-        pm-mapper:
-          type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
-          interfaces:
-            cloudify.interfaces.lifecycle:
-              create:
-                inputs:
-                  ports:
-                    - '8443:0'
-                    - '8081:0'
-                  envs:
-                    PROCESSING_LIMIT_RATE: "1"
-                    THREADS_MULTIPLIER: "2"
-                    PROCESSING_THREADS_COUNT: "3"
-          relationships:
-            - type: dcaegen2.relationships.subscribe_to_files
-              target: pm-feed
-            - type: dcaegen2.relationships.publish_events
-              target: pm-topic
-        ...
-
-
 .. _pm_mapper_disable_tls:
 
 Disable TLS
@@ -50,7 +25,7 @@ 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: ""
@@ -60,16 +35,16 @@ Pm-mapper by default uses communication over TLS, but it is also possible to use
 
 
 
-Or 
+Or
 
 .. code-block:: yaml
 
   applicationConfig:
     enable_http: true
-    #key_store_path: 
-    #key_store_pass_path: 
-    #trust_store_path: 
-    #trust_store_pass_path: 
+    #key_store_path:
+    #key_store_pass_path:
+    #trust_store_path:
+    #trust_store_pass_path:
 
 
 Unauthenticated topic
@@ -77,7 +52,7 @@ 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: ""
@@ -86,10 +61,10 @@ To use unauthenticated topics :ref:`disable TLS <pm_mapper_disable_tls>`, and ed
 Or
 
 .. code-block:: yaml
-    
+
   applicationConfig:
-    #aaf_identity: 
-    #aaf_password: 
+    #aaf_identity:
+    #aaf_password: