Github user asfgit closed the pull request at:
https://github.com/apache/brooklyn-server/pull/879
---
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r150195425
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/failover/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,134 @@
+/*
+ * Licensed
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r150191525
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/failover/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,134 @@
+/*
+ * Licensed
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r150195086
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/failover/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,134 @@
+/*
+ * Licensed
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r150193943
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/failover/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,134 @@
+/*
+ * Licensed
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149962511
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/failover/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,208 @@
+/*
+ * Licensed
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149842101
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149841141
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149840560
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149840212
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PrimaryRunningEnricher.java
---
@@ -0,0 +1,74 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149840167
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149839247
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149839084
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149838861
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149833984
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149833804
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149733742
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149733526
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149733129
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149733139
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149732862
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149730096
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149729584
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149729026
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149660312
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149625504
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryConfig.java ---
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149616593
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/internal/AbstractManagementContext.java
---
@@ -536,8 +538,52 @@ public BrooklynObject
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149616442
--- Diff:
camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/policies/ha/brooklyn/ElectPrimaryTest.java
---
@@ -0,0 +1,379 @@
+/*
Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149616384
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/ManagementContext.java ---
@@ -309,8 +310,14 @@
/** As {@link #lookup(String,
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149334438
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149335124
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149344781
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149326857
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149317018
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149319256
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149317795
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149332837
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149353377
--- Diff:
camp/camp-brooklyn/src/test/java/org/apache/brooklyn/camp/policies/ha/brooklyn/ElectPrimaryTest.java
---
@@ -0,0 +1,379 @@
+/*
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149327198
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149349474
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149329523
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149320932
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149326658
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149314968
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/ManagementContext.java ---
@@ -309,8 +310,14 @@
/** As {@link #lookup(String,
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149336035
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryConfig.java ---
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149350380
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149328337
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149341592
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149324342
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149351458
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PrimaryRunningEnricher.java
---
@@ -0,0 +1,74 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149314895
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/internal/AbstractManagementContext.java
---
@@ -536,8 +538,52 @@ public BrooklynObject
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149340800
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryEffector.java ---
@@ -0,0 +1,440 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149315793
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149324681
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149328640
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149336746
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryConfig.java ---
@@ -0,0 +1,82 @@
+/*
+ * Licensed to the Apache
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149312203
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/ManagementContext.java ---
@@ -309,8 +310,14 @@
/** As {@link #lookup(String,
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149326090
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149351706
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/PropagatePrimaryEnricher.java
---
@@ -0,0 +1,204 @@
+/*
+ * Licensed to the
Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/879#discussion_r149323199
--- Diff:
policy/src/main/java/org/apache/brooklyn/policy/ha/ElectPrimaryPolicy.java ---
@@ -0,0 +1,223 @@
+/*
+ * Licensed to the Apache
GitHub user ahgittin opened a pull request:
https://github.com/apache/brooklyn-server/pull/879
Elect primary / failover policies
Adds an `ElectPrimaryPolicy` and related items to facilitate contexts which
want a primary node, with failover/reelection, and ability to propagate
61 matches
Mail list logo