log.info(String.format("Deploying deployment policy: [id] %s", policy.getId()));
}
fillPartitions(policy);
} catch (InvalidPartitionException e) {
log.error(e);
throw new InvalidPolicyException(String.format("Deployment policy is invalid: [id] %s", policy.getId()), e);
}
this.addDeploymentPolicyToInformationModel(policy);
RegistryManager.getInstance().persistDeploymentPolicy(policy);