CI: Add SonarCloud scan GHA workflow
[nonrtric/plt/ranpm.git] / pmproducer / config / application.yaml
index d084bc4..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.
@@ -75,15 +75,27 @@ app:
     http.proxy-host:
     http.proxy-port: 0
   ics-base-url: https://localhost:8434
+  # Location of the component configuration file.
+  configuration-filepath: /opt/app/pm_producer-service/data/application_configuration.json
 
   # 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 ','.
+
   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