aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2020-05-18 12:59:57 +0300
committerEinat Vinouze <einat.vinouze@intl.att.com>2020-05-19 08:53:30 +0300
commit19016e3c0951ff994956e93b1c24e412a7ed542e (patch)
tree9459b6a941617cf9c7c90261d3305391f26dab50 /vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt
parentaaec5296d2fa63828c320e4a3fb1e5ed0e168de2 (diff)
Introduce FeatureManager to ResourceCommand
Issue-ID: VID-821 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Id6c663d4612d69a48b4a9425db082fb6c33e08b1 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt8
1 files changed, 5 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt
index 6c9af14ea..3cf2b2845 100644
--- a/vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt
+++ b/vid-app-common/src/main/java/org/onap/vid/job/command/NetworkCommand.kt
@@ -13,6 +13,7 @@ import org.springframework.beans.factory.config.ConfigurableBeanFactory
import org.springframework.context.annotation.Scope
import org.springframework.http.HttpMethod
import org.springframework.stereotype.Component
+import org.togglz.core.manager.FeatureManager
import java.util.*
@@ -26,9 +27,10 @@ class NetworkCommand @Autowired constructor(
inProgressStatusService:InProgressStatusService,
watchChildrenJobsBL: WatchChildrenJobsBL,
jobsBrokerService: JobsBrokerService,
- jobAdapter: JobAdapter
- ) : ResourceCommand(restMso, inProgressStatusService, msoResultHandlerService,
- watchChildrenJobsBL, jobsBrokerService, jobAdapter), JobCommand {
+ jobAdapter: JobAdapter,
+ featureManager: FeatureManager
+) : ResourceCommand(restMso, inProgressStatusService, msoResultHandlerService,
+ watchChildrenJobsBL, jobsBrokerService, jobAdapter, featureManager), JobCommand {
override fun createChildren(): Job.JobStatus {
return Job.JobStatus.COMPLETED_WITH_NO_ACTION
}