This repository has been archived by the owner on Jan 6, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes OOZIE-22 (Apache) Add support PostgreSQL
- Loading branch information
Alejandro Abdelnur
committed
Aug 23, 2011
1 parent
379d428
commit 513a0ce
Showing
8 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" | ||
version="1.0"> | ||
<entity class="org.apache.oozie.client.rest.JsonSLAEvent"> | ||
<attributes> | ||
<id name="event_id"> | ||
<generated-value strategy="SEQUENCE"/> | ||
</id> | ||
</attributes> | ||
</entity> | ||
</entity-mappings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?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.postgresql.Driver</value> | ||
<description>JDBC driver class.</description> | ||
</property> | ||
<property> | ||
<name>oozie.service.JPAService.jdbc.url</name> | ||
<value>jdbc:postgresql://localhost:5432/OOZIEDB</value> | ||
<description>JDBC URL.</description> | ||
</property> | ||
<property> | ||
<name>oozie.service.JPAService.jdbc.username</name> | ||
<value>OOZIE</value> | ||
<description>DB user name.</description> | ||
</property> | ||
<property> | ||
<name>oozie.service.JPAService.jdbc.password</name> | ||
<value>oozie</value> | ||
<description> | ||
DB user password. IMPORTANT: if password is emtpy leave a 1 space string, the service trims the | ||
value, if empty Configuration assumes it is NULL. | ||
</description> | ||
</property> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters