Documentation updates
[nonrtric/plt/ranpm.git] / pmproducer / config / application.yaml
index b0fd88a..c0d6d35 100644 (file)
@@ -1,5 +1,5 @@
 #  ============LICENSE_START===============================================
-#  Copyright (C) 2023-2022 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2022-2023 Nordix Foundation. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@ logging:
     file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level]  %logger{20} - %msg%n"
 
   file:
-    name: /var/log/pm_producer-service/application.log
+    name: /var/log/pm-producer-service/application.log
 server:
    # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
    # See springboot documentation.
@@ -58,7 +58,7 @@ server:
   ssl:
     key-store-type: JKS
     key-store-password: policy_agent
-    key-store: /opt/app/pm_producer-service/etc/cert/keystore.jks
+    key-store: /opt/app/pm-producer-service/etc/cert/keystore.jks
     key-password: policy_agent
     key-alias: policy_agent
   shutdown: "graceful"
@@ -69,24 +69,33 @@ app:
     # Note that the same keystore as for the server is used.
     trust-store-used: false
     trust-store-password: policy_agent
-    trust-store: /opt/app/pm_producer-service/etc/cert/truststore.jks
+    trust-store: /opt/app/pm-producer-service/etc/cert/truststore.jks
     # Configuration of usage of HTTP Proxy for the southbound accesses.
     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
     http.proxy-host:
     http.proxy-port: 0
   ics-base-url: https://localhost:8434
-  # Location of the component configuration file. The file will only be used if the Consul database is not used;
-  # configuration from the Consul will override the file.
+  # Location of the component configuration file.
   configuration-filepath: /opt/app/pm_producer-service/data/application_configuration.json
-  dmaap-base-url: http://dradmin:dradmin@localhost:2222
+
   # The url used to adress this component. This is used as a callback url sent to other components.
-  pm_producer-base-url: https://localhost:8435
-  # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic
-  # several redundant boostrap servers can be specified, separated by a comma ','.
+  pm-producer-base-url: https://localhost:8435
+
   kafka:
+    # KAFKA boostrap servers.
+    # Several redundant boostrap servers can be specified, separated by a comma ','.
     bootstrap-servers: localhost:9092
     # The maximum number of records returned in a single call to poll() (default 100)
     max-poll-records: 500
+    # Configures if oath2 tokens shall be used. If set to true, auth-token-file must also be configured
+    use-oath-token: false
+    ssl:
+      key-store-type: PEM
+      key-store-location:
+      # key password is needed if the private key is encrypted
+      key-store-password:
+      trust-store-type: PEM
+      trust-store-location:
   # If the file name is empty, no authorization token is used
   auth-token-file:
   pm-files-path: /tmp