diff options
author | liamfallon <liam.fallon@est.tech> | 2023-02-02 14:53:21 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2023-02-02 17:57:53 +0000 |
commit | 62e8960e2969f24c7f7bfca5c696b8975ec8e81d (patch) | |
tree | 99794a469525403bc578f6bdbdae518e342dc0b3 /feature-distributed-locking/src/main/java | |
parent | 340292f47b86b45eb9bd83df948108fc9ba34efd (diff) |
Replace Eclipselink with Hibernate
Issue-ID: POLICY-4533
Change-Id: Ifa594103c81cc7d1e435df9afaefb8b57f5b091d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'feature-distributed-locking/src/main/java')
-rw-r--r-- | feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockProperties.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockProperties.java b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockProperties.java index 3093ad49..4153ee89 100644 --- a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockProperties.java +++ b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockProperties.java @@ -3,6 +3,7 @@ * feature-distributed-locking * ================================================================================ * Copyright (C) 2018-2019, 2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2023 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +24,6 @@ package org.onap.policy.distributed.locking; import java.util.Properties; import lombok.Getter; import lombok.Setter; -import org.eclipse.persistence.config.PersistenceUnitProperties; import org.onap.policy.common.utils.properties.BeanConfigurator; import org.onap.policy.common.utils.properties.Property; import org.onap.policy.common.utils.properties.exception.PropertyException; @@ -34,13 +34,15 @@ import org.onap.policy.common.utils.properties.exception.PropertyException; public class DistributedLockProperties { public static final String PREFIX = "distributed.locking."; - public static final String DB_DRIVER = PersistenceUnitProperties.JDBC_DRIVER; - public static final String DB_URL = PersistenceUnitProperties.JDBC_URL; - public static final String DB_USER = PersistenceUnitProperties.JDBC_USER; - public static final String DB_PASS = PersistenceUnitProperties.JDBC_PASSWORD; + // @formatter:off + public static final String DB_DRIVER = "javax.persistence.jdbc.driver"; + public static final String DB_URL = "javax.persistence.jdbc.url"; + public static final String DB_USER = "javax.persistence.jdbc.user"; + public static final String DB_PASS = "javax.persistence.jdbc.password"; public static final String EXPIRE_CHECK_SEC = PREFIX + "expire.check.seconds"; public static final String RETRY_SEC = PREFIX + "retry.seconds"; public static final String MAX_RETRIES = PREFIX + "max.retries"; + // @formatter:on /** * Database driver. |