Author: angeloh
Date: Sat Dec 10 02:40:59 2011
New Revision: 1212721

URL: http://svn.apache.org/viewvc?rev=1212721&view=rev
Log:
OOZIE-634 Add DB-site.xml to example project

Added:
    incubator/oozie/trunk/examples/src/test/resources/derby-oozie-site.xml
    incubator/oozie/trunk/examples/src/test/resources/hsqldb-oozie-site.xml
    incubator/oozie/trunk/examples/src/test/resources/mysql-oozie-site.xml
      - copied, changed from r1212696, 
incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml
    incubator/oozie/trunk/examples/src/test/resources/oracle-oozie-site.xml
Modified:
    incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml

Modified: incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml?rev=1212721&r1=1212720&r2=1212721&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml 
(original)
+++ incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml Sat Dec 
10 02:40:59 2011
@@ -7,9 +7,9 @@
   to you 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.

Added: incubator/oozie/trunk/examples/src/test/resources/derby-oozie-site.xml
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/examples/src/test/resources/derby-oozie-site.xml?rev=1212721&view=auto
==============================================================================
--- incubator/oozie/trunk/examples/src/test/resources/derby-oozie-site.xml 
(added)
+++ incubator/oozie/trunk/examples/src/test/resources/derby-oozie-site.xml Sat 
Dec 10 02:40:59 2011
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+  Copyright (c) 2010 Yahoo! Inc. 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. See accompanying LICENSE file.
+-->
+<configuration>
+    <property>
+        <name>oozie.service.JPAService.jdbc.driver</name>
+        <value>org.apache.derby.jdbc.EmbeddedDriver</value>
+    </property>
+    <property>
+        <name>oozie.service.JPAService.jdbc.url</name>
+        <value>jdbc:derby:${oozie.data.dir}/oozie-derby;create=true</value>
+    </property>
+</configuration>

Added: incubator/oozie/trunk/examples/src/test/resources/hsqldb-oozie-site.xml
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/examples/src/test/resources/hsqldb-oozie-site.xml?rev=1212721&view=auto
==============================================================================
--- incubator/oozie/trunk/examples/src/test/resources/hsqldb-oozie-site.xml 
(added)
+++ incubator/oozie/trunk/examples/src/test/resources/hsqldb-oozie-site.xml Sat 
Dec 10 02:40:59 2011
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+  Copyright (c) 2010 Yahoo! Inc. 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. See accompanying LICENSE file.
+-->
+<configuration>
+    <property>
+        <name>oozie.service.JPAService.jdbc.driver</name>
+        <value>org.hsqldb.jdbcDriver</value>
+    </property>
+    <property>
+        <name>oozie.service.JPAService.jdbc.url</name>
+        <value>jdbc:hsqldb:mem:oozie-db;create=true</value>
+    </property>
+</configuration>

Copied: incubator/oozie/trunk/examples/src/test/resources/mysql-oozie-site.xml 
(from r1212696, 
incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml)
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/examples/src/test/resources/mysql-oozie-site.xml?p2=incubator/oozie/trunk/examples/src/test/resources/mysql-oozie-site.xml&p1=incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml&r1=1212696&r2=1212721&rev=1212721&view=diff
==============================================================================
--- incubator/oozie/trunk/core/src/test/resources/mysql-oozie-site.xml 
(original)
+++ incubator/oozie/trunk/examples/src/test/resources/mysql-oozie-site.xml Sat 
Dec 10 02:40:59 2011
@@ -7,9 +7,9 @@
   to you 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.

Added: incubator/oozie/trunk/examples/src/test/resources/oracle-oozie-site.xml
URL: 
http://svn.apache.org/viewvc/incubator/oozie/trunk/examples/src/test/resources/oracle-oozie-site.xml?rev=1212721&view=auto
==============================================================================
--- incubator/oozie/trunk/examples/src/test/resources/oracle-oozie-site.xml 
(added)
+++ incubator/oozie/trunk/examples/src/test/resources/oracle-oozie-site.xml Sat 
Dec 10 02:40:59 2011
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+  Copyright (c) 2010 Yahoo! Inc. 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. See accompanying LICENSE file.
+-->
+<configuration>
+    <property>
+        <name>oozie.service.JPAService.jdbc.driver</name>
+        <value>oracle.jdbc.driver.OracleDriver</value>
+    </property>
+    <property>
+        <name>oozie.test.db.port</name>
+        <value>1521</value>
+    </property>
+    <property>
+        <name>oozie.test.db.name</name>
+        <value>xe</value>
+    </property>
+    <property>
+        <name>oozie.service.JPAService.jdbc.url</name>
+        
<value>jdbc:oracle:thin:@//${oozie.test.db.host}:${oozie.test.db.port}/${oozie.test.db.name}</value>
+    </property>
+    <property>
+        <name>oozie.service.JPAService.jdbc.username</name>
+        <value>oozie</value>
+    </property>
+    <property>
+        <name>oozie.service.JPAService.jdbc.password</name>
+        <value>oozie</value>
+    </property>
+</configuration>


Reply via email to