)]}'
{
  "commit": "442e7c79a650b83c0e84c5827d5f4e9f70b315fb",
  "tree": "90686a69e5f9fdb4d0c4f1f48e372eac5988477c",
  "parents": [
    "18fa0c944878b68cea9174f6f31a10133d3513c8"
  ],
  "author": {
    "name": "khenaidoo",
    "email": "knursimu@ciena.com",
    "time": "Tue Mar 10 16:13:48 2020 -0400"
  },
  "committer": {
    "name": "khenaidoo",
    "email": "knursimu@ciena.com",
    "time": "Tue Mar 17 16:04:32 2020 -0400"
  },
  "message": "[VOL-2164] Update rw-core to use the Async Kafka API\n\nThis commit consists of the following:\n\n1. Process per-device requests in the Core in the order they are\nreceived. If there are lots of requests on a given device then\nthere will be some latencies introduced due to ordering.  With\nrecent changes in the model along with keeping the request lock\nto a minimal then these latencies are reduced.  Testing did not\nshow and noticeable latencies.\n\n2) Keep the request lock from the moment a request started\nprocessing to the moment that request is sent to kafka (when\napplicable).  Adapter responses are received and processed\nasynchronously. Therefore, an adapter can takes all the time it\nneeds to process a transaction.  The Core still has a context\nwith timeout (configurable) to cater for cases where the adapter\ndoes not return a response.\n\n3) Adapter requests are processed to completion before sending a\nreponse back to the adapter.  Previously, in some cases, a\nseparate go routine was created to process the request and a\nsuccessful response is sent to the adapter.  Now if the request\nfails then the adapter will receive an error. The adapter\nrequests for a given device are therefore processed in the\norder they are received.\n\n4) Some changes are made when retrieving a handler to execute\na device state transition.  This was necessary as there was some\ntransition overlap found.\n\nUpdate after multiple reviews.\n\nChange-Id: I55a189efec1549a662f2d71e18e6eca9015a3a17\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c2c3ce21c7103164e956eccf122a29f52977122",
      "old_mode": 33188,
      "old_path": "rw_core/config/config.go",
      "new_id": "2ec9d18a792e9c85f08860d59cf90e77d9245202",
      "new_mode": 33188,
      "new_path": "rw_core/config/config.go"
    },
    {
      "type": "modify",
      "old_id": "f6e986703e24ffa3842a41c898cbc13f763006d8",
      "old_mode": 33261,
      "old_path": "rw_core/core/adapter_proxy.go",
      "new_id": "e3c362edfc781c0874d60ea471dc6c134d2897a2",
      "new_mode": 33261,
      "new_path": "rw_core/core/adapter_proxy.go"
    },
    {
      "type": "modify",
      "old_id": "3989142c5d00e8f3d42c5d501e9ad542de03bc4b",
      "old_mode": 33261,
      "old_path": "rw_core/core/adapter_proxy_test.go",
      "new_id": "36e5e51b364b704c8012d5c07dc9e216ecf95808",
      "new_mode": 33261,
      "new_path": "rw_core/core/adapter_proxy_test.go"
    },
    {
      "type": "modify",
      "old_id": "fd07c7efc17398424bd952c68b341f7b0e5b1f06",
      "old_mode": 33188,
      "old_path": "rw_core/core/adapter_request_handler.go",
      "new_id": "85af539a6a81faedb57fff0f20fe523022d4fb8f",
      "new_mode": 33188,
      "new_path": "rw_core/core/adapter_request_handler.go"
    },
    {
      "type": "modify",
      "old_id": "42d628a8edf4965b5b2b0ce105bfdfbbd4556599",
      "old_mode": 33261,
      "old_path": "rw_core/core/device_agent.go",
      "new_id": "837e88498ca30a3e0f82375f206af1745bb0caa9",
      "new_mode": 33261,
      "new_path": "rw_core/core/device_agent.go"
    },
    {
      "type": "modify",
      "old_id": "be5fdb1890a6c27100e06445219907153553af77",
      "old_mode": 33261,
      "old_path": "rw_core/core/device_agent_test.go",
      "new_id": "85fc09e7870f8095b7f53e0b54212aac919abfe3",
      "new_mode": 33261,
      "new_path": "rw_core/core/device_agent_test.go"
    },
    {
      "type": "modify",
      "old_id": "98c45eb6d2bacd224ac4fc5a0a624c776a6cb1c4",
      "old_mode": 33261,
      "old_path": "rw_core/core/device_manager.go",
      "new_id": "0d774296bf12a6beb81778ed7ce6601bd1cd98ca",
      "new_mode": 33261,
      "new_path": "rw_core/core/device_manager.go"
    },
    {
      "type": "modify",
      "old_id": "9b4acf3f5a4dd5dd170852a1d24c13287c76087f",
      "old_mode": 33188,
      "old_path": "rw_core/core/device_state_transitions.go",
      "new_id": "69dfd78fc148695c952568c9e6c7701805a3c0a3",
      "new_mode": 33188,
      "new_path": "rw_core/core/device_state_transitions.go"
    },
    {
      "type": "modify",
      "old_id": "15d72f396ca96dd27d616b1ab8e9c205c9f781e9",
      "old_mode": 33188,
      "old_path": "rw_core/core/device_state_transitions_test.go",
      "new_id": "8eecd7026d2e97737bd40001283f72458486b1e3",
      "new_mode": 33188,
      "new_path": "rw_core/core/device_state_transitions_test.go"
    },
    {
      "type": "modify",
      "old_id": "eaf8facd933a9308d76bd02511175094a911f3e0",
      "old_mode": 33261,
      "old_path": "rw_core/core/grpc_nbi_api_handler.go",
      "new_id": "0196f35217d252b46ae0254fa469c9c818092624",
      "new_mode": 33261,
      "new_path": "rw_core/core/grpc_nbi_api_handler.go"
    },
    {
      "type": "modify",
      "old_id": "1b956d29347e4dba3000e5f2c6d09a0d731eaa46",
      "old_mode": 33261,
      "old_path": "rw_core/core/grpc_nbi_api_handler_test.go",
      "new_id": "662302cfad4e97348d1eea2924c323ddc88759b7",
      "new_mode": 33261,
      "new_path": "rw_core/core/grpc_nbi_api_handler_test.go"
    },
    {
      "type": "modify",
      "old_id": "dfc39071745d4fed766386bcaec156b488079555",
      "old_mode": 33188,
      "old_path": "rw_core/core/logical_device_agent.go",
      "new_id": "4e029c87ba092e49fc6ae0cc9264c61ef645f54a",
      "new_mode": 33188,
      "new_path": "rw_core/core/logical_device_agent.go"
    },
    {
      "type": "modify",
      "old_id": "ece7c7b2f9a2fe6cf5505c74575ac8d7af00ebdd",
      "old_mode": 33188,
      "old_path": "rw_core/core/logical_device_agent_test.go",
      "new_id": "957bb5084f12de015fcef4eb677c7bf4977d03d1",
      "new_mode": 33188,
      "new_path": "rw_core/core/logical_device_agent_test.go"
    },
    {
      "type": "modify",
      "old_id": "e6b8fe0deec02bc4674cc1a6d8feea4ea796786f",
      "old_mode": 33188,
      "old_path": "rw_core/core/logical_device_manager.go",
      "new_id": "df11ac4840b85561e42fe51a96302484896600d4",
      "new_mode": 33188,
      "new_path": "rw_core/core/logical_device_manager.go"
    },
    {
      "type": "modify",
      "old_id": "60da009db79e0749f3e661a90ed5c35f6ff6d27f",
      "old_mode": 33188,
      "old_path": "rw_core/coreif/device_manager_if.go",
      "new_id": "a3f65cfdbc7fd49f755fafa1f80509c284f956fd",
      "new_mode": 33188,
      "new_path": "rw_core/coreif/device_manager_if.go"
    },
    {
      "type": "modify",
      "old_id": "0670bdfb93e0892ff0db68f42a9615331210ea7f",
      "old_mode": 33188,
      "old_path": "rw_core/coreif/logical_device_agent_if.go",
      "new_id": "ac4201a10a11160057ab635f5126a21fec796c53",
      "new_mode": 33188,
      "new_path": "rw_core/coreif/logical_device_agent_if.go"
    },
    {
      "type": "modify",
      "old_id": "6164f0ddbb10bfdbbd08fb5b2095914d438d7e90",
      "old_mode": 33188,
      "old_path": "rw_core/flowdecomposition/flow_decomposer_test.go",
      "new_id": "3517f4350fa8f0ccd49aa61ed80569d934ca0f53",
      "new_mode": 33188,
      "new_path": "rw_core/flowdecomposition/flow_decomposer_test.go"
    },
    {
      "type": "modify",
      "old_id": "303bae371d584ae84e590fc2f3817972988b7398",
      "old_mode": 33188,
      "old_path": "rw_core/mocks/adapter_olt.go",
      "new_id": "f145ab6427ad0f8d40cb3af4c989edd609e9e3cf",
      "new_mode": 33188,
      "new_path": "rw_core/mocks/adapter_olt.go"
    },
    {
      "type": "modify",
      "old_id": "73ee74981096ea0fc7e932f6a2b15db50586162e",
      "old_mode": 33188,
      "old_path": "rw_core/mocks/adapter_onu.go",
      "new_id": "c31cb930d242d127c1e8dd157e4c95375b13c729",
      "new_mode": 33188,
      "new_path": "rw_core/mocks/adapter_onu.go"
    },
    {
      "type": "modify",
      "old_id": "45e5af5ab883c25299ec2e76b7fabd2052681bf4",
      "old_mode": 33188,
      "old_path": "rw_core/mocks/device_manager.go",
      "new_id": "b3d63cbbf92529069ca292262df3feb21cfdb349",
      "new_mode": 33188,
      "new_path": "rw_core/mocks/device_manager.go"
    },
    {
      "type": "modify",
      "old_id": "82465efb3d0eb9d64810583ae9be5bfa2bd111dd",
      "old_mode": 33188,
      "old_path": "rw_core/utils/core_utils.go",
      "new_id": "bffd9c4d26632924eba70e3dba199e41c0cc4ff6",
      "new_mode": 33188,
      "new_path": "rw_core/utils/core_utils.go"
    },
    {
      "type": "modify",
      "old_id": "d7797e5897cb1920256ce331692dbba07345034e",
      "old_mode": 33188,
      "old_path": "rw_core/utils/core_utils_test.go",
      "new_id": "04576061f3f15fd404bc8211116958e63feff8a3",
      "new_mode": 33188,
      "new_path": "rw_core/utils/core_utils_test.go"
    }
  ]
}
