[grid] Add missing "event bus" role to message bus command
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
import org.openqa.selenium.BuildInfo;
import org.openqa.selenium.cli.CliCommand;
import org.openqa.selenium.events.Event;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
+import static org.openqa.selenium.grid.config.StandardGridRoles.EVENT_BUS_ROLE;
import static org.openqa.selenium.grid.config.StandardGridRoles.HTTPD_ROLE;
import static org.openqa.selenium.json.Json.JSON_UTF_8;
import static org.openqa.selenium.remote.http.Contents.asJson;
@@ -61,7 +63,7 @@ public String getDescription() {
@Override
public Set<Role> getConfigurableRoles() {
- return Collections.singleton(HTTPD_ROLE);
+ return ImmutableSet.of(EVENT_BUS_ROLE, HTTPD_ROLE);
}
@Override
