[grid] Adding router role to Hub, this enables the flags on the CLI
import static java.net.HttpURLConnection.HTTP_OK;
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.grid.config.StandardGridRoles.ROUTER_ROLE;
import static org.openqa.selenium.remote.http.Route.combine;
@AutoService(CliCommand.class)
@@ -76,7 +77,7 @@ public String getDescription() {
@Override
public Set<Role> getConfigurableRoles() {
- return ImmutableSet.of(EVENT_BUS_ROLE, HTTPD_ROLE);
+ return ImmutableSet.of(EVENT_BUS_ROLE, HTTPD_ROLE, ROUTER_ROLE);
}
@Override
