SO-3835 Modify-Config flow of slice (Day-2) -snssai not updated in config map of...
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / 5GC_Simulator_CNF_CDS / Templates / helm_amf-template.vtl
diff --git a/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Templates/helm_amf-template.vtl b/components/model-catalog/blueprint-model/service-blueprint/5GC_Simulator_CNF_CDS/Templates/helm_amf-template.vtl
new file mode 100644 (file)
index 0000000..6cc18ff
--- /dev/null
@@ -0,0 +1,138 @@
+{
+    "capability-data": [
+        {
+            "capability-name": "generate-name",
+            "key-mapping": [
+                {
+                    "output-key-mapping": [
+                        {
+                            "resource-name": "vf_module_name",
+                            "resource-value": "${vf-module-name}"
+                        }
+                    ],
+                    "payload": [
+                        {
+                            "param-name": "VF_MODULE_TYPE",
+                            "param-value": "vfmt"
+                        },
+                        {
+                            "param-name": "resource-name",
+                            "param-value": "vf_module_name"
+                        },
+                        {
+                            "param-name": "resource-value",
+                            "param-value": "${vf-module-name}"
+                        },
+                        {
+                            "param-name": "external-key",
+                            "param-value": "${vf-module-id}_vf-module-name"
+                        },
+                        {
+                            "param-name": "policy-instance-name",
+                            "param-value": "${vf-naming-policy}"
+                        },
+                        {
+                            "param-name": "naming-type",
+                            "param-value": "VF-MODULE"
+                        },
+                        {
+                            "param-name": "VNF_NAME",
+                            "param-value": "${vnf_name}"
+                        },
+                        {
+                            "param-name": "VF_MODULE_LABEL",
+                            "param-value": "${vf-module-label}"
+                        }
+                    ]
+                }
+            ]
+        },
+        {
+            "capability-name": "aai-vf-module-put",
+            "key-mapping": [
+                {
+                    "output-key-mapping": [
+                        {
+                            "resource-name": "aai-vf-module-put",
+                            "resource-value": ""
+                        }
+                    ]
+                }
+            ]
+        },
+        {
+            "capability-name": "unresolved-composite-data",
+            "key-mapping": [
+                {
+                    "output-key-mapping": [
+                        {
+                            "resource-name": "config.amfName",
+                            "resource-value": "amf"
+                        }
+                    ]
+                }
+            ]
+        },
+               {
+            "capability-name": "unresolved-composite-data",
+            "key-mapping": [
+                {
+                    "output-key-mapping": [
+                        {
+                            "resource-name": "amfName",
+                            "resource-value": "amf"
+                        }
+                    ]
+                }
+            ]
+        }
+    ],
+    "resource-accumulator-resolved-data": [
+        {
+            "param-name": "vf-module-model-invariant-uuid",
+            "param-value": "${vf-module-model-invariant-uuid}"
+        },
+           {
+            "param-name": "vf-module-label",
+            "param-value": "${vf-module-label}"
+        },
+        {
+            "param-name": "vf-module-model-version",
+            "param-value": "${vf-module-model-version}"
+        },
+               {
+            "param-name": "vnf-id",
+            "param-value": "${vnf-id}"
+        },
+               {
+            "param-name": "vf-module-id",
+            "param-value": "${vf-module-id}"
+        },
+               {
+            "param-name": "k8s-rb-profile-name",
+            "param-value": "profile-${vf-module-id}"
+        },
+        {
+            "param-name": "k8s-rb-profile-namespace",
+            "param-value": "ns-${vf-module-id}"
+        },
+          {
+            "param-name": "k8s-rb-instance-release-name",
+            "param-value": "release-${vf-module-id}"
+        },
+         {
+            "param-name": "vf-module-model-customization-uuid",
+            "param-value": "${vf-module-model-customization-uuid}"
+        },
+               {
+            "param-name": "fivegc0_snssai",
+            "param-value": "${fivegc0_snssai}"
+        },
+        {
+            "param-name": "config.supportedNssai.sNssai.snssai",
+            "param-value": "${fivegc0_snssai}"
+        }
+               
+               
+    ]
+}