diff options
author | Temoc Rodriguez <cr056n@att.com> | 2017-09-13 12:23:46 -0700 |
---|---|---|
committer | Temoc Rodriguez <cr056n@att.com> | 2017-09-14 12:31:34 -0700 |
commit | d420472a3a9d6346cb559bbbb910d02b6e0739a2 (patch) | |
tree | 8dfa6cbf1d4bf40298470f535e80cffd658b6543 /controlloop/common/eventmanager/src/main/resources/META-INF | |
parent | d75fd4d5cafa652fa35d6c152f114319b27f7603 (diff) |
Move credential information out of persistence.xml
Move credential information out of persistence.xml. Define properties
file which will contain the credentials instead. Access db using new
properties file.
Issue-ID: POLICY-55
Change-Id: I01ad0611c053ad4285de2a225fca7920a3b1bc8f
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
Diffstat (limited to 'controlloop/common/eventmanager/src/main/resources/META-INF')
-rw-r--r-- | controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml b/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml index 27c64b60a..827e2562b 100644 --- a/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml +++ b/controlloop/common/eventmanager/src/main/resources/META-INF/persistence.xml @@ -11,12 +11,8 @@ <properties> <property name="eclipselink.ddl-generation" value="create-tables" /> <property name="javax.persistence.jdbc.driver" value="org.mariadb.jdbc.Driver" /> - <property name="javax.persistence.jdbc.url" value="jdbc:mariadb://localhost:3306/policy" /> - <property name="javax.persistence.jdbc.user" value="root" /> - <property name="javax.persistence.jdbc.password" value="aaaa" /> <property name="eclipselink.logging.level" value="WARNING" /> + <!-- Credential and URL properties located in /guard/src/main/resources/operation_history.properties --> </properties> </persistence-unit> - - </persistence> |