Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample Datajob read request (rAPP -> DCM)

JSON Viewer
Datajob read request (rAPP -> DCM):
POST: https://<root-domain>/ranoamcm/v1/datajob?destination=kafka-topic   # (m) can be kafka-topic or s3-bucket (specify the datastore type and not the datastore name)
{                 
  "dataaccepttype": "application/vnd.3gpp.object-tree-hierarchical+json",
  "datacontenttype": "application/3gpp-json-patch+json",
  "data": [
    {
      "op": "read",
      "operationId": 1,
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=2",
      "attributes": "userLabel",
      "scope": {
        "scopeType" : BASE_ONLY
      }
    },
    {
      "op": "read", 
      "operationId": 2,
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR01gNodeBRadio00001/ManagedElement=NR01gNodeBRadio00001/GNBDUFunction=1",
      "filter": "NRCellDU/attributes/administrativeState==LOCKED"
    },
    {
      "op": "read", 
      "operationId": 3,
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1",
      "attributes ": "cellId"
    }]
}

...

Sample Datajob write request (rAPP -> DCM)

JSON Viewer
Datajob write request (rAPP -> DCM):
PUT: https://<root-domain>/ranoamcm/v1/datajob?destination=s3-bucket   # (m) can be kafka-topic or s3-bucket (specify the datastore type and not the datastore name)
{
  "dataaccepttype": "application/vnd.3gpp.object-tree-hierarchical+json",
  "datacontenttype": "application/3gpp-json-patch+json",
  "data": [
    {
      "op": "add",
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=12",
      "value": {
        "id": "12",
        "attributes": {
          "userLabel": "label12",
          "arfcnValueEUtranDl": "12"
        }
      }
    },
    {
      "op": "add",
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=11",
      "value": {
        "id": "11",
        "attributes": {
          "userLabel": "label11"
        }
      }
    },
    {
      "op": "replace",
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=1#/attributes/userLabel",
      "value": "label1"
    },
    {
      "op": "remove",
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003/GNBCUCPFunction=1/EUtraNetwork=1/EUtranFrequency=13"
    },
    {
      "op": "action",
      "path": "SubNetwork=Europe/SubNetwork=Ireland/MeContext=NR03gNodeBRadio00003/ManagedElement=NR03gNodeBRadio00003",
      "value": "sync"
    }
  ]
}  

...