summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorSteve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-02-22 16:22:59 -0500
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-03-13 09:37:45 -0400
commitbffb79d389970b1fb96ea6ee6f0414c460691d5f (patch)
treec41a78a969ba42da78794adf3ee85fc90d877e66 /components/model-catalog
parent5919971ce250eb2b91c2989efafe7851ea64389d (diff)
Python lib for RA and component executor
Change-Id: Iacec0dbbd3e7c1dc955ac913f346365732248f05 Issue-ID: CCSDK-1091 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
Diffstat (limited to 'components/model-catalog')
-rwxr-xr-xcomponents/model-catalog/blueprint-model/test-blueprint/capability_python/Definitions/activation-blueprint.json2
-rwxr-xr-xcomponents/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json8
2 files changed, 9 insertions, 1 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/capability_python/Definitions/activation-blueprint.json b/components/model-catalog/blueprint-model/test-blueprint/capability_python/Definitions/activation-blueprint.json
index 168732c1d..b02397e85 100755
--- a/components/model-catalog/blueprint-model/test-blueprint/capability_python/Definitions/activation-blueprint.json
+++ b/components/model-catalog/blueprint-model/test-blueprint/capability_python/Definitions/activation-blueprint.json
@@ -119,7 +119,7 @@
"artifacts" : {
"component-script" : {
"type" : "artifact-script-jython",
- "file" : "Scripts/SamplePythonComponentNode.py"
+ "file" : "Scripts/python/SamplePythonComponentNode.py"
}
}
}
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json
index cb9704350..737c7577b 100755
--- a/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json
@@ -32,6 +32,14 @@
"service-instance-id": "artifact_name"
}
}
+ },
+ "capability": {
+ "type": "source-capability",
+ "properties": {
+ "script-type": "jython",
+ "script-class-reference": "SampleRAProcessor",
+ "instance-dependencies": []
+ }
}
}
} \ No newline at end of file