summaryrefslogtreecommitdiffstats
path: root/a1-policy-management
diff options
context:
space:
mode:
authorRehanRaza <muhammad.rehan.raza@est.tech>2020-09-09 13:07:37 +0200
committerRehanRaza <muhammad.rehan.raza@est.tech>2020-09-09 13:16:33 +0200
commit0e63aebb722154119f2072800dc3a1aef9cfcfd8 (patch)
treeaaaa39b5b3bc9ec07e58ba904d68dde87b9f0683 /a1-policy-management
parentac04a96b53689a8228ad160f86cfcc7088e0b167 (diff)
Change to logging.file.name in policy-management-service
application.log not found in container. logging.file is deprecated in latest version of spring-boot-parent. Use logging.file.name instead. Change-Id: Icdb0f72f7b4d0647346b331eb4a972165aac4788 Issue-ID: CCSDK-2741 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Diffstat (limited to 'a1-policy-management')
-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