Add target-db property for OOM xacml 99/117899/1
authorJim Hahn <jrh3@att.com>
Tue, 16 Feb 2021 13:34:42 +0000 (08:34 -0500)
committerJim Hahn <jrh3@att.com>
Tue, 16 Feb 2021 13:36:25 +0000 (08:36 -0500)
The new version of eclipselink does not recognize mariadb by default.
Added a property to make it work with xacml-pdp.  None of the other
policy components need an additional property (as far as I can tell).

Issue-ID: POLICY-3005
Change-Id: I050ac85fd23c887009a095b08a9d6ef603b6de36
Signed-off-by: Jim Hahn <jrh3@att.com>
kubernetes/policy/components/policy-xacml-pdp/resources/config/xacml.properties

index 0d773b5..d2e9c62 100755 (executable)
@@ -49,6 +49,7 @@ xacml.pip.engines=count-recent-operations,get-operation-outcome
 #
 # JPA Properties
 #
+eclipselink.target-database=MySQL
 javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
 javax.persistence.jdbc.url=jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/operationshistory
 javax.persistence.jdbc.user=${SQL_USER}