aboutsummaryrefslogtreecommitdiffstats
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
commit52d97b33efad603758bf67a6cfaf38157a696186 (patch)
treefb1f392961fb492e02d76d4bdb7f1edea9c8cf97 /components/model-catalog
parent63106217c094a413e805b5103d44f6dac9025c42 (diff)
parent1d06948666688a4854887a27c39ef969e8e2e3be (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 168732c1..b02397e8 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 cb970435..737c7577 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