aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/sdc/templates/component_declare_input.json.j2
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/sdc/templates/component_declare_input.json.j2')
-rw-r--r--src/onapsdk/sdc/templates/component_declare_input.json.j237
1 files changed, 37 insertions, 0 deletions
diff --git a/src/onapsdk/sdc/templates/component_declare_input.json.j2 b/src/onapsdk/sdc/templates/component_declare_input.json.j2
new file mode 100644
index 0000000..fd0ee03
--- /dev/null
+++ b/src/onapsdk/sdc/templates/component_declare_input.json.j2
@@ -0,0 +1,37 @@
+{
+ "componentInstanceInputsMap": {},
+ "componentInstanceProperties": {
+ "{{ component.unique_id }}": [
+ {
+ "constraints": null,
+ "defaultValue": null,
+ "description": "",
+ "name": "{{ property.name }}",
+ "origName": "{{ property.name }}",
+ "parentUniqueId": null,
+ "password": false,
+ "required": true,
+ "schema": {
+ "property": {}
+ },
+ "schemaType": null,
+ "type": "{{ property.property_type }}",
+ "uniqueId": "{{ property.unique_id }}",
+ {% if property.value is not none %}
+ "value":"{{ property.value }}",
+ {% else %}
+ "value":null,
+ {% endif %}
+ "definition": false,
+ "getInputValues": null,
+ "parentPropertyType": null,
+ "subPropertyInputPath": null,
+ "getPolicyValues": null,
+ "inputPath": null,
+ "metadata": null
+ }
+ ]
+ },
+ "groupProperties": {},
+ "policyProperties": {}
+} \ No newline at end of file