X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ms%2Fcontrollerblueprints%2Fmodules%2Fblueprint-validation%2Fsrc%2Fmain%2Fkotlin%2Forg%2Fonap%2Fccsdk%2Fapps%2Fcontrollerblueprints%2Fvalidation%2FBluePrintWorkflowValidatorImpl.kt;fp=ms%2Fcontrollerblueprints%2Fmodules%2Fblueprint-validation%2Fsrc%2Fmain%2Fkotlin%2Forg%2Fonap%2Fccsdk%2Fapps%2Fcontrollerblueprints%2Fvalidation%2FBluePrintWorkflowValidatorImpl.kt;h=851a7c603412a658b65a7eca030730264cd292ff;hb=86dc3b395c89773968d2737d52318a2f2090d8ce;hp=612ec6918e0e8bec5a00de0c0cdce64c900c17da;hpb=75dbd90df01e107c28083b9db72f78eb2fcddfd5;p=ccsdk%2Fcds.git diff --git a/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/validation/BluePrintWorkflowValidatorImpl.kt b/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/validation/BluePrintWorkflowValidatorImpl.kt index 612ec6918..851a7c603 100644 --- a/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/validation/BluePrintWorkflowValidatorImpl.kt +++ b/ms/controllerblueprints/modules/blueprint-validation/src/main/kotlin/org/onap/ccsdk/apps/controllerblueprints/validation/BluePrintWorkflowValidatorImpl.kt @@ -23,7 +23,12 @@ import org.onap.ccsdk.apps.controllerblueprints.core.data.Workflow import org.onap.ccsdk.apps.controllerblueprints.core.interfaces.BluePrintTypeValidatorService import org.onap.ccsdk.apps.controllerblueprints.core.interfaces.BluePrintWorkflowValidator import org.onap.ccsdk.apps.controllerblueprints.core.service.BluePrintRuntimeService +import org.springframework.beans.factory.config.ConfigurableBeanFactory +import org.springframework.context.annotation.Scope +import org.springframework.stereotype.Service +@Service("default-workflow-validator") +@Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE) open class BluePrintWorkflowValidatorImpl(private val bluePrintTypeValidatorService: BluePrintTypeValidatorService) : BluePrintWorkflowValidator { private val log: EELFLogger = EELFManager.getInstance().getLogger(BluePrintServiceTemplateValidatorImpl::class.toString())