aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Shirchenko <>
Subject Re: Review Request 51980: Refactor of Webhook and no longer posting entire task state via webhook on scheduler restart
Date Sat, 17 Sep 2016 01:40:15 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 17, 2016, 1:40 a.m.)

Review request for Aurora, Maxim Khutornenko and Zameer Manji.

Bugs: AURORA-1772

Repository: aurora

Description (updated)

This is a refactor with addition of HttpClient injected into Webhook class as opposed to previous
usage of lower level HtttpURLConnection objects. Additionally due to peformance issues, it
is unncessary to POST entire task state to webhook endpoint on every scheduler restart so
that is removed in this patch.


  build.gradle d5a3a7a3bdb8349de6fc01d4a6271b32d942e531 
  src/main/java/org/apache/aurora/scheduler/events/ e54aa19d67278fcb5586f07c399f09062f845a18

  src/main/java/org/apache/aurora/scheduler/events/ e4193f7518e66d210a6d5aae22a9f04e2d4984b3

  src/main/java/org/apache/aurora/scheduler/events/ eaa70533a64740c74cebf15739b7142e2d3a4d11

  src/main/resources/org/apache/aurora/scheduler/webhook.json 00787985510d7d415b8074bef06d28b635c78b09

  src/test/java/org/apache/aurora/scheduler/events/ 488eefd14c3e67a41a75c809397c8d19f83cc08a



Part of reason for refactor is to allow easier testing so cleaner unit tests were added with
more code coverage.


Dmitriy Shirchenko

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message