You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/03/26 03:41:53 UTC

[jira] [Commented] (AMBARI-10212) Widgets: Add schema tables for PostgreSQL, MySQL and Oracle

    [ https://issues.apache.org/jira/browse/AMBARI-10212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381254#comment-14381254 ] 

Hudson commented on AMBARI-10212:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2116 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2116/])
AMBARI-10212. Widgets: Add schema tables for PostgreSQL, MySQL and Oracle. (swagle: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=308a618f40f3c724dbbd33c178ebbab2c38b2ea4)
* ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UserWidgetDAOTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UserWidgetDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutUserWidgetEntityPK.java
* ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/WidgetLayoutDAOTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UserWidgetEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutUserWidgetEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java
* ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
* ambari-server/src/main/resources/META-INF/persistence.xml
* ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
* ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog210Test.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/WidgetLayoutDAO.java


> Widgets: Add schema tables for PostgreSQL, MySQL and Oracle
> -----------------------------------------------------------
>
>                 Key: AMBARI-10212
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10212
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10212.patch
>
>
> Apart from adding new widget related table definitions in the DDL script for all the three database types, also update the upgrade catalog for Amabri-2.1.0 to create these tables on ambari upgrade.
> Tasks:
> - Create WidgetEntity and WidgetLayoutEntity.
> - Add relationship from both entities to cluster. This will not be used to load widgets but only to find what StackVersion to use for lookup of stack widgets when requesting WidgetInfo with layouts.
> - Create corresponding DAO objects with unit tests
> - Create findById and findBySectionName and findByCluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)