{"action":"created","comment":{"url":"https://api.github.com/repos/apache/reef/pulls/comments/60795719","id":60795719,"diff_hunk":"@@ -0,0 +1,251 @@\n+﻿// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements.  See the NOTICE file\n+// distributed with this work for additional information\n+// regarding copyright ownership.  The ASF licenses this file\n+// to you under the Apache License, Version 2.0 (the\n+// \"License\"); you may not use this file except in compliance\n+// with 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,\n+// software distributed under the License is distributed on an\n+// \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+// KIND, either express or implied.  See the License for the\n+// specific language governing permissions and limitations\n+// under the License.\n+\n+using System;\n+using Org.Apache.REEF.IMRU.OnREEF.Driver.StateMachine;\n+using Xunit;\n+\n+namespace Org.Apache.REEF.IMRU.Tests\n+{\n+    /// <summary>\n+    /// The test cases in this classes test TaskState and transitions\n+    /// </summary>\n+    public class TestTaskStates\n+    {\n+        /// <summary>\n+        /// This is to test a successful life cycle of task state transitions.\n+        /// For TaskNew->TaskSubmitted->TaskRunning->TaskCompleted\n+        /// </summary>\n+        [Fact]\n+        public void TestNewToCompleteScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            Assert.True(taskState.CurrentState.Equals(TaskState.TaskNew));\n+            Assert.False(taskState.IsFinalState(), \"TaskNew should not be a final state.\");\n+            Assert.True(taskState.MoveNext(TaskStateEvent.SubmittedTask).Equals(TaskState.TaskSubmitted), \"Fail to move to TaskSubmitting state.\");\n+            Assert.False(taskState.IsFinalState(), \"TaskSubmitting should not be a final state.\"); \n+            Assert.True(taskState.MoveNext(TaskStateEvent.RunningTask).Equals(TaskState.TaskRunning), \"Fail to move to TaskRunning state.\");\n+            Assert.False(taskState.IsFinalState(), \"TaskRunning should not be a final state.\"); \n+            Assert.True(taskState.MoveNext(TaskStateEvent.CompletedTask).Equals(TaskState.TaskCompleted), \"Fail to move to TaskCompleted state.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskCompleted should be a final state.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test a scenario from task running to close.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToCloseScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.WaitingTaskToClose).Equals(TaskState.TaskWaitingForClose), \"Fail to move to TaskWaitingForClose state.\");\n+            Assert.False(taskState.IsFinalState(), \"TaskWaitingForClose should not be a final state.\"); \n+            Assert.True(taskState.MoveNext(TaskStateEvent.ClosedTask).Equals(TaskState.TaskClosedByDriver), \"Fail to move to TaskClosedByDriver state.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskClosedByDriver should be a final state.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test scenario from waiting for close and then get FailedTaskCommunicationError.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToCloseToFailedTaskCommunicationErrorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskCommunicationError).Equals(TaskState.TaskClosedByDriver), \"Fail to move from WaitingTaskToClose to TaskClosedByDriver state with FailedTaskCommunicationError.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test scenario from waiting for close and then get FailedTaskAppError.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToCloseToFailedTaskAppErrorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskAppError).Equals(TaskState.TaskClosedByDriver), \"Fail to move from WaitingTaskToClose to TaskClosedByDriver state with FailedTaskAppError.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test scenario from waiting for close and then get FailedTaskSystemError.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToCloseToFailedTaskSystemErrorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskSystemError).Equals(TaskState.TaskClosedByDriver), \"Fail to move from WaitingTaskToClose to TaskClosedByDriver state with FailedTaskSystemError.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test scenario from waiting for close and then get FailedTaskEvaluatorError.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToCloseToFailedTaskEvaluatorErrorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskEvaluatorError).Equals(TaskState.TaskClosedByDriver), \"Fail to move from WaitingTaskToClose to TaskClosedByDriver state with FailedTaskEvaluatorError.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test from WaitingTaskToClose to not allowed transitions.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToWaitingTaskToCloseToNotAllowedTransitions()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+\n+            Action moveNext = () => taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+\n+            moveNext = () => taskState.MoveNext(TaskStateEvent.CompletedTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+\n+            moveNext = () => taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+        }\n+\n+        /// <summary>\n+        /// This is to test from RunningTask to TaskFailedByEvaluatorFailure.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToFailByEvaluatorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskEvaluatorError).Equals(TaskState.TaskFailedByEvaluatorFailure), \"Fail to move from RunningTask to TaskFailedByEvaluatorFailure state with FailedTaskEvaluatorError.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskFailedByEvaluatorFailure should be a final state.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test from RunningTask to TaskFailedByGroupCommunication and then TaskFailedByEvaluatorFailure.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToFailByCommunicationThenByEvaluatorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskCommunicationError).Equals(TaskState.TaskFailedByGroupCommunication), \"Fail to move from RunningTask to TaskFailedByGroupCommunication state with FailedTaskCommunicationError.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskFailedByGroupCommunication should be a final state.\");\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskEvaluatorError).Equals(TaskState.TaskFailedByEvaluatorFailure), \"Fail to move from TaskFailedByGroupCommunication to TaskFailedByEvaluatorFailure state with FailedTaskEvaluatorError.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskFailedByEvaluatorFailure should be a final state.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test from RunningTask to TaskFailedByGroupCommunication and then TaskFailedByEvaluatorFailure.\n+        /// </summary>\n+        [Fact]\n+        public void TestRunningToFailBySystemThenByEvaluatorScenario()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskSystemError).Equals(TaskState.TaskFailedBySystemError), \"Fail to move from RunningTask to TaskFailedBySystemError state with FailedTaskSystemError.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskFailedByGroupCommunication should be a final state.\");\n+            Assert.True(taskState.MoveNext(TaskStateEvent.FailedTaskEvaluatorError).Equals(TaskState.TaskFailedByEvaluatorFailure), \"Fail to move from TaskFailedBySystemError to TaskFailedByEvaluatorFailure state with FailedTaskEvaluatorError.\");\n+            Assert.True(taskState.IsFinalState(), \"TaskFailedByEvaluatorFailure should be a final state.\");\n+        }\n+\n+        /// <summary>\n+        /// This is to test from TaskNew to not allowed transitions\n+        /// </summary>\n+        [Fact]\n+        public void TestFromNewToNotAllowedTransitions()\n+        {\n+            var taskState = new DriverTaskState();\n+            \n+            Action moveNext = () => taskState.MoveNext(TaskStateEvent.RunningTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+\n+            moveNext = () => taskState.MoveNext(TaskStateEvent.WaitingTaskToClose);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+\n+            moveNext = () => taskState.MoveNext(TaskStateEvent.CompletedTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+        }\n+\n+        /// <summary>\n+        /// This is to test from RunningTask to not allowed transitions\n+        /// </summary>\n+        [Fact]\n+        public void TestFromRunningToNotAllowedTransitions()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+\n+            Action moveNext = () => taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+\n+            moveNext = () => taskState.MoveNext(TaskStateEvent.ClosedTask);\n+            Assert.Throws<TaskStateTransitionException>(moveNext);\n+        }\n+\n+        /// <summary>\n+        /// This is to test from FailedTaskEvaluatorError to not allowed transitions\n+        /// </summary>\n+        [Fact]\n+        public void TestFromFailToNotAllowedTransitions()\n+        {\n+            var taskState = new DriverTaskState();\n+            taskState.MoveNext(TaskStateEvent.SubmittedTask);\n+            taskState.MoveNext(TaskStateEvent.RunningTask);\n+\n+            taskState.MoveNext(TaskStateEvent.FailedTaskEvaluatorError);\n+            Assert.True(taskState.CurrentState.Equals(TaskState.TaskFailedByEvaluatorFailure), \"Fail to move to TaskFailedByEvaluatorFailure state.\");","path":"lang/cs/Org.Apache.REEF.IMRU.Tests/TestTaskStates.cs","position":224,"original_position":224,"commit_id":"2815ad35a323aa4cc47f3b6c05f1906045ec61e9","original_commit_id":"2815ad35a323aa4cc47f3b6c05f1906045ec61e9","user":{"login":"dkm2110","id":151031,"avatar_url":"https://avatars.githubusercontent.com/u/151031?v=3","gravatar_id":"","url":"https://api.github.com/users/dkm2110","html_url":"https://github.com/dkm2110","followers_url":"https://api.github.com/users/dkm2110/followers","following_url":"https://api.github.com/users/dkm2110/following{/other_user}","gists_url":"https://api.github.com/users/dkm2110/gists{/gist_id}","starred_url":"https://api.github.com/users/dkm2110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkm2110/subscriptions","organizations_url":"https://api.github.com/users/dkm2110/orgs","repos_url":"https://api.github.com/users/dkm2110/repos","events_url":"https://api.github.com/users/dkm2110/events{/privacy}","received_events_url":"https://api.github.com/users/dkm2110/received_events","type":"User","site_admin":false},"body":"Fail -> Failed","created_at":"2016-04-22T20:06:37Z","updated_at":"2016-04-22T20:06:37Z","html_url":"https://github.com/apache/reef/pull/963#discussion_r60795719","pull_request_url":"https://api.github.com/repos/apache/reef/pulls/963","_links":{"self":{"href":"https://api.github.com/repos/apache/reef/pulls/comments/60795719"},"html":{"href":"https://github.com/apache/reef/pull/963#discussion_r60795719"},"pull_request":{"href":"https://api.github.com/repos/apache/reef/pulls/963"}}},"pull_request":{"url":"https://api.github.com/repos/apache/reef/pulls/963","id":67454768,"html_url":"https://github.com/apache/reef/pull/963","diff_url":"https://github.com/apache/reef/pull/963.diff","patch_url":"https://github.com/apache/reef/pull/963.patch","issue_url":"https://api.github.com/repos/apache/reef/issues/963","number":963,"state":"open","locked":false,"title":"[REEF-1327] Creating task states and task state transitions","user":{"login":"jwang98052","id":5666504,"avatar_url":"https://avatars.githubusercontent.com/u/5666504?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang98052","html_url":"https://github.com/jwang98052","followers_url":"https://api.github.com/users/jwang98052/followers","following_url":"https://api.github.com/users/jwang98052/following{/other_user}","gists_url":"https://api.github.com/users/jwang98052/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang98052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang98052/subscriptions","organizations_url":"https://api.github.com/users/jwang98052/orgs","repos_url":"https://api.github.com/users/jwang98052/repos","events_url":"https://api.github.com/users/jwang98052/events{/privacy}","received_events_url":"https://api.github.com/users/jwang98052/received_events","type":"User","site_admin":false},"body":"Adding DriverTaskState, TaskState and TaskStateEvent\r\nAdding tests for task states transitions\r\n\r\nJIRA: [REEF-1327](https://issues.apache.org/jira/browse/REEF-1327)\r\nThis closes #","created_at":"2016-04-22T03:33:23Z","updated_at":"2016-04-22T20:06:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"309eb16a8ce5c5945ee1d36524eb9af46900f773","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/reef/pulls/963/commits","review_comments_url":"https://api.github.com/repos/apache/reef/pulls/963/comments","review_comment_url":"https://api.github.com/repos/apache/reef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/reef/issues/963/comments","statuses_url":"https://api.github.com/repos/apache/reef/statuses/2815ad35a323aa4cc47f3b6c05f1906045ec61e9","head":{"label":"jwang98052:REEF-1327","ref":"REEF-1327","sha":"2815ad35a323aa4cc47f3b6c05f1906045ec61e9","user":{"login":"jwang98052","id":5666504,"avatar_url":"https://avatars.githubusercontent.com/u/5666504?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang98052","html_url":"https://github.com/jwang98052","followers_url":"https://api.github.com/users/jwang98052/followers","following_url":"https://api.github.com/users/jwang98052/following{/other_user}","gists_url":"https://api.github.com/users/jwang98052/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang98052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang98052/subscriptions","organizations_url":"https://api.github.com/users/jwang98052/orgs","repos_url":"https://api.github.com/users/jwang98052/repos","events_url":"https://api.github.com/users/jwang98052/events{/privacy}","received_events_url":"https://api.github.com/users/jwang98052/received_events","type":"User","site_admin":false},"repo":{"id":25940156,"name":"reef","full_name":"jwang98052/reef","owner":{"login":"jwang98052","id":5666504,"avatar_url":"https://avatars.githubusercontent.com/u/5666504?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang98052","html_url":"https://github.com/jwang98052","followers_url":"https://api.github.com/users/jwang98052/followers","following_url":"https://api.github.com/users/jwang98052/following{/other_user}","gists_url":"https://api.github.com/users/jwang98052/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang98052/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang98052/subscriptions","organizations_url":"https://api.github.com/users/jwang98052/orgs","repos_url":"https://api.github.com/users/jwang98052/repos","events_url":"https://api.github.com/users/jwang98052/events{/privacy}","received_events_url":"https://api.github.com/users/jwang98052/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwang98052/reef","description":"Mirror of Apache REEF (Incubating)","fork":true,"url":"https://api.github.com/repos/jwang98052/reef","forks_url":"https://api.github.com/repos/jwang98052/reef/forks","keys_url":"https://api.github.com/repos/jwang98052/reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwang98052/reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwang98052/reef/teams","hooks_url":"https://api.github.com/repos/jwang98052/reef/hooks","issue_events_url":"https://api.github.com/repos/jwang98052/reef/issues/events{/number}","events_url":"https://api.github.com/repos/jwang98052/reef/events","assignees_url":"https://api.github.com/repos/jwang98052/reef/assignees{/user}","branches_url":"https://api.github.com/repos/jwang98052/reef/branches{/branch}","tags_url":"https://api.github.com/repos/jwang98052/reef/tags","blobs_url":"https://api.github.com/repos/jwang98052/reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwang98052/reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwang98052/reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwang98052/reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwang98052/reef/statuses/{sha}","languages_url":"https://api.github.com/repos/jwang98052/reef/languages","stargazers_url":"https://api.github.com/repos/jwang98052/reef/stargazers","contributors_url":"https://api.github.com/repos/jwang98052/reef/contributors","subscribers_url":"https://api.github.com/repos/jwang98052/reef/subscribers","subscription_url":"https://api.github.com/repos/jwang98052/reef/subscription","commits_url":"https://api.github.com/repos/jwang98052/reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwang98052/reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwang98052/reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwang98052/reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwang98052/reef/contents/{+path}","compare_url":"https://api.github.com/repos/jwang98052/reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwang98052/reef/merges","archive_url":"https://api.github.com/repos/jwang98052/reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwang98052/reef/downloads","issues_url":"https://api.github.com/repos/jwang98052/reef/issues{/number}","pulls_url":"https://api.github.com/repos/jwang98052/reef/pulls{/number}","milestones_url":"https://api.github.com/repos/jwang98052/reef/milestones{/number}","notifications_url":"https://api.github.com/repos/jwang98052/reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwang98052/reef/labels{/name}","releases_url":"https://api.github.com/repos/jwang98052/reef/releases{/id}","deployments_url":"https://api.github.com/repos/jwang98052/reef/deployments","created_at":"2014-10-29T20:32:40Z","updated_at":"2015-12-02T18:42:15Z","pushed_at":"2016-04-22T03:32:58Z","git_url":"git://github.com/jwang98052/reef.git","ssh_url":"git@github.com:jwang98052/reef.git","clone_url":"https://github.com/jwang98052/reef.git","svn_url":"https://github.com/jwang98052/reef","homepage":null,"size":36871,"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":"cf8275e39331537a16946dd71fafe195a81db769","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":25623941,"name":"reef","full_name":"apache/reef","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/reef","description":"Mirror of Apache REEF","fork":false,"url":"https://api.github.com/repos/apache/reef","forks_url":"https://api.github.com/repos/apache/reef/forks","keys_url":"https://api.github.com/repos/apache/reef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/reef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/reef/teams","hooks_url":"https://api.github.com/repos/apache/reef/hooks","issue_events_url":"https://api.github.com/repos/apache/reef/issues/events{/number}","events_url":"https://api.github.com/repos/apache/reef/events","assignees_url":"https://api.github.com/repos/apache/reef/assignees{/user}","branches_url":"https://api.github.com/repos/apache/reef/branches{/branch}","tags_url":"https://api.github.com/repos/apache/reef/tags","blobs_url":"https://api.github.com/repos/apache/reef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/reef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/reef/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/reef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/reef/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/reef/languages","stargazers_url":"https://api.github.com/repos/apache/reef/stargazers","contributors_url":"https://api.github.com/repos/apache/reef/contributors","subscribers_url":"https://api.github.com/repos/apache/reef/subscribers","subscription_url":"https://api.github.com/repos/apache/reef/subscription","commits_url":"https://api.github.com/repos/apache/reef/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/reef/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/reef/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/reef/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/reef/contents/{+path}","compare_url":"https://api.github.com/repos/apache/reef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/reef/merges","archive_url":"https://api.github.com/repos/apache/reef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/reef/downloads","issues_url":"https://api.github.com/repos/apache/reef/issues{/number}","pulls_url":"https://api.github.com/repos/apache/reef/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/reef/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/reef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/reef/labels{/name}","releases_url":"https://api.github.com/repos/apache/reef/releases{/id}","deployments_url":"https://api.github.com/repos/apache/reef/deployments","created_at":"2014-10-23T07:00:10Z","updated_at":"2016-04-05T13:46:50Z","pushed_at":"2016-04-22T20:03:00Z","git_url":"git://github.com/apache/reef.git","ssh_url":"git@github.com:apache/reef.git","clone_url":"https://github.com/apache/reef.git","svn_url":"https://github.com/apache/reef","homepage":"","size":47816,"stargazers_count":46,"watchers_count":46,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":"git://git.apache.org/reef.git","open_issues_count":5,"forks":55,"open_issues":5,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/reef/pulls/963"},"html":{"href":"https://github.com/apache/reef/pull/963"},"issue":{"href":"https://api.github.com/repos/apache/reef/issues/963"},"comments":{"href":"https://api.github.com/repos/apache/reef/issues/963/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/reef/pulls/963/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/reef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/reef/pulls/963/commits"},"statuses":{"href":"https://api.github.com/repos/apache/reef/statuses/2815ad35a323aa4cc47f3b6c05f1906045ec61e9"}}}}