@Autowired
private StackRepository stackRepository;
@Override
public void accept(Event<ProvisionRequest> event) {
ProvisionRequest provisionRequest = event.getData();
CloudPlatform cloudPlatform = provisionRequest.getCloudPlatform();
Long stackId = provisionRequest.getStackId();
Stack stack = stackRepository.findById(stackId);
MDCBuilder.buildMdcContext(stack);
LOGGER.info("Accepted {} event.", ReactorConfig.PROVISION_REQUEST_EVENT, stackId);
provisionSetupContext.setupProvisioning(cloudPlatform, stackId);
}