{"action":"created","comment":{"url":"https://api.github.com/repos/azkaban/azkaban/pulls/comments/38121448","id":38121448,"diff_hunk":"@@ -0,0 +1,635 @@\n+/*\n+ * Copyright 2015 LinkedIn Corp.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance with the License. You may obtain a copy of\n+ * the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+\n+package azkaban.executor;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.Comparator;\n+import java.util.Date;\n+import org.apache.log4j.BasicConfigurator;\n+import org.junit.After;\n+import org.junit.Assert;\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+import azkaban.executor.dispatcher.*;\n+\n+public class DispatcherTest {\n+  // mock executor object.\n+  protected class MockExecutorObject{\n+    public String name;\n+    public int    port;\n+    public double percentOfRemainingMemory;\n+    public int    amountOfRemainingMemory;\n+    public int    priority;\n+    public Date   lastAssigned;\n+    public double percentOfRemainingFlowcapacity;\n+    public int    remainingTmp;\n+\n+    public MockExecutorObject(String name,\n+        int port,\n+        double percentOfRemainingMemory,\n+        int amountOfRemainingMemory,\n+        int priority,\n+        Date lastAssigned,\n+        double percentOfRemainingFlowcapacity,\n+        int remainingTmp)\n+    {\n+      this.name = name;\n+      this.port = port;\n+      this.percentOfRemainingMemory = percentOfRemainingMemory;\n+      this.amountOfRemainingMemory =amountOfRemainingMemory;\n+      this.priority = priority;\n+      this.lastAssigned = lastAssigned;\n+      this.percentOfRemainingFlowcapacity = percentOfRemainingFlowcapacity;\n+      this.remainingTmp = remainingTmp;\n+    }\n+\n+    @Override\n+    public String toString()\n+    {\n+      return this.name;\n+    }\n+  }\n+\n+  // Mock flow object.\n+  protected class MockFlowObject{\n+    public String name;\n+    public int    requiredRemainingMemory;\n+    public int    requiredTotalMemory;\n+    public int    requiredRemainingTmpSpace;\n+    public int    priority;\n+\n+    public MockFlowObject(String name,\n+        int requiredTotalMemory,\n+        int requiredRemainingMemory,\n+        int requiredRemainingTmpSpace,\n+        int priority)\n+    {\n+      this.name = name;\n+      this.requiredTotalMemory = requiredTotalMemory;\n+      this.requiredRemainingMemory = requiredRemainingMemory;\n+      this.requiredRemainingTmpSpace = requiredRemainingTmpSpace;\n+      this.priority = priority;\n+    }\n+\n+    @Override\n+    public String toString()\n+    {\n+      return this.name;\n+    }\n+  }\n+\n+  // mock Filter class.\n+  protected class MockFilter\n+  extends CandidateFilter<MockExecutorObject,MockFlowObject>{\n+\n+    @Override\n+    public String getName() {\n+      return \"Mockfilter\";\n+    }\n+\n+    public MockFilter(){\n+    }\n+\n+    // function to register the remainingMemory filter.\n+    // for test purpose the registration is put in a separated method, in production the work should be done\n+    // in the constructor.\n+    public void registerFilterforTotalMemory(){\n+      this.registerFactorFilter(FactorFilter.create(\"requiredTotalMemory\",\n+          new FactorFilter.Filter<MockExecutorObject,MockFlowObject>() {\n+          public boolean check(MockExecutorObject itemToCheck, MockFlowObject sourceObject) {\n+            // REAL LOGIC COMES HERE -\n+            if (null == itemToCheck || null == sourceObject){\n+              return false;\n+            }\n+\n+            // Box has infinite memory.:)\n+            if (itemToCheck.percentOfRemainingMemory == 0) {\n+              return true;\n+            }\n+\n+            // calculate the memory and return.\n+            return itemToCheck.amountOfRemainingMemory / itemToCheck.percentOfRemainingMemory * 100 > sourceObject.requiredTotalMemory;\n+          }}));\n+    }\n+\n+    public void registerFilterforRemainingMemory(){\n+      this.registerFactorFilter(FactorFilter.create(\"requiredRemainingMemory\",\n+          new FactorFilter.Filter<MockExecutorObject,MockFlowObject>() {\n+        public boolean check(MockExecutorObject itemToCheck, MockFlowObject sourceObject) {\n+          // REAL LOGIC COMES HERE -\n+          if (null == itemToCheck || null == sourceObject){\n+            return false;\n+         }\n+         return itemToCheck.amountOfRemainingMemory > sourceObject.requiredRemainingMemory;\n+        }}));\n+    }\n+\n+    public void registerFilterforPriority(){\n+      this.registerFactorFilter(FactorFilter.create(\"requiredProprity\",\n+          new FactorFilter.Filter<MockExecutorObject,MockFlowObject>() {\n+        public boolean check(MockExecutorObject itemToCheck, MockFlowObject sourceObject) {\n+          // REAL LOGIC COMES HERE -\n+          if (null == itemToCheck || null == sourceObject){\n+            return false;\n+          }\n+\n+          // priority value, the bigger the lower.\n+          return itemToCheck.priority >= sourceObject.priority;\n+        }}));\n+    }\n+\n+    public void registerFilterforRemainingTmpSpace(){\n+      this.registerFactorFilter(FactorFilter.create(\"requiredRemainingTmpSpace\",\n+          new FactorFilter.Filter<MockExecutorObject,MockFlowObject>() {\n+        public boolean check(MockExecutorObject itemToCheck, MockFlowObject sourceObject) {\n+          // REAL LOGIC COMES HERE -\n+          if (null == itemToCheck || null == sourceObject){\n+            return false;\n+          }\n+\n+         return itemToCheck.remainingTmp > sourceObject.requiredRemainingTmpSpace;\n+        }}));\n+    }\n+\n+  }\n+\n+  // mock comparator class.\n+  protected class MockComparator\n+  extends CandidateComparator<MockExecutorObject>{\n+\n+    @Override\n+    public String getName() {\n+      return \"MockComparator\";\n+    }\n+\n+    @Override\n+    protected boolean differentiate(MockExecutorObject object1, MockExecutorObject object2){\n+      if (object2 == null) return true;\n+      if (object1 == null) return false;\n+      return object1.name.compareTo(object2.name) >= 0;\n+    }\n+\n+    public MockComparator(){\n+    }\n+\n+    public void registerComparerForMemory(int weight){\n+      this.registerFactorComparator(FactorComparator.create(\"Memory\", weight, new Comparator<MockExecutorObject>(){\n+        public int compare(MockExecutorObject o1, MockExecutorObject o2) {\n+          int result = 0 ;\n+\n+          // check remaining amount of memory.\n+          result = o1.amountOfRemainingMemory - o2.amountOfRemainingMemory;\n+          if (result != 0){\n+            return result > 0 ? 1 : -1;\n+          }\n+\n+          // check remaining % .\n+          result = (int)(o1.percentOfRemainingMemory - o2.percentOfRemainingMemory);\n+          return result == 0 ? 0 : result > 0 ? 1 : -1;\n+\n+        } }));\n+    }\n+\n+    public void registerComparerForRemainingSpace(int weight){\n+      this.registerFactorComparator(FactorComparator.create(\"RemainingTmp\", weight, new Comparator<MockExecutorObject>(){\n+        public int compare(MockExecutorObject o1, MockExecutorObject o2) {\n+          int result = 0 ;\n+\n+          // check remaining % .\n+          result = (int)(o1.remainingTmp - o2.remainingTmp);\n+          return result == 0 ? 0 : result > 0 ? 1 : -1;\n+\n+        } }));\n+    }\n+\n+    public void registerComparerForPriority(int weight){\n+      this.registerFactorComparator(FactorComparator.create(\"Priority\", weight, new Comparator<MockExecutorObject>(){\n+        public int compare(MockExecutorObject o1, MockExecutorObject o2) {\n+          int result = 0 ;\n+\n+          // check priority, bigger the better.\n+          result = (int)(o1.priority - o2.priority);\n+          return result == 0 ? 0 : result > 0 ? 1 : -1;\n+\n+        } }));\n+    }\n+  }\n+\n+  // test samples.\n+  protected ArrayList<MockExecutorObject> executorList = new ArrayList<MockExecutorObject>();\n+\n+  @Before\n+  public void setUp() throws Exception {\n+    BasicConfigurator.configure();\n+\n+    executorList.clear();\n+    executorList.add(new MockExecutorObject(\"Executor1\",8080,50.0,2048,5,new Date(), 20, 6400));","path":"azkaban-common/src/test/java/azkaban/executor/DispatcherTest.java","position":240,"original_position":242,"commit_id":"6b5f7bea4437d172bd1f0cb3b50a706f942604f5","original_commit_id":"f032b68799f85ae07e517af3a9c1cc8286c7d76a","user":{"login":"evlstyle","id":7330414,"avatar_url":"https://avatars.githubusercontent.com/u/7330414?v=3","gravatar_id":"","url":"https://api.github.com/users/evlstyle","html_url":"https://github.com/evlstyle","followers_url":"https://api.github.com/users/evlstyle/followers","following_url":"https://api.github.com/users/evlstyle/following{/other_user}","gists_url":"https://api.github.com/users/evlstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/evlstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evlstyle/subscriptions","organizations_url":"https://api.github.com/users/evlstyle/orgs","repos_url":"https://api.github.com/users/evlstyle/repos","events_url":"https://api.github.com/users/evlstyle/events{/privacy}","received_events_url":"https://api.github.com/users/evlstyle/received_events","type":"User","site_admin":false},"body":"Added more test to cover corner and negative test scenarios . ","created_at":"2015-08-27T17:22:47Z","updated_at":"2015-08-27T17:22:47Z","html_url":"https://github.com/azkaban/azkaban/pull/469#discussion_r38121448","pull_request_url":"https://api.github.com/repos/azkaban/azkaban/pulls/469","_links":{"self":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/comments/38121448"},"html":{"href":"https://github.com/azkaban/azkaban/pull/469#discussion_r38121448"},"pull_request":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/469"}}},"pull_request":{"url":"https://api.github.com/repos/azkaban/azkaban/pulls/469","id":43343553,"html_url":"https://github.com/azkaban/azkaban/pull/469","diff_url":"https://github.com/azkaban/azkaban/pull/469.diff","patch_url":"https://github.com/azkaban/azkaban/pull/469.patch","issue_url":"https://api.github.com/repos/azkaban/azkaban/issues/469","number":469,"state":"open","locked":false,"title":"DSP- 7976/7977 implement dispatcher / interface of statistics calculation module.","user":{"login":"evlstyle","id":7330414,"avatar_url":"https://avatars.githubusercontent.com/u/7330414?v=3","gravatar_id":"","url":"https://api.github.com/users/evlstyle","html_url":"https://github.com/evlstyle","followers_url":"https://api.github.com/users/evlstyle/followers","following_url":"https://api.github.com/users/evlstyle/following{/other_user}","gists_url":"https://api.github.com/users/evlstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/evlstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evlstyle/subscriptions","organizations_url":"https://api.github.com/users/evlstyle/orgs","repos_url":"https://api.github.com/users/evlstyle/repos","events_url":"https://api.github.com/users/evlstyle/events{/privacy}","received_events_url":"https://api.github.com/users/evlstyle/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-25T22:16:11Z","updated_at":"2015-08-27T17:22:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a244fa3192437ead650139b306cecc2c45f8a1e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/azkaban/azkaban/pulls/469/commits","review_comments_url":"https://api.github.com/repos/azkaban/azkaban/pulls/469/comments","review_comment_url":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azkaban/azkaban/issues/469/comments","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/6b5f7bea4437d172bd1f0cb3b50a706f942604f5","head":{"label":"evlstyle:multipleexecutor","ref":"multipleexecutor","sha":"6b5f7bea4437d172bd1f0cb3b50a706f942604f5","user":{"login":"evlstyle","id":7330414,"avatar_url":"https://avatars.githubusercontent.com/u/7330414?v=3","gravatar_id":"","url":"https://api.github.com/users/evlstyle","html_url":"https://github.com/evlstyle","followers_url":"https://api.github.com/users/evlstyle/followers","following_url":"https://api.github.com/users/evlstyle/following{/other_user}","gists_url":"https://api.github.com/users/evlstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/evlstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evlstyle/subscriptions","organizations_url":"https://api.github.com/users/evlstyle/orgs","repos_url":"https://api.github.com/users/evlstyle/repos","events_url":"https://api.github.com/users/evlstyle/events{/privacy}","received_events_url":"https://api.github.com/users/evlstyle/received_events","type":"User","site_admin":false},"repo":{"id":40496888,"name":"azkaban","full_name":"evlstyle/azkaban","owner":{"login":"evlstyle","id":7330414,"avatar_url":"https://avatars.githubusercontent.com/u/7330414?v=3","gravatar_id":"","url":"https://api.github.com/users/evlstyle","html_url":"https://github.com/evlstyle","followers_url":"https://api.github.com/users/evlstyle/followers","following_url":"https://api.github.com/users/evlstyle/following{/other_user}","gists_url":"https://api.github.com/users/evlstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/evlstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evlstyle/subscriptions","organizations_url":"https://api.github.com/users/evlstyle/orgs","repos_url":"https://api.github.com/users/evlstyle/repos","events_url":"https://api.github.com/users/evlstyle/events{/privacy}","received_events_url":"https://api.github.com/users/evlstyle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evlstyle/azkaban","description":"Azkaban workflow manager.","fork":true,"url":"https://api.github.com/repos/evlstyle/azkaban","forks_url":"https://api.github.com/repos/evlstyle/azkaban/forks","keys_url":"https://api.github.com/repos/evlstyle/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evlstyle/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evlstyle/azkaban/teams","hooks_url":"https://api.github.com/repos/evlstyle/azkaban/hooks","issue_events_url":"https://api.github.com/repos/evlstyle/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/evlstyle/azkaban/events","assignees_url":"https://api.github.com/repos/evlstyle/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/evlstyle/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/evlstyle/azkaban/tags","blobs_url":"https://api.github.com/repos/evlstyle/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evlstyle/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evlstyle/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/evlstyle/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evlstyle/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/evlstyle/azkaban/languages","stargazers_url":"https://api.github.com/repos/evlstyle/azkaban/stargazers","contributors_url":"https://api.github.com/repos/evlstyle/azkaban/contributors","subscribers_url":"https://api.github.com/repos/evlstyle/azkaban/subscribers","subscription_url":"https://api.github.com/repos/evlstyle/azkaban/subscription","commits_url":"https://api.github.com/repos/evlstyle/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/evlstyle/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/evlstyle/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/evlstyle/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/evlstyle/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/evlstyle/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evlstyle/azkaban/merges","archive_url":"https://api.github.com/repos/evlstyle/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evlstyle/azkaban/downloads","issues_url":"https://api.github.com/repos/evlstyle/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/evlstyle/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/evlstyle/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/evlstyle/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evlstyle/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/evlstyle/azkaban/releases{/id}","created_at":"2015-08-10T17:47:40Z","updated_at":"2015-08-10T17:47:42Z","pushed_at":"2015-08-27T04:33:46Z","git_url":"git://github.com/evlstyle/azkaban.git","ssh_url":"git@github.com:evlstyle/azkaban.git","clone_url":"https://github.com/evlstyle/azkaban.git","svn_url":"https://github.com/evlstyle/azkaban","homepage":"https://azkaban.github.io","size":32740,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"azkaban:multipleexecutors","ref":"multipleexecutors","sha":"6d093d8a8084dfeca698a45866ac10cbddb0855a","user":{"login":"azkaban","id":213618,"avatar_url":"https://avatars.githubusercontent.com/u/213618?v=3","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"repo":{"id":6271421,"name":"azkaban","full_name":"azkaban/azkaban","owner":{"login":"azkaban","id":213618,"avatar_url":"https://avatars.githubusercontent.com/u/213618?v=3","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azkaban/azkaban","description":"Azkaban workflow manager.","fork":false,"url":"https://api.github.com/repos/azkaban/azkaban","forks_url":"https://api.github.com/repos/azkaban/azkaban/forks","keys_url":"https://api.github.com/repos/azkaban/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azkaban/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azkaban/azkaban/teams","hooks_url":"https://api.github.com/repos/azkaban/azkaban/hooks","issue_events_url":"https://api.github.com/repos/azkaban/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/azkaban/azkaban/events","assignees_url":"https://api.github.com/repos/azkaban/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/azkaban/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/azkaban/azkaban/tags","blobs_url":"https://api.github.com/repos/azkaban/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azkaban/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azkaban/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/azkaban/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/azkaban/azkaban/languages","stargazers_url":"https://api.github.com/repos/azkaban/azkaban/stargazers","contributors_url":"https://api.github.com/repos/azkaban/azkaban/contributors","subscribers_url":"https://api.github.com/repos/azkaban/azkaban/subscribers","subscription_url":"https://api.github.com/repos/azkaban/azkaban/subscription","commits_url":"https://api.github.com/repos/azkaban/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/azkaban/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/azkaban/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/azkaban/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/azkaban/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/azkaban/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azkaban/azkaban/merges","archive_url":"https://api.github.com/repos/azkaban/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azkaban/azkaban/downloads","issues_url":"https://api.github.com/repos/azkaban/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/azkaban/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/azkaban/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/azkaban/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azkaban/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/azkaban/azkaban/releases{/id}","created_at":"2012-10-18T01:34:53Z","updated_at":"2015-08-27T02:46:21Z","pushed_at":"2015-08-27T04:33:47Z","git_url":"git://github.com/azkaban/azkaban.git","ssh_url":"git@github.com:azkaban/azkaban.git","clone_url":"https://github.com/azkaban/azkaban.git","svn_url":"https://github.com/azkaban/azkaban","homepage":"https://azkaban.github.io","size":36367,"stargazers_count":392,"watchers_count":392,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":229,"mirror_url":null,"open_issues_count":133,"forks":229,"open_issues":133,"watchers":392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/469"},"html":{"href":"https://github.com/azkaban/azkaban/pull/469"},"issue":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/469"},"comments":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/469/comments"},"review_comments":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/469/comments"},"review_comment":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/469/commits"},"statuses":{"href":"https://api.github.com/repos/azkaban/azkaban/statuses/6b5f7bea4437d172bd1f0cb3b50a706f942604f5"}}}}