Skip to content

Commit

Permalink
fixed cluster roles
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Aug 2, 2022
1 parent 96ba615 commit 1396eba
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 9 deletions.
3 changes: 2 additions & 1 deletion connectivity/service/src/main/resources/connectivity.conf
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,8 @@ akka {
}

roles = [
"connectivity"
"connectivity",
"blocked-namespaces-aware" # must be blocked-namespaces-aware if 'ditto.policies-enforcer-cache.enabled'=true
]
}
coordinated-shutdown {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ditto.cluster {

cluster-status-roles-blocklist = [
"dc-default",
"ddata-aware",
"blocked-namespaces-aware",
"thing-event-aware",
"live-signal-aware",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void startWithoutRole() throws Exception {

@Test
public void startWithMatchingRole() throws Exception {
testCRUD(BlockedNamespaces.create(DistributedData.createConfig(actorSystem, "replicator", "ddata-aware"),
testCRUD(BlockedNamespaces.create(DistributedData.createConfig(actorSystem, "replicator", "blocked-namespaces-aware"),
actorSystem), actorSystem);
}

Expand Down
2 changes: 1 addition & 1 deletion internal/utils/namespaces/src/test/resources/test.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
akka {
actor.provider = "cluster"
cluster.roles = ["ddata-aware", "blocked-namespaces-aware"]
cluster.roles = ["blocked-namespaces-aware"]

remote.artery {
enabled = on
Expand Down
1 change: 0 additions & 1 deletion policies/service/src/main/resources/policies.conf
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ akka {
roles = [
"policies",
"policy-announcement-aware",
"ddata-aware",
"blocked-namespaces-aware"
]
}
Expand Down
1 change: 0 additions & 1 deletion things/service/src/main/resources/things.conf
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ akka {
"thing-event-aware",
"live-signal-aware",
"acks-aware",
"ddata-aware",
"blocked-namespaces-aware"
]
}
Expand Down
1 change: 0 additions & 1 deletion things/service/src/test/resources/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ akka {
"thing-event-aware",
"live-signal-aware",
"acks-aware",
"ddata-aware",
"blocked-namespaces-aware"
]
}
Expand Down
1 change: 0 additions & 1 deletion thingsearch/service/src/test/resources/actors-test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ akka {

roles = [
"search",
"ddata-aware",
"blocked-namespaces-aware",
"thing-event-aware"
]
Expand Down
1 change: 0 additions & 1 deletion thingsearch/service/src/test/resources/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ akka {

roles = [
"search",
"ddata-aware",
"blocked-namespaces-aware"
]
}
Expand Down

0 comments on commit 1396eba

Please sign in to comment.