Repository: ambari Updated Branches: refs/heads/trunk a8be41bf7 -> 133d7d55d
AMBARI-4791. API call to restart all components on one or more hosts should result in one request. Unit test fix. (swagle) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/133d7d55 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/133d7d55 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/133d7d55 Branch: refs/heads/trunk Commit: 133d7d55daf58e28667bb15840c088c4193e3596 Parents: a8be41b Author: Siddharth Wagle <[email protected]> Authored: Fri Feb 28 12:20:07 2014 -0800 Committer: Siddharth Wagle <[email protected]> Committed: Fri Feb 28 12:20:19 2014 -0800 ---------------------------------------------------------------------- .../java/org/apache/ambari/server/orm/entities/RequestEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/133d7d55/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java index 17fbe2f..6054126 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RequestEntity.java @@ -85,7 +85,7 @@ public class RequestEntity { @OneToMany(mappedBy = "request") private Collection<StageEntity> stages; - @OneToMany(mappedBy = "requestEntity") + @OneToMany(mappedBy = "requestEntity", cascade = CascadeType.ALL) private Collection<RequestResourceFilterEntity> resourceFilterEntities; @ManyToOne(cascade = {CascadeType.MERGE})
