private EventProducer eventProducer;
@Override
protected Object doExecute() throws Exception {
// check if the group exists
Group group = groupManager.findGroupByName(groupName);
if (group == null) {
System.err.println("Cluster group " + groupName + " doesn't exist");
return null;
}
// check if the producer is ON
if (eventProducer.getSwitch().getStatus().equals(SwitchStatus.OFF)) {
System.err.println("Cluster event producer is OFF");
return null;
}
// check if the config pid is allowed
if (!isAllowed(group, Constants.CATEGORY, pid, EventType.OUTBOUND)) {
System.err.println("Configuration PID " + pid + " is blocked outbound for cluster group " + group.getName());
return null;
}
Map<String, Properties> clusterConfigurations = clusterManager.getMap(Constants.CONFIGURATION_MAP + Configurations.SEPARATOR + groupName);
if (clusterConfigurations != null) {