Pass rAppInstanceId to k8s participant and create the invoker with the instance Id
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-all / Files / Acm / instances / all-instance.json
1 {
2   "name": "AllInstance0",
3   "version": "1.0.1",
4   "compositionId": "DO_NOT_CHANGE_THIS_COMPOSITION_ID",
5   "description": "Demo automation composition instance",
6   "elements": {
7     "709c62b3-8918-41b9-a747-d21eb79c6c12": {
8       "id": "709c62b3-8918-41b9-a747-d21eb79c6c12",
9       "definition": {
10         "name": "onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement",
11         "version": "1.2.3"
12       },
13       "description": "Starter Automation Composition Element for the Demo",
14       "properties": {
15         "policyServiceEntities": [
16           {
17             "a1PolicyServiceEntityId": {
18               "name": "entity1",
19               "version": "1.0.1"
20             },
21             "clientId": "firstService",
22             "callbackUrl": "http:\\localhost"
23           }
24         ]
25       }
26     },
27     "709c62b3-8918-41b9-a747-d21eb79c6c21": {
28       "id": "709c62b3-8918-41b9-a747-d21eb79c6c21",
29       "definition": {
30         "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",
31         "version": "1.2.3"
32       },
33       "description": "Starter Automation Composition Element for the Demo",
34       "properties": {
35         "chart": {
36           "chartId": {
37             "name": "ransliceassurance",
38             "version": "1.0.0"
39           },
40           "namespace": "nonrtric",
41           "releaseName": "ransliceassurance",
42           "podName": "ransliceassurance",
43           "repository": {
44             "repoName": "local",
45             "address": "UPDATE_THIS_CHART_MUSEUM_GET_CHARTS_URI"
46           },
47           "overrideParams": {
48             "appId": "DO_NOT_CHANGE_THIS_RAPP_INSTANCE_ID",
49             "smeDiscoveryEndpoint": "DO_NOT_CHANGE_THIS_SME_DISCOVERY_ENDPOINT"
50           }
51         }
52       }
53     },
54     "709c62b3-8918-41b9-a747-d21eb79c6c20": {
55       "id": "709c62b3-8918-41b9-a747-d21eb79c6c20",
56       "definition": {
57         "name": "onap.policy.clamp.ac.element.KserveAutomationCompositionElement",
58         "version": "1.2.3"
59       },
60       "description": "Starter Automation Composition Element for the Demo",
61       "properties": {
62         "kserveInferenceEntities": [
63           {
64             "kserveInferenceEntityId": {
65               "name": "entity1",
66               "version": "1.0.1"
67             },
68             "name": "sklearn-iris",
69             "namespace": "kserve-test",
70             "payload": "{\"apiVersion\": \"serving.kserve.io/v1beta1\",\"kind\": \"InferenceService\",\"metadata\": {\"name\": \"sklearn-iris\"},\"spec\": {\"predictor\": {\"model\":{\"modelFormat\": {\"name\": \"sklearn\"},\"storageUri\": \"gs://kfserving-examples/models/sklearn/1.0/model\"}}}}"
71           }
72         ]
73       }
74     }
75   }
76 }