String deploymentUnitName = Paths.stripPath(data.getPath());
ModuleDeploymentRequestsPath path;
for (ChildData requestedModulesData : moduleDeploymentRequests.getCurrentData()) {
path = new ModuleDeploymentRequestsPath(requestedModulesData.getPath());
if (path.getDeploymentUnitName().equals(deploymentUnitName)) {
client.delete().deletingChildrenIfNeeded().forPath(path.build());
}
}
}
/**