|
@@ -5,6 +5,7 @@ import com.fdkankan.rubbersheeting.ScalingService;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.util.ObjectUtils;
|
|
import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
@@ -19,6 +20,7 @@ public class EcsJob {
|
|
private static final Logger log = LoggerFactory.getLogger(EcsJob.class);
|
|
private static final Logger log = LoggerFactory.getLogger(EcsJob.class);
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
|
|
+ @Lazy
|
|
private ScalingService scalingService;
|
|
private ScalingService scalingService;
|
|
|
|
|
|
@PostConstruct
|
|
@PostConstruct
|