diff options
author | Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com> | 2018-11-15 13:12:09 -0500 |
---|---|---|
committer | Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com> | 2018-11-15 13:12:09 -0500 |
commit | 3f83c10aa60ccecd020b06917de694ec11f544b0 (patch) | |
tree | 626551697aa9bea1ef04f394e14b4d29e9282360 /ms/blueprintsprocessor/modules | |
parent | 2e94232cddeb3de3aab4b9eda07ca830845ad259 (diff) |
Blueprints Processor Microservice
Implement Resource Resolution Processor Interface definitions.
Change-Id: Ic2eb7915d48b9473639494ee9d159003bf56e81e
Issue-ID: CCSDK-724
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'ms/blueprintsprocessor/modules')
2 files changed, 2 insertions, 10 deletions
diff --git a/ms/blueprintsprocessor/modules/services/execution-service/src/main/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/execution/AbstractComponentFunction.kt b/ms/blueprintsprocessor/modules/services/execution-service/src/main/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/execution/AbstractComponentFunction.kt index 0e70e490a..9a0d1f91c 100644 --- a/ms/blueprintsprocessor/modules/services/execution-service/src/main/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/execution/AbstractComponentFunction.kt +++ b/ms/blueprintsprocessor/modules/services/execution-service/src/main/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/execution/AbstractComponentFunction.kt @@ -34,14 +34,6 @@ abstract class AbstractComponentFunction : BlueprintFunctionNode<ExecutionServic return executionRequest
}
- override fun process(executionRequest: ExecutionServiceInput) {
- log.info("Processing...")
- }
-
- override fun recover(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) {
- log.info("Recovering...")
- }
-
override fun prepareResponse(): ExecutionServiceOutput {
log.info("Preparing Response...")
return ExecutionServiceOutput()
diff --git a/ms/blueprintsprocessor/modules/services/workflow-service/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/workflow/mock/MockComponentFunction.kt b/ms/blueprintsprocessor/modules/services/workflow-service/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/workflow/mock/MockComponentFunction.kt index 5787721ca..5aa90130a 100644 --- a/ms/blueprintsprocessor/modules/services/workflow-service/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/workflow/mock/MockComponentFunction.kt +++ b/ms/blueprintsprocessor/modules/services/workflow-service/src/test/kotlin/org/onap/ccsdk/apps/blueprintsprocessor/services/workflow/mock/MockComponentFunction.kt @@ -37,10 +37,10 @@ class MockComponentFunction : AbstractComponentFunction() { private val log = LoggerFactory.getLogger(ComponentExecuteNodeExecutor::class.java) override fun process(executionRequest: ExecutionServiceInput) { - super.process(executionRequest) + log.info("Processing component..") } override fun recover(runtimeException: RuntimeException, executionRequest: ExecutionServiceInput) { - super.recover(runtimeException, executionRequest) + log.info("Recovering component..") } }
\ No newline at end of file |