Versions Compared

Key

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

...

Code Block
languagebash
titleONSET Event Posted by Holmes
linenumberstrue
collapsetrue
{
       "target": "vserver.vserver-name",
       "target_type": "VM",
       "AAI": {
           "vserver.in-maint": true,
           "vserver.is-closed-loop-disabled": false,
           "vserver.prov-status": "example-prov-status-val-2",
           "vserver.resource-version": "1504912891060",
           "vserver.vserver-id": "example-vserver-id-val-2",
           "vserver.vserver-name": "example-vserver-name-val-2",
           "vserver.vserver-name2": "example-vserver-name2-val-2",
           "vserver.vserver-selflink": "example-vserver-selflink-val-2",
           "generic-vnf.vnf-id": "5e49ca06-2972-4532-9ed4-6d071588d792",
           "service-instance.service-instance-id": "USUCP0PCOIL0110UJZZ01"
       },
       "closedLoopAlarmStart": 1484855291527925,
       "closedLoopEventStatus": "ONSET",
       "closedLoopControlName": "ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b",
       "version": "1.0.2",
       "requestID": "8c1b8bd8-06f7-493f-8ed7-daaa4cc481bc",
       "from": "DCAE"
}

Health Check

Code Block
languagebash
titleHealth Check
collapsetrue
root@vm03-policy:/opt/policy/config/drools# curl --silent --user 'healthcheck:zb!XztG34' -X GET http://localhost:6969/healthcheck | python -m json.tool
{
    "details": [
        {
            "code": 200,
            "healthy": true,
            "message": "alive",
            "name": "PDP-D",
            "url": "self"
        },
        {
            "code": 200,
            "healthy": true,
            "message": "",
            "name": "PAP",
            "url": "http://pap:9091/pap/test"
        },
        {
            "code": 200,
            "healthy": true,
            "message": "",
            "name": "PDP",
            "url": "http://pdp:8081/pdp/test"
        }
    ],
    "healthy": true
}

Debug

Drools dcoker configuraion file. You can set VFC url, username, passwd in it and then restart the constainer

...