summaryrefslogtreecommitdiffstats
path: root/a1-policy-management/config
diff options
context:
space:
mode:
authorPatrikBuhr <patrik.buhr@est.tech>2022-03-31 12:08:56 +0200
committerPatrikBuhr <patrik.buhr@est.tech>2022-03-31 12:14:30 +0200
commitde7a573e413e5b32bd4c4d2b20d2488d6eca87a8 (patch)
treebaab7adaeb8cb0c5a90017c82adaa50fa79af78f /a1-policy-management/config
parent4b6205245fd4839e4449e26aa4e3000ddb30ecc1 (diff)
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 <patrik.buhr@est.tech> Change-Id: I92229f67d2c1486530f3c6ebb22f60bd3b359676
Diffstat (limited to 'a1-policy-management/config')
-rw-r--r--a1-policy-management/config/application.yaml9
1 files changed, 6 insertions, 3 deletions
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: