{"action":"created","comment":{"url":"https://api.github.com/repos/apache/nifi/pulls/comments/59995177","id":59995177,"diff_hunk":"@@ -0,0 +1,63 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one or more\n+ * contributor license agreements.  See the NOTICE file distributed with\n+ * this work for additional information regarding copyright ownership.\n+ * The ASF licenses this file to You under the Apache License, Version 2.0\n+ * (the \"License\"); you may not use this file except in compliance with\n+ * the License.  You may obtain a copy of 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,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.apache.nifi.cluster.protocol.jaxb.message;\n+\n+import org.apache.nifi.cluster.coordination.node.DisconnectionCode;\n+import org.apache.nifi.cluster.coordination.node.NodeConnectionState;\n+\n+public class AdaptedNodeConnectionStatus {\n+    private NodeConnectionState state;\n+    private DisconnectionCode disconnectCode;\n+    private String disconnectReason;\n+    private Long connectionRequestTime;\n+\n+    public AdaptedNodeConnectionStatus() {\n+    }","path":"nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/src/main/java/org/apache/nifi/cluster/protocol/jaxb/message/AdaptedNodeConnectionStatus.java","position":30,"original_position":30,"commit_id":"a183b02639b3d4f47ad8e99743653f9fd2c5275e","original_commit_id":"a183b02639b3d4f47ad8e99743653f9fd2c5275e","user":{"login":"olegz","id":172397,"avatar_url":"https://avatars.githubusercontent.com/u/172397?v=3","gravatar_id":"","url":"https://api.github.com/users/olegz","html_url":"https://github.com/olegz","followers_url":"https://api.github.com/users/olegz/followers","following_url":"https://api.github.com/users/olegz/following{/other_user}","gists_url":"https://api.github.com/users/olegz/gists{/gist_id}","starred_url":"https://api.github.com/users/olegz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegz/subscriptions","organizations_url":"https://api.github.com/users/olegz/orgs","repos_url":"https://api.github.com/users/olegz/repos","events_url":"https://api.github.com/users/olegz/events{/privacy}","received_events_url":"https://api.github.com/users/olegz/received_events","type":"User","site_admin":false},"body":"Any reason for this constructor?","created_at":"2016-04-17T23:17:37Z","updated_at":"2016-04-17T23:17:37Z","html_url":"https://github.com/apache/nifi/pull/323#discussion_r59995177","pull_request_url":"https://api.github.com/repos/apache/nifi/pulls/323","_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments/59995177"},"html":{"href":"https://github.com/apache/nifi/pull/323#discussion_r59995177"},"pull_request":{"href":"https://api.github.com/repos/apache/nifi/pulls/323"}}},"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/323","id":65199080,"html_url":"https://github.com/apache/nifi/pull/323","diff_url":"https://github.com/apache/nifi/pull/323.diff","patch_url":"https://github.com/apache/nifi/pull/323.patch","issue_url":"https://api.github.com/repos/apache/nifi/issues/323","number":323,"state":"open","locked":false,"title":"NIFI-1678","user":{"login":"markap14","id":184268,"avatar_url":"https://avatars.githubusercontent.com/u/184268?v=3","gravatar_id":"","url":"https://api.github.com/users/markap14","html_url":"https://github.com/markap14","followers_url":"https://api.github.com/users/markap14/followers","following_url":"https://api.github.com/users/markap14/following{/other_user}","gists_url":"https://api.github.com/users/markap14/gists{/gist_id}","starred_url":"https://api.github.com/users/markap14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markap14/subscriptions","organizations_url":"https://api.github.com/users/markap14/orgs","repos_url":"https://api.github.com/users/markap14/repos","events_url":"https://api.github.com/users/markap14/events{/privacy}","received_events_url":"https://api.github.com/users/markap14/received_events","type":"User","site_admin":false},"body":"Push heartbeats to ZooKeeper instead of NCM","created_at":"2016-04-04T19:27:12Z","updated_at":"2016-04-17T23:17:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e589190a4139891d64ac46a57dbff540f7d1107","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/nifi/pulls/323/commits","review_comments_url":"https://api.github.com/repos/apache/nifi/pulls/323/comments","review_comment_url":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/nifi/issues/323/comments","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/a183b02639b3d4f47ad8e99743653f9fd2c5275e","head":{"label":"markap14:NIFI-1678","ref":"NIFI-1678","sha":"a183b02639b3d4f47ad8e99743653f9fd2c5275e","user":{"login":"markap14","id":184268,"avatar_url":"https://avatars.githubusercontent.com/u/184268?v=3","gravatar_id":"","url":"https://api.github.com/users/markap14","html_url":"https://github.com/markap14","followers_url":"https://api.github.com/users/markap14/followers","following_url":"https://api.github.com/users/markap14/following{/other_user}","gists_url":"https://api.github.com/users/markap14/gists{/gist_id}","starred_url":"https://api.github.com/users/markap14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markap14/subscriptions","organizations_url":"https://api.github.com/users/markap14/orgs","repos_url":"https://api.github.com/users/markap14/repos","events_url":"https://api.github.com/users/markap14/events{/privacy}","received_events_url":"https://api.github.com/users/markap14/received_events","type":"User","site_admin":false},"repo":{"id":52380182,"name":"nifi","full_name":"markap14/nifi","owner":{"login":"markap14","id":184268,"avatar_url":"https://avatars.githubusercontent.com/u/184268?v=3","gravatar_id":"","url":"https://api.github.com/users/markap14","html_url":"https://github.com/markap14","followers_url":"https://api.github.com/users/markap14/followers","following_url":"https://api.github.com/users/markap14/following{/other_user}","gists_url":"https://api.github.com/users/markap14/gists{/gist_id}","starred_url":"https://api.github.com/users/markap14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markap14/subscriptions","organizations_url":"https://api.github.com/users/markap14/orgs","repos_url":"https://api.github.com/users/markap14/repos","events_url":"https://api.github.com/users/markap14/events{/privacy}","received_events_url":"https://api.github.com/users/markap14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markap14/nifi","description":"Mirror of Apache NiFi","fork":true,"url":"https://api.github.com/repos/markap14/nifi","forks_url":"https://api.github.com/repos/markap14/nifi/forks","keys_url":"https://api.github.com/repos/markap14/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markap14/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markap14/nifi/teams","hooks_url":"https://api.github.com/repos/markap14/nifi/hooks","issue_events_url":"https://api.github.com/repos/markap14/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/markap14/nifi/events","assignees_url":"https://api.github.com/repos/markap14/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/markap14/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/markap14/nifi/tags","blobs_url":"https://api.github.com/repos/markap14/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markap14/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markap14/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/markap14/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markap14/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/markap14/nifi/languages","stargazers_url":"https://api.github.com/repos/markap14/nifi/stargazers","contributors_url":"https://api.github.com/repos/markap14/nifi/contributors","subscribers_url":"https://api.github.com/repos/markap14/nifi/subscribers","subscription_url":"https://api.github.com/repos/markap14/nifi/subscription","commits_url":"https://api.github.com/repos/markap14/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/markap14/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/markap14/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/markap14/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/markap14/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/markap14/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markap14/nifi/merges","archive_url":"https://api.github.com/repos/markap14/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markap14/nifi/downloads","issues_url":"https://api.github.com/repos/markap14/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/markap14/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/markap14/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/markap14/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markap14/nifi/labels{/name}","releases_url":"https://api.github.com/repos/markap14/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/markap14/nifi/deployments","created_at":"2016-02-23T18:02:12Z","updated_at":"2016-02-23T18:02:23Z","pushed_at":"2016-04-14T13:56:27Z","git_url":"git://github.com/markap14/nifi.git","ssh_url":"git@github.com:markap14/nifi.git","clone_url":"https://github.com/markap14/nifi.git","svn_url":"https://github.com/markap14/nifi","homepage":"","size":41418,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"1c025dd4be05e6864190f0128d38e160d4857d95","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":27911088,"name":"nifi","full_name":"apache/nifi","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/nifi","description":"Mirror of Apache NiFi","fork":false,"url":"https://api.github.com/repos/apache/nifi","forks_url":"https://api.github.com/repos/apache/nifi/forks","keys_url":"https://api.github.com/repos/apache/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/nifi/teams","hooks_url":"https://api.github.com/repos/apache/nifi/hooks","issue_events_url":"https://api.github.com/repos/apache/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/apache/nifi/events","assignees_url":"https://api.github.com/repos/apache/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/apache/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/apache/nifi/tags","blobs_url":"https://api.github.com/repos/apache/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/nifi/languages","stargazers_url":"https://api.github.com/repos/apache/nifi/stargazers","contributors_url":"https://api.github.com/repos/apache/nifi/contributors","subscribers_url":"https://api.github.com/repos/apache/nifi/subscribers","subscription_url":"https://api.github.com/repos/apache/nifi/subscription","commits_url":"https://api.github.com/repos/apache/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/apache/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/nifi/merges","archive_url":"https://api.github.com/repos/apache/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/nifi/downloads","issues_url":"https://api.github.com/repos/apache/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/apache/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/nifi/labels{/name}","releases_url":"https://api.github.com/repos/apache/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/apache/nifi/deployments","created_at":"2014-12-12T08:00:05Z","updated_at":"2016-04-14T21:20:26Z","pushed_at":"2016-04-17T19:56:05Z","git_url":"git://github.com/apache/nifi.git","ssh_url":"git@github.com:apache/nifi.git","clone_url":"https://github.com/apache/nifi.git","svn_url":"https://github.com/apache/nifi","homepage":"","size":49586,"stargazers_count":252,"watchers_count":252,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":225,"mirror_url":"git://git.apache.org/nifi.git","open_issues_count":45,"forks":225,"open_issues":45,"watchers":252,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/323"},"html":{"href":"https://github.com/apache/nifi/pull/323"},"issue":{"href":"https://api.github.com/repos/apache/nifi/issues/323"},"comments":{"href":"https://api.github.com/repos/apache/nifi/issues/323/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/nifi/pulls/323/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/nifi/pulls/323/commits"},"statuses":{"href":"https://api.github.com/repos/apache/nifi/statuses/a183b02639b3d4f47ad8e99743653f9fd2c5275e"}}}}