summaryrefslogtreecommitdiffstats
path: root/components/model-catalog
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-14 20:17:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-14 20:17:49 +0000
commitc6d4e25ec3df07b347977ee3b6720a60fcb28da9 (patch)
tree53a9c897934a67dea91ae7a6565e5e379ee92ed7 /components/model-catalog
parent301e466f8a2208141876a206a8ee470788adcbcd (diff)
parentbffb79d389970b1fb96ea6ee6f0414c460691d5f (diff)
Merge "Python lib for RA and component executor"
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