We are trying to copy our ACOs from one server to another.
We are doing this via code using the SmPolicyApi. We are facing an issue when we try to copy an ACO which already exists on the destination server. We have tried to modify the values but they are not getting saved post implementation. We have also tried to rename the existing ACO on the destination server via code but on execution it is not renaming them as well.
Please find below the code snippet for the same:
result = smPolApi_130.getAgentConfig(vectorACO.get(i).toString(), smACO);
log.info("aco added in 206 policy server and name of aco: "+smACO_206.getName());
log.error("error while modifying aco:"+smACO_206.getName());