Add data scripts for nonrtric k8s deployment
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
index 8482f6c..84ba0ed 100644 (file)
@@ -26,13 +26,14 @@ common:
 
 component: nonrtric
 
+# A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
 a1controller:
   a1controller:
     imagePullPolicy: IfNotPresent
     image:
-      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
       name: nonrtric-a1-controller
-      tag: 1.7.5
+      tag: 2.0.1
     replicaCount: 1
     service:
       allowHttp: true
@@ -43,7 +44,7 @@ a1controller:
       internalPort2: 8383
       targetPort2: 8443
     liveness:
-      initialDelaySeconds: 60
+      initialDelaySeconds: 300
       periodSeconds: 10
     readiness:
       initialDelaySeconds: 60
@@ -54,10 +55,11 @@ a1simulator:
     name: a1-sim
     imagePullPolicy: IfNotPresent
     image:
-      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
       name: a1-simulator
-      tag: 1.0.1
+      tag: 2.0.0
     service:
+      allowHttp: true
       httpName: http
       internalPort1: 8085
       targetPort1: 8085
@@ -83,9 +85,9 @@ controlpanel:
   controlpanel:
     imagePullPolicy: IfNotPresent
     image:
-      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
       name: nonrtric-controlpanel
-      tag: 1.0.0
+      tag: 2.0.0
     replicaCount: 1
     service:
       allowHttp: true
@@ -109,9 +111,9 @@ policymanagementservice:
   policymanagementservice:
     imagePullPolicy: IfNotPresent
     image:
-      registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
+      registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
       name: nonrtric-policy-agent
-      tag: 1.0.0
+      tag: 2.0.1
     service:
       allowHttp: true
       httpName: http
@@ -127,4 +129,62 @@ policymanagementservice:
       periodSeconds: 10
     readiness:
       initialDelaySeconds: 20
-      periodSeconds: 10
\ No newline at end of file
+      periodSeconds: 10
+    ric: |
+      [
+        {
+             "name":"ric1",
+             "baseUrl":"https://a1-sim-osc-0.a1-sim:8185",
+             "controller": "controller1",
+             "managedElementIds":[
+                "kista_1",
+                "kista_2"
+             ]
+          },
+          {
+            "name":"ric2",
+            "baseUrl":"https://a1-sim-osc-1.a1-sim:8185",
+            "controller": "controller1",
+            "managedElementIds":[
+               "kista_1",
+               "kista_2"
+            ]
+          },
+          {
+            "name":"ric3",
+            "baseUrl":"https://a1-sim-std-0.a1-sim:8185",
+            "controller": "controller1",
+            "managedElementIds":[
+               "kista_1",
+               "kista_2"
+            ]
+          },
+          {
+            "name":"ric4",
+            "baseUrl":"https://a1-sim-std-1.a1-sim:8185",
+            "controller": "controller1",
+            "managedElementIds":[
+               "kista_1",
+               "kista_2"
+            ]
+          }
+      ]
+    streams_publishes: |
+      {
+        "dmaap_publisher": {
+          "type":"message_router",
+          "dmaap_info":{
+            "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE"
+          }
+        }
+      }
+    streams_subscribes: |
+      {
+        "dmaap_subscriber":{
+          "type":"message_router",
+          "dmaap_info":{
+            "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100"
+          }
+        }
+      }
+