aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--a1-policy-management/Dockerfile1
-rw-r--r--a1-policy-management/config/application.yaml3
2 files changed, 2 insertions, 2 deletions
diff --git a/a1-policy-management/Dockerfile b/a1-policy-management/Dockerfile
index 86b08663..52ba3fd7 100644
--- a/a1-policy-management/Dockerfile
+++ b/a1-policy-management/Dockerfile
@@ -50,5 +50,4 @@ RUN chmod -R 777 /opt/app/policy-agent/data/
USER a1pms
ADD target/${JAR} /opt/app/policy-agent/a1-policy-management-service.jar
-CMD chown -R a1pms /var
CMD ["java", "-jar", "/opt/app/policy-agent/a1-policy-management-service.jar"]
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml
index 8004a437..b5cfd514 100644
--- a/a1-policy-management/config/application.yaml
+++ b/a1-policy-management/config/application.yaml
@@ -39,7 +39,8 @@ logging:
org.springframework.data: ERROR
org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
org.onap.ccsdk.oran.a1policymanagementservice: INFO
- file: /var/log/policy-agent/application.log
+ file:
+ name: /var/log/policy-agent/application.log
server:
port : 8433
http-port: 8081