@javax.annotation.Resource
private ConcurrentTaskExecutor resourceBuilderExecutor;
@Override
public void accept(Event<UpdateInstancesRequest> event) {
UpdateInstancesRequest request = event.getData();
final CloudPlatform cloudPlatform = request.getCloudPlatform();
Long stackId = request.getStackId();
Integer scalingAdjustment = request.getScalingAdjustment();
final Stack stack = stackRepository.findOneWithLists(stackId);
MDCBuilder.buildMdcContext(stack);
try {
LOGGER.info("Accepted {} event on stack.", ReactorConfig.UPDATE_INSTANCES_REQUEST_EVENT);
stackUpdater.updateMetadataReady(stackId, false);