X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=init%2Fconfig-file.json;h=d3dce7f8fd21979997e844eee748e067e6c0e594;hb=HEAD;hp=d4db879a84259894eb6b86f742feebfaf1441f85;hpb=3baf0b7442b45212ad859904fb061c3de4daef69;p=ric-app%2Fhw.git diff --git a/init/config-file.json b/init/config-file.json index d4db879..d3dce7f 100644 --- a/init/config-file.json +++ b/init/config-file.json @@ -1,83 +1,49 @@ -{ - "config-file.json": { - "xapp_name": "hwxapp", - "version": "1.0.0", - "containers": [ - { - "name": "hwxapp", - "image": { - "registry": "nexus3.o-ran-sc.org:10002", - "name": "o-ran-sc/ric-app-hw", - "tag": "0.0.1" - }, - "command": "python3 init.py config-file.json" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "/usr/local/bin/health_ck" - ] - }, - "initialDelaySeconds": 5, - "periodSeconds": 15 - }, - "messaging": { - "ports": [ - { - "name": "rmr-data", - "container": "hwxapp", - "port": 4560, - "rxMessages": [ - "RIC_SUB_RESP", - "RIC_SUB_FAILURE", - "RIC_SUB_DEL_RESP", "RIC_SUB_DEL_FAILURE", "RIC_INDICATION", "RIC_CONTROL_ACK", "RIC_CONTROL_FAILURE", "A1_POLICY_REQ", "RIC_HEALTH_CHECK_REQ" - ], - "txMessages": [ "RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_CONTROL_REQ", "A1_POLICY_RESP", "A1_POLICY_QUERY", "RIC_HEALTH_CHECK_RESP" ], - "policies": [1], - "description": "rmr receive data port for HWxapp" - }, - { - "name": "rmr-route", - "container": "hwxapp", - "port": 4561, - "description": "rmr route port for hwxapp" - } - ] - }, - "controls": { - "ves_collector_address": "xapp-sandbox2.research.att.com:8888" - }, - "rmr": { - "protPort": "tcp:4560", - "maxSize": 2072, - "numWorkers": 1, - "txMessages": [ - "RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_CONTROL_REQ", "A1_POLICY_RESP", "A1_POLICY_QUERY", "RIC_HEALTH_CHECK_RESP" - ], - "rxMessages": [ - "RIC_SUB_RESP", - "RIC_SUB_FAILURE", - "RIC_SUB_DEL_RESP", "RIC_SUB_DEL_FAILURE", "RIC_INDICATION", "RIC_CONTROL_ACK", "RIC_CONTROL_FAILURE", "A1_POLICY_REQ", "RIC_HEALTH_CHECK_REQ" - ] - } - }, - "controls-schema.json": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "#/controls", - "type": "object", - "title": "Controls Section Schema", - "required": [], - "properties": { - "ves_collector_address": { - "$id": "#/controls/ves_collector_address", - "type": "string", - "title": "ves_collector_address", - "default": "localhost:8080", - "examples": [ - "localhost:8080" - ] - } - } - } -} \ No newline at end of file + { + "xapp_name": "hwxapp", + "version": "1.0.0", + "containers": [ + { + "name": "hwxapp", + "image": { + "registry": "nexus3.o-ran-sc.org:10002", + "name": "o-ran-sc/ric-app-hw", + "tag": "1.0.6" + } + } + ], + "messaging": { + "ports": [ + { + "name": "rmr-data", + "container": "hwxapp", + "port": 4560, + "rxMessages": [ + "RIC_SUB_RESP", + "A1_POLICY_REQ", "RIC_HEALTH_CHECK_REQ" + ], + "txMessages": [ "RIC_SUB_REQ", "A1_POLICY_RESP", "A1_POLICY_QUERY", "RIC_HEALTH_CHECK_RESP" ], + "policies": [1], + "description": "rmr receive data port for HWxapp" + }, + { + "name": "rmr-route", + "container": "hwxapp", + "port": 4561, + "description": "rmr route port for hwxapp" + } + ] + }, + "rmr": { + "protPort": "tcp:4560", + "maxSize": 2072, + "numWorkers": 1, + "txMessages": [ + "RIC_SUB_REQ", "A1_POLICY_RESP", "A1_POLICY_QUERY", "RIC_HEALTH_CHECK_RESP" + ], + "rxMessages": [ + "RIC_SUB_RESP", + "A1_POLICY_REQ", "RIC_HEALTH_CHECK_REQ" + ], + "policies": [1] + } + }