diff options
author | Einat Vinouze <einat.vinouze@intl.att.com> | 2020-05-18 12:59:57 +0300 |
---|---|---|
committer | Einat Vinouze <einat.vinouze@intl.att.com> | 2020-05-19 08:53:30 +0300 |
commit | 19016e3c0951ff994956e93b1c24e412a7ed542e (patch) | |
tree | 9459b6a941617cf9c7c90261d3305391f26dab50 /vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt | |
parent | aaec5296d2fa63828c320e4a3fb1e5ed0e168de2 (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/ALaCarteServiceCommand.kt')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt b/vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt index 9bef3c11b..df39f7387 100644 --- a/vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt +++ b/vid-app-common/src/main/java/org/onap/vid/job/command/ALaCarteServiceCommand.kt @@ -36,6 +36,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.time.ZonedDateTime import java.time.temporal.ChronoUnit import java.util.* @@ -63,9 +64,10 @@ class ALaCarteServiceCommand @Autowired constructor( msoResultHandlerService: MsoResultHandlerService, jobAdapter: JobAdapter, restMso: RestMsoImplementation, - auditService: AuditService + auditService: AuditService, + featureManager: FeatureManager ) : RootServiceCommand(restMso, inProgressStatusService, msoResultHandlerService, - watchChildrenJobsBL, jobsBrokerService, jobAdapter, asyncInstantiationBL, auditService, msoRequestBuilder), JobCommand { + watchChildrenJobsBL, jobsBrokerService, jobAdapter, asyncInstantiationBL, auditService, msoRequestBuilder, featureManager), JobCommand { companion object { private val LOGGER = EELFLoggerDelegate.getLogger(ALaCarteServiceCommand::class.java) |