summaryrefslogtreecommitdiffstats
path: root/controlloop/common/guard/src/main/resources
diff options
context:
space:
mode:
authorTemoc Rodriguez <cr056n@att.com>2017-09-13 12:23:46 -0700
committerTemoc Rodriguez <cr056n@att.com>2017-09-14 12:31:34 -0700
commitd420472a3a9d6346cb559bbbb910d02b6e0739a2 (patch)
tree8dfa6cbf1d4bf40298470f535e80cffd658b6543 /controlloop/common/guard/src/main/resources
parentd75fd4d5cafa652fa35d6c152f114319b27f7603 (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/guard/src/main/resources')
-rw-r--r--controlloop/common/guard/src/main/resources/operation_history.properties26
1 files changed, 26 insertions, 0 deletions
diff --git a/controlloop/common/guard/src/main/resources/operation_history.properties b/controlloop/common/guard/src/main/resources/operation_history.properties
new file mode 100644
index 000000000..8c374a85b
--- /dev/null
+++ b/controlloop/common/guard/src/main/resources/operation_history.properties
@@ -0,0 +1,26 @@
+#/*-
+# * ============LICENSE_START=======================================================
+# * guard
+# * ================================================================================
+# * Copyright (C) 2017 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.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# * ============LICENSE_END=========================================================
+# */
+
+#
+# Maria DB Operation History Credentials
+#
+javax.persistence.jdbc.user=root
+javax.persistence.jdbc.password=aaaa
+javax.persistence.jdbc.url=jdbc:mariadb://localhost:3306/policy