From 0371cdd595b125da3c10440f6ce5e13fcaa8b0bc Mon Sep 17 00:00:00 2001
From: Brinda Santh <brindasanth@in.ibm.com>
Date: Wed, 10 Apr 2019 15:11:10 -0400
Subject: Add grpc property service

Change-Id: Ifa1975235433ef3e84b0ed1261375108809946f4
Issue-ID: CCSDK-1215
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
---
 .../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 1620b6de0..d34dbb7e9 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
@@ -68,7 +68,7 @@ open class ComponentRemotePythonExecutor(private val remoteScriptExecutionServic
         val dynamicProperties = getOperationInput(INPUT_DYNAMIC_PROPERTIES)
 
         // TODO("Python execution command and Resolve some expressions with dynamic properties")
-        val scriptCommand: String = pythonScript.absolutePath
+        val scriptCommand: String = "python ${pythonScript.absolutePath}"
 
         val packages = operationAssignment.implementation?.dependencies
         // If dependencies are defined, then install in remote server
-- 
cgit