From 9f92c18e8cccc5f15a7c65ef3e95252316360077 Mon Sep 17 00:00:00 2001 From: Oleg Mitsura Date: Fri, 24 Jan 2020 17:56:36 -0500 Subject: cmd-exec separate env-prepare and exec timeouts. Issue-ID: CCSDK-2039 added inputs for cmd-exec "env-prepare-timeout" and "execution-timeout" to segregate the timeouts. rev1: initial commit rev2: reverted application-dev.properties rev3: apply default timeouts if they are not specified + fixed a test Signed-off-by: Oleg Mitsura Change-Id: I651594932a3fc87e0d853e65879b1548d9dbde8a --- .../node_type/component-remote-python-executor.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'components/model-catalog/definition-type') diff --git a/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json b/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json index acaea4e7b..8fa8e7c7b 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json +++ b/components/model-catalog/definition-type/starter-type/node_type/component-remote-python-executor.json @@ -60,6 +60,18 @@ "entry_schema" : { "type" : "dt-system-packages" } + }, + "env-prepare-timeout": { + "description": "Time-out for environment preparation.", + "required": false, + "type": "integer", + "default": 120 + }, + "execution-timeout": { + "description": "Time-out for the execution step.", + "required": false, + "type": "integer", + "default": 180 } } } -- cgit 1.2.3-korg