/processes/{id}/rca [ GET ]

 

Get the RCA tree of a given failed process. The RCA tree contains all failed child processes that caused the failure of the given process. 


URL Parameters

Name Optional Valid values
id No Identifier of an existing process (e.g. GDSWtBEHqIw)


Request Examples       

curl -k -u admin:admin https://OPERETOHOST/processes/wOS8h3lTvUW/rca

         

Response Examples          

{
  "status": "success",
  "data": {
    "title": "test sharded DB",
    "children": [
      {
        "title": "bootstrap database",
        "children": [
          {
            "title": "join_slave_node",
            "summary": "ConnectionError: HTTPSConnectionPool(host='localhost', port=9443): Max retries exceeded with url: /v1/bootstrap/val",
            "duration": "0:00:02",
            "agent_id": "test41b38db9_Node3",
            "service_type": "action",
            "service_id": "join_slave_node",
            "id": "RGTzuBOszIy",
            "exec_status": "failure"
          },
          {
            "title": "join_slave_node",
            "summary": "ConnectionError: HTTPSConnectionPool(host='localhost', port=9443): Max retries exceeded with url: /v1/bootstrap/val",
            "duration": "0:00:02",
            "agent_id": "test41b38db9_Node3",
            "service_type": "action",
            "service_id": "join_slave_node",
            "id": "MJuZsP3TWFb",
            "exec_status": "failure"
          }
        ],
        "summary": "",
        "duration": "0:01:43",
        "agent_id": "execution-server-1",
        "service_type": "fixture",
        "service_id": "cluster_bootstrap",
        "id": "3nc7hY9h7FP",
        "exec_status": "failure"
      }
    ],
    "summary": "",
    "duration": "0:07:45",
    "agent_id": "",
    "service_type": "container",
    "service_id": "test_flow_container",
    "id": "8DSwF8qhDfV",
    "exec_status": "failure"
  }
}