diff options
author | Ram Krishna Verma <ram_krishna.verma@bell.ca> | 2021-02-09 21:53:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-09 21:53:28 +0000 |
commit | c3c83896d877602ead85c32215761b3d3555facb (patch) | |
tree | 65071b96574d23609b64384a2e18b5018508a79b /feature-session-persistence/src/main/java/org | |
parent | 13ab17b2050ecfe5265c8fc347fa0960bac185d7 (diff) | |
parent | 6127b4d50fccaa2e59f9e40910861260eb695c15 (diff) |
Merge "Upgrade dependencies"
Diffstat (limited to 'feature-session-persistence/src/main/java/org')
-rw-r--r-- | feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/DroolsPersistenceProperties.java | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/DroolsPersistenceProperties.java b/feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/DroolsPersistenceProperties.java index 4700e8ae..93440dad 100644 --- a/feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/DroolsPersistenceProperties.java +++ b/feature-session-persistence/src/main/java/org/onap/policy/drools/persistence/DroolsPersistenceProperties.java @@ -2,14 +2,14 @@ * ============LICENSE_START======================================================= * feature-session-persistence * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2018, 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,14 +20,16 @@ package org.onap.policy.drools.persistence; +import org.eclipse.persistence.config.PersistenceUnitProperties; + public class DroolsPersistenceProperties { /* * feature-session-persistence.properties parameter key values */ - 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_PWD = "javax.persistence.jdbc.password"; + 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_PWD = PersistenceUnitProperties.JDBC_PASSWORD; public static final String DB_SESSIONINFO_TIMEOUT = "persistence.sessioninfo.timeout"; public static final String JTA_OBJECTSTORE_DIR = "persistence.objectstore.dir"; |