improved logging

This commit is contained in:
Luca Frosini 2022-12-15 11:35:58 +01:00
parent c68771669e
commit 9fa254add0
1 changed files with 4 additions and 0 deletions

View File

@ -236,6 +236,8 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
}
if(size==0) {
logger.info("Going to create {} between {} (gcat with UUID={}) and the {}",
CallsFor.NAME, EService.NAME, gcatEServiceID, VirtualService.NAME);
PropagationConstraint propagationConstraint = new PropagationConstraintImpl();
propagationConstraint.setAddConstraint(AddConstraint.unpropagate);
propagationConstraint.setRemoveConstraint(RemoveConstraint.keep);
@ -246,6 +248,8 @@ public class FacetBasedISConfigurationProxy extends ISConfigurationProxy<SimpleF
callsFor = resourceRegistryPublisher.create(callsFor);
}else if(size==1){
callsFor = callsForList.get(0);
logger.info("{} between {} (gcat with UUID={}) and the {} exists.\n{}",
CallsFor.NAME, EService.NAME, gcatEServiceID, VirtualService.NAME, ElementMapper.marshal(callsFor));
}
return callsFor;