public static Map<String, Object> putTopologyDebugActionSpct(
Nimbus.Iface client, String id, String action, String spct, String component) throws TException {
GetInfoOptions getInfoOptions = new GetInfoOptions();
getInfoOptions.set_num_err_choice(NumErrorsChoice.NONE);
TopologyInfo topologyInfo = client.getTopologyInfoWithOpts(id, getInfoOptions);
client.debug(topologyInfo.get_name(), component, action.equals("enable"), Integer.parseInt(spct));
return getTopologyOpResponse(id, "debug/" + action);
}