Pass rAppInstanceId to k8s participant and create the invoker with the instance Id
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-hello-world / Files / Acm / instances / k8s-instance.json
index c019541..c37d288 100644 (file)
@@ -1,31 +1,35 @@
-{\r
-  "name": "K8DemoInstance0",\r
-  "version": "1.0.1",\r
-  "compositionId": "DO_NOT_CHANGE_THIS_COMPOSITION_ID",\r
-  "description": "Demo automation composition instance 0",\r
-  "elements": {\r
-    "d7be552e-bcc5-4478-b64d-797dbaec8f55": {\r
-      "id": "d7be552e-bcc5-4478-b64d-797dbaec8f55",\r
-      "definition": {\r
-        "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",\r
-        "version": "1.2.3"\r
-      },\r
-      "description": "Starter Automation Composition Element for the Hello World",\r
-      "properties": {\r
-        "chart": {\r
-          "chartId": {\r
-            "name": "hello-world-chart",\r
-            "version": "0.1.0"\r
-          },\r
-          "namespace": "nonrtric",\r
-          "releaseName": "hello-world-chart",\r
-          "podName": "hello-world-chart",\r
-          "repository": {\r
-            "repoName": "local",\r
-            "address": "UPDATE_THIS_CHART_MUSEUM_GET_CHARTS_URI"\r
-          }\r
-        }\r
-      }\r
-    }\r
-  }\r
+{
+  "name": "K8DemoInstance0",
+  "version": "1.0.1",
+  "compositionId": "DO_NOT_CHANGE_THIS_COMPOSITION_ID",
+  "description": "Demo automation composition instance 0",
+  "elements": {
+    "d7be552e-bcc5-4478-b64d-797dbaec8f55": {
+      "id": "d7be552e-bcc5-4478-b64d-797dbaec8f55",
+      "definition": {
+        "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",
+        "version": "1.2.3"
+      },
+      "description": "Starter Automation Composition Element for the Hello World",
+      "properties": {
+        "chart": {
+          "chartId": {
+            "name": "hello-world-chart",
+            "version": "0.1.0"
+          },
+          "namespace": "nonrtric",
+          "releaseName": "hello-world-chart",
+          "podName": "hello-world-chart",
+          "repository": {
+            "repoName": "local",
+            "address": "UPDATE_THIS_CHART_MUSEUM_GET_CHARTS_URI"
+          },
+          "overrideParams": {
+            "appId": "DO_NOT_CHANGE_THIS_RAPP_INSTANCE_ID",
+            "smeDiscoveryEndpoint": "DO_NOT_CHANGE_THIS_SME_DISCOVERY_ENDPOINT"
+          }
+        }
+      }
+    }
+  }
 }
\ No newline at end of file