public static void generateAgentCommandInNodeGroup(String nodeGroupType,
String agentCommandType) {
try {
AgentDataProvider adp = AgentDataProvider.getInstance();
Map<String, NodeGroupDataMap> dataStore = null;
Map<String, NodeGroupSourceMetadata> nodeGroupSource = null;
dataStore = AgentDataProvider.allAgentData;
nodeGroupSource = AgentDataProvider.nodeGroupSourceMetadatas;
adp.generateAgentCommandInNodeGroupDataMap(nodeGroupType,
agentCommandType, dataStore, nodeGroupSource);
renderJSON(new JsonResult(
"Success in generateAgentCommandInNodeGroupDataMap"));
} catch (Throwable t) {