aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-08-01 14:00:57 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-08-01 14:03:21 +0100
commitf6d8e60eb75733cf9996bffb3c6ecb586f377da6 (patch)
treedd5c096965bd37d2914ab0e17dd511bd5029ac00 /policy-management
parent4ec22933a69bcf5d2031d3c76fb32d1c50e0d7e1 (diff)
Fix Drools-Apps executing policies
- hibernate dependencies were causing conflicts; updated to latest hibernate-core with all the required deps. - adjusted some variables to be correctly read by properties parser. - added STDOUT option to logback.xml to be able to get logs from controllers/features when using docker logs command. Issue-ID: POLICY-4955 Change-Id: Id3475fc77a63c46697c437bd413ebc1f97b731af Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'policy-management')
-rw-r--r--policy-management/pom.xml8
-rw-r--r--policy-management/src/main/server/config/logback.xml8
2 files changed, 12 insertions, 4 deletions
diff --git a/policy-management/pom.xml b/policy-management/pom.xml
index ed776b58..c2a3b376 100644
--- a/policy-management/pom.xml
+++ b/policy-management/pom.xml
@@ -299,12 +299,12 @@
<artifactId>mariadb-java-client</artifactId>
</dependency>
<dependency>
- <groupId>org.hibernate.orm</groupId>
- <artifactId>hibernate-core</artifactId>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
</dependency>
<dependency>
- <groupId>org.hibernate.common</groupId>
- <artifactId>hibernate-commons-annotations</artifactId>
+ <groupId>org.hibernate.orm</groupId>
+ <artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
diff --git a/policy-management/src/main/server/config/logback.xml b/policy-management/src/main/server/config/logback.xml
index 1bd7770b..4e6756d9 100644
--- a/policy-management/src/main/server/config/logback.xml
+++ b/policy-management/src/main/server/config/logback.xml
@@ -3,6 +3,7 @@
policy-management
================================================================================
Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
+ Modifications Copyright (C) 2024 Nordix Foundation.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -137,11 +138,18 @@
<appender-ref ref="AsyncNetworkOut" />
</logger>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>${debugPattern}</pattern>
+ </encoder>
+ </appender>
+
<root level="INFO">
<appender-ref ref="AsyncDebugOut" />
<appender-ref ref="AsyncErrorOut" />
<appender-ref ref="AsyncMetricOut" />
<appender-ref ref="AsyncTransactionOut" />
+ <appender-ref ref="STDOUT" />
</root>
</configuration>