X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Fconfig%2Fconfig-file.json;h=8caecdb96dfe358b9f3beec2d3b5a8a1f1dd755f;hb=3a616f30fbc699858c708187378dc0c87843d31e;hp=23c4c5f2688bc1798513bd12b4b045394796ae88;hpb=d28b8dd34b07b5af77802ba408d859b00215cd35;p=ric-plt%2Fxapp-frame.git diff --git a/examples/config/config-file.json b/examples/config/config-file.json index 23c4c5f..8caecdb 100755 --- a/examples/config/config-file.json +++ b/examples/config/config-file.json @@ -1,37 +1,109 @@ { - "local": { - "host": ":8080" + "name": "example", + "version": "0.6.0", + "vendor": "Nokia", + "moId": "SEP", + "containers": [ + { + "name": "example", + "image": { + "registry": "ranco-dev-tools.eastus.cloudapp.azure.com:10001", + "name": "example-xapp", + "tag": "0.5.3" + }, + "resources": { + "limits": { + "cpu": "1", + "memory": "50Mi" + }, + "requests": { + "cpu": "1", + "memory": "100Mi" + } + } + } + ], + "livenessProbe": { + "httpGet": { + "path": "ric/v1/health/alive", + "port": 8080 + }, + "initialDelaySeconds": 5, + "periodSeconds": 15 }, - "logger": { - "level": 3 + "readinessProbe": { + "httpGet": { + "path": "ric/v1/health/ready", + "port": 8080 + }, + "initialDelaySeconds": 5, + "periodSeconds": 15 }, - "db": { - "namespace": "sdl", - "waitForSdl": true + "messaging": { + "ports": [ + { + "name": "http", + "container": "example", + "port": 8080, + "description": "http service" + }, + { + "name": "rmr-route", + "container": "example", + "port": 4561, + "description": "rmr route port for example" + }, + { + "name": "rmr-data", + "container": "example", + "port": 4560, + "maxSize": 65536, + "rxMessages": ["RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_INDICATION"], + "txMessages": ["RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_SGNB_ADDITION_REQ", "RIC_SGNB_ADDITION_ACK"], + "mtypes" : [ + {"name":"TESTNAME1","id":55555}, + {"name":"TESTNAME2","id":55556} + ], + "policies": [], + "description": "rmr data port for example" + } + ] }, "controls": { - "subscriptionActive": true + "logger": { + "level": 3 + }, + "subscription": { + "subscriptionActive": true + } }, - "rmr": { - "protPort": "tcp:4560", - "maxSize": 65536, - "rxMessages": ["RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_INDICATION"], - "txMessages": ["RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_SGNB_ADDITION_REQ", "RIC_SGNB_ADDITION_ACK"] + "metrics": { + "url": "/ric/v1/metrics", + "namespace": "ricxapp" }, - "metrics": [ - { - "objectName": "UEEventStreamingCounters", - "objectInstance": "SgNBAdditionRequest", - "name": "ricxapp_ExampleXapp_SgNBAdditionRequest", - "type": "counter", - "description": "The total number of SG addition request events processed" - }, + "faults": { }, + "measurements": [ { - "objectName": "UEEventStreamingCounters", - "objectInstance": "SgNBAdditionRequestAcknowledge", - "name": "ricxapp_ExampleXapp_SgNBAdditionRequestAcknowledge", - "type": "counter", - "description": "The total number of SG addition request acknowledge events" + "moId": "XAPP-example", + "measType": "X2AP_Streaming", + "measId": "91001", + "measInterval": "60", + "metrics": [ + { + "objectName": "UEEventStreamingCounters", + "objectInstance": "SgNBAdditionRequest", + "name": "ricxapp_ExampleXapp_SgNBAdditionRequest", + "type": "counter", + "description": "The total number of SG addition request events processed" + }, + { + "objectName": "UEEventStreamingCounters", + "objectInstance": "SgNBAdditionRequestAcknowledge", + "name": "ricxapp_ExampleXapp_SgNBAdditionRequestAcknowledge", + "type": "counter", + "description": "The total number of SG addition request acknowledge events" + } + ] } ] }