Migrate CPS to Spring-boot 3.0
[cps.git] / cps-ncmp-service / src / main / java / org / onap / cps / ncmp / api / inventory / sync / executor / AsyncTaskExecutor.java
index 7b4d2cf..3d08185 100644 (file)
@@ -22,12 +22,12 @@ package org.onap.cps.ncmp.api.inventory.sync.executor;
 
 import static java.util.concurrent.TimeUnit.MILLISECONDS;
 
+import jakarta.annotation.PostConstruct;
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.TimeoutException;
 import java.util.function.Supplier;
-import javax.annotation.PostConstruct;
 import lombok.Getter;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Value;
@@ -37,7 +37,7 @@ import org.springframework.stereotype.Service;
 @Service
 public class AsyncTaskExecutor {
 
-    @Value("${modules-sync-watchdog.async-executor.parallelism-level:10}")
+    @Value("${ncmp.modules-sync-watchdog.async-executor.parallelism-level:10}")
     @Getter
     private int asyncTaskParallelismLevel;
     private ExecutorService executorService;