@Autowired
private CloudbreakEventService cloudbreakEventService;
@Override
public void accept(Event<ProvisionComplete> event) {
ProvisionComplete stackCreateComplete = event.getData();
CloudPlatform cloudPlatform = stackCreateComplete.getCloudPlatform();
Long stackId = stackCreateComplete.getStackId();
Stack stack = stackRepository.findById(stackId);
MDCBuilder.buildMdcContext(stack);
LOGGER.info("Accepted {} event on stack.", ReactorConfig.PROVISION_COMPLETE_EVENT);
Set<Resource> resourcesSet = event.getData().getResources();
retryingStackUpdater.updateStackResources(stackId, resourcesSet);