blob: 145bab7387d1e80ae8061cb4d17f7b422d4db07f [file] [log] [blame]
Ezhilarasi0d58e722019-04-17 18:40:16 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
5Source Capability Code
6======================
7
Ezhilarasia0b70102019-08-14 23:38:10 +05308.. code-block:: json
9 :linenos:
10
11 "description": "This is Component Resource Source Node Type",
12 "version": "1.0.0",
13 "properties": {
14 "script-type": {
15 "required": true,
16 "type": "string",
17 "default": "kotlin",
18 "constraints": [
19 {
20 "valid_values": [
21 "kotlin",
22 "jython"
23 ]
24 }
25 ]
26 },
27 "script-class-reference": {
28 "description": "Capability reference name for internal and kotlin, for jython script file path",
29 "required": true,
30 "type": "string"
31 },
32 "key-dependencies": {
33 "description": "Resource Resolution dependency dictionary names.",
34 "required": true,
35 "type": "list",
36 "entry_schema": {
37 "type": "string"
38 }
39 }
40 },
41 "derived_from": "tosca.nodes.ResourceSource"
42