From de7a573e413e5b32bd4c4d2b20d2488d6eca87a8 Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Thu, 31 Mar 2022 12:08:56 +0200 Subject: NONRTRIC PMS using authorization token Added support for PMS sending an authorization token in each REST call(in the HTTP header). The token is read from a file. Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr Change-Id: I92229f67d2c1486530f3c6ebb22f60bd3b359676 --- a1-policy-management/config/application.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'a1-policy-management/config/application.yaml') diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml index 5684c463..7628624d 100644 --- a/a1-policy-management/config/application.yaml +++ b/a1-policy-management/config/application.yaml @@ -42,7 +42,7 @@ logging: org.springframework.data: ERROR org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR org.onap.ccsdk.oran.a1policymanagementservice: INFO - # org.onap.ccsdk.oran.a1policymanagementservice.tasks: TRACE + # org.onap.ccsdk.oran.a1policymanagementservice.tasks: TRACE file: name: /var/log/policy-agent/application.log server: @@ -74,7 +74,10 @@ app: http.proxy-type: HTTP # path where the service can store data vardata-directory: /var/policy-management-service - # the config-file-schema-path referres to a location in the jar file. If this property is empty or missing, - # no schema validation will be executed. + # the config-file-schema-path referres to a location in the jar file. If this property is empty or missing, + # no schema validation will be executed. config-file-schema-path: /application_configuration_schema.json + # A file containing an authorization token, which shall be inserted in each HTTP header (authorization). + # If the file name is empty, no authorization token is sent. + auth-token-file: -- cgit 1.2.3-korg