LOG.info("Adding commands to cluster with id " + cluster1.getId());
final List<Command> newCmds = new ArrayList<>();
newCmds.add(commandClient.createCommand(CommandServiceSampleClient.createSampleCommand(ID + "something")));
newCmds.add(commandClient.createCommand(CommandServiceSampleClient.createSampleCommand(null)));
final List<Command> commands2 = clusterClient.addCommandsToCluster(cluster1.getId(), newCmds);
for (final Command command : commands2) {
LOG.info("Command = " + command);
}
LOG.info("Updating set of commands files associated with id " + cluster1.getId());