----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32312/ -----------------------------------------------------------
Review request for Ambari and Sid Wagle. Repository: ambari Description ------- 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 Note: There is no direct relationship between the two. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UserWidgetDAO.java PRE-CREATION ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UserWidgetEntity.java PRE-CREATION ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutEntity.java PRE-CREATION ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutUserWidgetEntity.java PRE-CREATION ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutUserWidgetEntityPK.java PRE-CREATION ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql a06f1d2 Diff: https://reviews.apache.org/r/32312/diff/ Testing ------- Thanks, Ivan Kozlov
