update the config schemas 22/4722/1
authorNicolas Hu <jh245g@att.com>
Fri, 18 Sep 2020 18:07:49 +0000 (14:07 -0400)
committerNicolas Hu <jh245g@att.com>
Fri, 18 Sep 2020 18:09:30 +0000 (14:09 -0400)
Signed-off-by: Jun (Nicolas) Hu <jh245g@att.com>
Change-Id: I1ad6cf3fe55611da12a1d17e980e33a8e30be18b

xapp_onboarder/xapp_onboarder/xapp-onboarder-api.yaml

index 28b48f9..43cb490 100644 (file)
@@ -241,6 +241,7 @@ components:
       required:
       - version
       - xapp_name
+      - containers
       type: object
       properties:
         xapp_name:
@@ -250,6 +251,34 @@ components:
           pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
           type: string
           description: Version of the xApp chart
+        containers:
+          type: object
+          properties: {}
+          description: list of containers that the xApp will run
+        controls:
+          type: object
+          properties: {}
+          description: internal configuration of the xApp
+        metrics:
+          type: object
+          properties: {}
+          description: metrics provided by the xApp
+        messaging:
+          type: object
+          properties: {}
+          description: communication ports for each containers
+        livenessProbe:
+          type: object
+          properties: {}
+          description: liveness probe
+        readinessProbe:
+          type: object
+          properties: {}
+          description: readiness probe
+        rmr:
+          type: object
+          properties: {}
+          description: rmr info          
     error_message:
       required:
       - error_message