Fix/add use cases under SMO package
[it/dep.git] / smo-install / test / pythonsdk / src / oransdk / sdc / templates / component_declare_input.json.j2
diff --git a/smo-install/test/pythonsdk/src/oransdk/sdc/templates/component_declare_input.json.j2 b/smo-install/test/pythonsdk/src/oransdk/sdc/templates/component_declare_input.json.j2
new file mode 100644 (file)
index 0000000..fd0ee03
--- /dev/null
@@ -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