From e2ddafbe41001741661e02783af6f41c8b75317b Mon Sep 17 00:00:00 2001 From: Oleg Mitsura Date: Wed, 8 Jul 2020 03:07:07 -0400 Subject: cmd-exec server-side timeout. Issue-ID: CCSDK-2535 Signed-off-by: Oleg Mitsura Change-Id: I897678a5a8a23503a878f2d3eb836ba4597a6e6e (cherry picked from commit 4ad951ee4c3ed41ca58a240e8b9193416c304b20) Note: updated files as is from master, which should contain latest cmd-exec. Change-Id: I1586763f1205861548545026a34523c65d185404 Signed-off-by: Oleg Mitsura --- .../functions/python/executor/ComponentRemotePythonExecutor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/blueprintsprocessor/functions/python-executor') diff --git a/ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt b/ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt index d66e8b374..9bc7f73dd 100644 --- a/ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt +++ b/ms/blueprintsprocessor/functions/python-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/python/executor/ComponentRemotePythonExecutor.kt @@ -180,7 +180,7 @@ open class ComponentRemotePythonExecutor(private val remoteScriptExecutionServic remoteIdentifier = RemoteIdentifier(blueprintName = blueprintName, blueprintVersion = blueprintVersion), command = scriptCommand, properties = properties, - timeOut = implementation.timeout.toLong()) + timeOut = executionTimeout.toLong()) val remoteExecutionOutputDeferred = GlobalScope.async { remoteScriptExecutionService.executeCommand(remoteExecutionInput) -- cgit 1.2.3-korg