diff options
author | 2023-09-06 09:54:17 +0100 | |
---|---|---|
committer | 2023-09-14 11:17:02 +0100 | |
commit | b71454295b279a8a35bf1b2245949ba80bc2be90 (patch) | |
tree | 2cc205eb0e3f1a2c93512c1e1f31ad7b52289e24 /applications/guard/src/test/resources | |
parent | 430e73f45e65f78f7d85a9c43cfe178886b5bfa6 (diff) |
Upgrade Java 17 in xacml-pdpjava-17
Issue-ID: POLICY-4821
Change-Id: Iec12c5e3073639ccf177558143cafc66537c6985
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'applications/guard/src/test/resources')
-rw-r--r-- | applications/guard/src/test/resources/META-INF/persistence.xml | 2 | ||||
-rw-r--r-- | applications/guard/src/test/resources/xacml.properties | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/applications/guard/src/test/resources/META-INF/persistence.xml b/applications/guard/src/test/resources/META-INF/persistence.xml index 0df6aeb3..2b560062 100644 --- a/applications/guard/src/test/resources/META-INF/persistence.xml +++ b/applications/guard/src/test/resources/META-INF/persistence.xml @@ -25,7 +25,7 @@ <class>org.onap.policy.guard.OperationsHistory</class> <properties> - <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/> + <property name="jakarta.persistence.schema-generation.database.action" value="drop-and-create"/> <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/> <property name="hibernate.show_sql" value="false" /> <property name="hibernate.format_sql" value="false" /> diff --git a/applications/guard/src/test/resources/xacml.properties b/applications/guard/src/test/resources/xacml.properties index 11a51651..7287f3a3 100644 --- a/applications/guard/src/test/resources/xacml.properties +++ b/applications/guard/src/test/resources/xacml.properties @@ -48,7 +48,7 @@ xacml.pip.engines=count-recent-operations,get-operation-outcome # JPA Properties # eclipselink.target-database=Auto -javax.persistence.jdbc.driver=org.h2.Driver -javax.persistence.jdbc.url=jdbc:h2:mem:testdb;DATABASE_TO_UPPER=FALSE -javax.persistence.jdbc.user=policy -javax.persistence.jdbc.password=UDAxaWNZ +jakarta.persistence.jdbc.driver=org.h2.Driver +jakarta.persistence.jdbc.url=jdbc:h2:mem:testdb;DATABASE_TO_UPPER=FALSE +jakarta.persistence.jdbc.user=policy +jakarta.persistence.jdbc.password=UDAxaWNZ |