From 6191d41c8d8ee20f0388172faf57e2bf8bbf8862 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Mon, 16 Sep 2024 15:42:30 +0100 Subject: Policy Executor API: Add Prefix in Yaml - Remove servers from yaml. - Add prefix to path in yaml. - Remove basepath prefix from Controller Impl. - Added policy server port to 8093. - Exposed docker env. vars for policy services. Issue-ID: CPS-2291 Change-Id: Idcc9e23f9d63bad2480537dc8d39523fe82b4b83 Signed-off-by: ToineSiebelink Signed-off-by: sourabh_sourabh --- cps-application/src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cps-application/src') diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 8ca6b0fe02..b2cbe7ff4d 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -189,10 +189,10 @@ logging: cps: INFO ncmp: policy-executor: - enabled: false + enabled: ${POLICY_SERVICE_ENABLED:false} server: - address: http://localhost - port: 8785 + address: ${POLICY_SERVICE_URL:http://policy-executor-stub} + port: ${POLICY_SERVICE_PORT:8093} httpclient: all-services: maximumInMemorySizeInMegabytes: 16 -- cgit 1.2.3-korg