summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-06-14 13:13:22 -0400
committerSteve Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-06-14 15:39:37 -0400
commit3e7b00f9f2915dfe66b0e1825fd120ceba4cce65 (patch)
tree22ce97a65ee46c991a413f6e76b6acadc728393d /components/model-catalog
parent39167cccae3271603819aa39c6476e434c759533 (diff)
Python executor: Execution command and prepare environment log
Also fix error messages return when something goes wrong. Issue-ID: CCSDK-1404 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ifff396d8cee8d6608b6fb32d3a8e941a253ba24c
Diffstat (limited to 'components/model-catalog')
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/properties-capability-source.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/properties-capability-source.json b/components/model-catalog/resource-dictionary/starter-dictionary/properties-capability-source.json
new file mode 100644
index 000000000..950c4a2df
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/properties-capability-source.json
@@ -0,0 +1,26 @@
+{
+ "name": "properties-capability-source",
+ "updated-by": "Steve Alphonse Siani, alphonse.steve.siani.djissitchi@ibm.com",
+ "tags": "properties-capability-source",
+ "property" :{
+ "description": "Data dictionary used to read properties.",
+ "type": "string"
+ },
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "default": {
+ "type": "source-default",
+ "properties": {}
+ },
+ "capability": {
+ "type": "source-capability",
+ "properties" : {
+ "script-type" : "jython",
+ "script-class-reference" : "Scripts/python/ResolvProperties.py",
+ "instance-dependencies" : []
+ }
+ }
+ }
+} \ No newline at end of file