summaryrefslogtreecommitdiffstats
path: root/ANR-App/config
diff options
context:
space:
mode:
Diffstat (limited to 'ANR-App/config')
-rw-r--r--ANR-App/config/RanInputMSG.txt34
-rw-r--r--ANR-App/config/RanOutputMSG.txt59
-rw-r--r--ANR-App/config/application.properties14
3 files changed, 107 insertions, 0 deletions
diff --git a/ANR-App/config/RanInputMSG.txt b/ANR-App/config/RanInputMSG.txt
new file mode 100644
index 0000000..befc04c
--- /dev/null
+++ b/ANR-App/config/RanInputMSG.txt
@@ -0,0 +1,34 @@
+{"closedLoopControlName":"ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61","closedLoopAlarmStart":1606805921693,"closedLoopEventClient":"microservice.PCI","closedLoopEventStatus":"ONSET","target":"pnf.pnf-name","from":"PCIMS","version":"1.0.2","policyName":"PCI","policyVersion":"1.0.2","target_type":"PNF","requestID":"82feb01e-4f3e-40e2-b8df-683adabae893","AAI":{"generic-vnf.prov-status":"ACTIVE","generic-vnf.is-closed-loop-disabled":"false","pnf.pnf-name":"ncserver1"},
+"Action":"CreateA1Policy",
+"payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"ric1",
+"policy_data":{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0014","neighbours":[{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0000","ho-kpi1":100},
+{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0001","ho-kpi1":90}]}}}
+{"action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..","payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"22","policy_data":{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15549","neighbours":[{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"14427","ho-kpi1":100},{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15548","ho-kpi1":90}]}},"policy_type_id":"String / {"name":"","version":"")","policy_id": "string(unique id)"}
+{"action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..","payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"22","policy_data":{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15549","neighbours":[{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"14427","ho-kpi1":100},{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15548","ho-kpi1":90}]}},"policy_type_id":"String","policy_id": "string(unique id)"}
+{
+ "action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..",
+ "payload": {
+ "action": "CreatePolicy",
+ "policy_id": 1,
+ "policy_type_id": 1,
+ "ric_id": "22",
+ "policy_data": {
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "15549",
+ "neighbours": [{
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "14427",
+ "ho-kpi1": 100
+ }, {
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "15548",
+ "ho-kpi1": 90
+ }]
+ }
+ },
+ "policy_type_id": "String",
+ "policy_id": "string(unique id)"
+}
diff --git a/ANR-App/config/RanOutputMSG.txt b/ANR-App/config/RanOutputMSG.txt
new file mode 100644
index 0000000..8c9b4ef
--- /dev/null
+++ b/ANR-App/config/RanOutputMSG.txt
@@ -0,0 +1,59 @@
+{
+ "closedLoopControlName":"ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61",
+ "closedLoopAlarmStart":1606805921693,
+ "closedLoopEventClient":"microservice.PCI",
+ "closedLoopEventStatus":"ONSET",
+ "target":"pnf.pnf-name",
+ "from":"PCIMS",
+ "version":"1.0.2",
+ "policyName":"PCI",
+ "policyVersion":"1.0.2",
+ "payload":{
+ "Configurations":[
+ {
+ "data":{
+ "ric_id": "ric1",
+ "FAPService":{
+ "alias":"Chn0014",
+ "CellConfig":{
+ "LTE":{
+ "RAN":{
+ "Common":{
+ "CellIdentity":"Chn0014"
+ },
+ "NeighborListInUse":{
+ "LTECell":[
+ {
+ "PNFName":"ncserver1",
+ "PLMNID":"ran-1",
+ "CID":"Chn0000",
+ "PhyCellID":0,
+ "isHOAllowed":"true"
+ },
+ {
+ "PNFName":"ncserver1",
+ "PLMNID":"ran-1",
+ "CID":"Chn0001",
+ "PhyCellID":0,
+ "isHOAllowed":"true"
+ }
+ ],
+ "LTECellNumberOfEntries":"2"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "target_type":"PNF",
+ "requestID":"82feb01e-4f3e-40e2-b8df-683adabae893",
+ "AAI":{
+ "generic-vnf.prov-status":"ACTIVE",
+ "generic-vnf.is-closed-loop-disabled":"false",
+ "pnf.pnf-name":"ncserver1"
+ },
+ "Action":"ModifyConfigANR"
+} \ No newline at end of file
diff --git a/ANR-App/config/application.properties b/ANR-App/config/application.properties
new file mode 100644
index 0000000..947987e
--- /dev/null
+++ b/ANR-App/config/application.properties
@@ -0,0 +1,14 @@
+server.port=9091
+kafka.bootstrapAddress=localhost:9092
+spring.kafka.producer.bootstrap-servers=localhost:9092
+spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
+spring.kafka.producer.value-serializer=org.springframework.kafka.support.serializer.JsonSerializer
+ranapp.testing.topic.name=xapptest-topic
+ranapp.testing.topic.id=group1
+restapi.version=v1
+websocketserver.address=43.204.239.187:8081
+websocketserver.endpoint=/ransim/RansimAgent/ANR-xAPP:9091
+ranapp.name=ANR-RanAPP:9091
+ranapp.policytype=ANR
+ranapp.hokpi1_threshold=100
+kafkadispatcher.url=http://localhost:7075/policytypetotopicmapping/