{"action":"created","comment":{"url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/comments/77975477","id":77975477,"diff_hunk":"@@ -170,4 +170,203 @@\n   </div>\n   <%@ include file=\"/WEB-INF/views/jsp/layout/Footer.jsp\"%>\n </body>\n-</html>\n\\ No newline at end of file\n+\n+<script src=\"https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.1/sockjs.min.js\"></script>\n+<script src=\"https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js\"></script>\n+\n+<script type=\"text/javascript\">\n+  $(function() {\n+\n+    $('#pomodoroPeriod').attr('data-period', 'POMODORO');\n+    $('#pomodoroStatus').attr('data-status', 'IDLE');\n+\n+    var url = 'http://' + window.location.host + '/teamodoro';\n+    var sock = new SockJS(url);\n+    var stomp = Stomp.over(sock);\n+\n+    stomp.connect('guest', 'guest', function(frame) {\n+      stomp.subscribe(\"/topic/team/1\", handleTeam);\n+    });\n+\n+    $('#pomodoroButton').on('click', pomodoroButtonClick);\n+    $('#shortButton').on('click', shortButtonClick);\n+    $('#longButton').on('click', longButtonClick);\n+    $('#resetButton').on('click', resetButtonClick);\n+    $('#startButton').on('click', startButtonClick);\n+    $('#pauseButton').on('click', pauseButtonClick);\n+\n+    function handleTeam(message) {\n+\n+      var messageBody = JSON.parse(message.body);\n+      var userId = messageBody.userId;\n+      var period = messageBody.period;\n+      var status = messageBody.status;\n+      var hours = messageBody.hours;\n+      var minutes = messageBody.minutes;\n+      var seconds = messageBody.seconds;\n+\n+      var periodSymbol = periodClass(period);\n+      var statusSymbol = statusClass(status);\n+\n+      $('.period' + userId).removeClass().addClass(\n+          'period' + userId + periodSymbol);\n+      $('.status' + userId).removeClass().addClass(\n+          'status' + userId + statusSymbol);\n+\n+      if (status == \"PLAY\") {\n+        startTimer(userId, hours, minutes, seconds);\n+      } else {\n+        pauseOrResetTimer(userId, hours, minutes, seconds);\n+      }\n+\n+    }\n+\n+    function periodClass(period) {\n+      var periodClass = ' glyphicon glyphicon-time';\n+      switch (period) {\n+      case 'POMODORO':\n+        periodClass = ' glyphicon glyphicon-record';\n+        break;\n+      case 'SHORT_BREAK':\n+        periodClass = ' glyphicon glyphicon-time';\n+        break;\n+      case 'LONG_BREAK':\n+        periodClass = ' glyphicon glyphicon-time';\n+        break;\n+      default:\n+        periodClass = ' glyphicon glyphicon-time';\n+      }\n+      return periodClass;\n+    }\n+\n+    function statusClass(status) {\n+      var statusClass = 'glyphicon glyphicon-stop';\n+      switch (status) {\n+      case 'PLAY':\n+        statusClass = ' glyphicon glyphicon-play';\n+        break;\n+      case 'PAUSE':\n+        statusClass = ' glyphicon glyphicon-pause';\n+        break;\n+      case 'IDLE':\n+        statusClass = ' glyphicon glyphicon-stop';\n+        break;\n+      default:\n+        statusClass = ' glyphicon glyphicon-stop';\n+      }\n+      return statusClass;\n+    }\n+\n+    function pomodoroButtonClick() {\n+      $('#pomodoroPeriod').attr('data-period', 'POMODORO');\n+      $('#pomodoroStatus').attr('data-status', 'IDLE');\n+      sendPeriodStatusTime('POMODORO', 'IDLE');\n+    }\n+\n+    function shortButtonClick() {\n+      $('#pomodoroPeriod').attr('data-period', 'SHORT_BREAK');\n+      $('#pomodoroStatus').attr('data-status', 'IDLE');\n+      sendPeriodStatusTime('SHORT_BREAK', 'IDLE');\n+    }\n+\n+    function longButtonClick() {\n+      $('#pomodoroPeriod').attr('data-period', 'LONG_BREAK');\n+      $('#pomodoroStatus').attr('data-status', 'IDLE');\n+      sendPeriodStatusTime('LONG_BREAK', 'IDLE');\n+    }\n+\n+    function resetButtonClick() {\n+      $('#pomodoroStatus').attr('data-status', 'IDLE');\n+      $('#resetButton').prop('disabled', true);\n+      $('#startButton').prop('disabled', false);\n+      $('#pauseButton').prop('disabled', false);\n+      sendPeriodStatusTime($('#pomodoroPeriod').attr('data-period'), 'IDLE');\n+    }\n+\n+    function startButtonClick() {\n+      $('#pomodoroStatus').attr('data-status', 'PLAY');\n+      $('#resetButton').prop('disabled', false);\n+      $('#startButton').prop('disabled', true);\n+      $('#pauseButton').prop('disabled', false);\n+      sendPeriodStatusTime($('#pomodoroPeriod').attr('data-period'), 'PLAY');\n+    }\n+\n+    function pauseButtonClick() {\n+      $('#pomodoroStatus').attr('data-status', 'PAUSE');\n+      $('#resetButton').prop('disabled', false);\n+      $('#startButton').prop('disabled', false);\n+      $('#pauseButton').prop('disabled', true);\n+      sendPeriodStatusTime($('#pomodoroPeriod').attr('data-period'), 'PAUSE');\n+    }\n+\n+    function sendPeriodStatusTime(period, status) {\n+      var userId = '${loggedUser.id}';\n+      var hours = $('#hoursValue').text();\n+      var minutes = $('#minutesValue').text();\n+      var seconds = $('#secondsValue').text();\n+\n+      stomp.send(\"/app/user\", {}, JSON.stringify({\n+        'userId' : userId,\n+        'period' : period,\n+        'status' : status,\n+        'hours' : hours,\n+        'minutes' : minutes,\n+        'seconds' : seconds\n+      }));\n+    }\n+\n+    var countdownHand = {};\n+\n+    var remainingTime = {};\n+\n+    function startTimer(userId, hours, minutes, seconds) {\n+      remainingTime[userId] = (hours * 60 * 60 * 1000) + (minutes * 60 * 1000)\n+          + (seconds * 1000);\n+      countdownHand[userId] = setInterval(function() {\n+        decrementTimer(userId)\n+      }, 1000);\n+    }","path":"src/main/webapp/WEB-INF/views/jsp/Dashboard.jsp","position":252,"original_position":252,"commit_id":"a585368b876bf7f3967a3a0da6a844271e9fa7d4","original_commit_id":"a585368b876bf7f3967a3a0da6a844271e9fa7d4","user":{"login":"stanislavgrujic","id":2743162,"avatar_url":"https://avatars.githubusercontent.com/u/2743162?v=3","gravatar_id":"","url":"https://api.github.com/users/stanislavgrujic","html_url":"https://github.com/stanislavgrujic","followers_url":"https://api.github.com/users/stanislavgrujic/followers","following_url":"https://api.github.com/users/stanislavgrujic/following{/other_user}","gists_url":"https://api.github.com/users/stanislavgrujic/gists{/gist_id}","starred_url":"https://api.github.com/users/stanislavgrujic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanislavgrujic/subscriptions","organizations_url":"https://api.github.com/users/stanislavgrujic/orgs","repos_url":"https://api.github.com/users/stanislavgrujic/repos","events_url":"https://api.github.com/users/stanislavgrujic/events{/privacy}","received_events_url":"https://api.github.com/users/stanislavgrujic/received_events","type":"User","site_admin":false},"body":"*decrementTimer()* is already a function, so you can do:\r\n```\r\ncountdownHand[userId] = setInterval(decrementTimer(userId), 1000);\r\n```","created_at":"2016-09-08T09:42:34Z","updated_at":"2016-09-08T09:42:34Z","html_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20#discussion_r77975477","pull_request_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/comments/77975477"},"html":{"href":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20#discussion_r77975477"},"pull_request":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20","id":84297694,"html_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20","diff_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20.diff","patch_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20.patch","issue_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/20","number":20,"state":"open","locked":false,"title":"Pomodoro status of users through websocket","user":{"login":"PavleP","id":16777836,"avatar_url":"https://avatars.githubusercontent.com/u/16777836?v=3","gravatar_id":"","url":"https://api.github.com/users/PavleP","html_url":"https://github.com/PavleP","followers_url":"https://api.github.com/users/PavleP/followers","following_url":"https://api.github.com/users/PavleP/following{/other_user}","gists_url":"https://api.github.com/users/PavleP/gists{/gist_id}","starred_url":"https://api.github.com/users/PavleP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PavleP/subscriptions","organizations_url":"https://api.github.com/users/PavleP/orgs","repos_url":"https://api.github.com/users/PavleP/repos","events_url":"https://api.github.com/users/PavleP/events{/privacy}","received_events_url":"https://api.github.com/users/PavleP/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-07T13:14:30Z","updated_at":"2016-09-08T09:42:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a4da4c579c1d1c437c2117abf74a941f1205622","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20/commits","review_comments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20/comments","review_comment_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/20/comments","statuses_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/statuses/a585368b876bf7f3967a3a0da6a844271e9fa7d4","head":{"label":"execom-eu:master-ppapuga-users-pomodoro-status-websocket","ref":"master-ppapuga-users-pomodoro-status-websocket","sha":"a585368b876bf7f3967a3a0da6a844271e9fa7d4","user":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars.githubusercontent.com/u/5187957?v=3","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"repo":{"id":65188077,"name":"execom-labs-team-pomodoro-jsp","full_name":"execom-eu/execom-labs-team-pomodoro-jsp","owner":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars.githubusercontent.com/u/5187957?v=3","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp","description":"kontakt Stanislav Grujic","fork":false,"url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp","forks_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/forks","keys_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/teams","hooks_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/hooks","issue_events_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/events{/number}","events_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/events","assignees_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/assignees{/user}","branches_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/branches{/branch}","tags_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/tags","blobs_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/refs{/sha}","trees_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/statuses/{sha}","languages_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/languages","stargazers_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/stargazers","contributors_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/contributors","subscribers_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/subscribers","subscription_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/subscription","commits_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/commits{/sha}","git_commits_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/commits{/sha}","comments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/comments{/number}","issue_comment_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/comments{/number}","contents_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/contents/{+path}","compare_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/merges","archive_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/downloads","issues_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues{/number}","pulls_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls{/number}","milestones_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/milestones{/number}","notifications_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/labels{/name}","releases_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/releases{/id}","deployments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/deployments","created_at":"2016-08-08T08:45:49Z","updated_at":"2016-09-07T12:41:03Z","pushed_at":"2016-09-08T09:11:51Z","git_url":"git://github.com/execom-eu/execom-labs-team-pomodoro-jsp.git","ssh_url":"git@github.com:execom-eu/execom-labs-team-pomodoro-jsp.git","clone_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp.git","svn_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp","homepage":null,"size":374,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"execom-eu:master","ref":"master","sha":"4f910c9373cd1cc3565563c6220a378322d12b09","user":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars.githubusercontent.com/u/5187957?v=3","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"repo":{"id":65188077,"name":"execom-labs-team-pomodoro-jsp","full_name":"execom-eu/execom-labs-team-pomodoro-jsp","owner":{"login":"execom-eu","id":5187957,"avatar_url":"https://avatars.githubusercontent.com/u/5187957?v=3","gravatar_id":"","url":"https://api.github.com/users/execom-eu","html_url":"https://github.com/execom-eu","followers_url":"https://api.github.com/users/execom-eu/followers","following_url":"https://api.github.com/users/execom-eu/following{/other_user}","gists_url":"https://api.github.com/users/execom-eu/gists{/gist_id}","starred_url":"https://api.github.com/users/execom-eu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/execom-eu/subscriptions","organizations_url":"https://api.github.com/users/execom-eu/orgs","repos_url":"https://api.github.com/users/execom-eu/repos","events_url":"https://api.github.com/users/execom-eu/events{/privacy}","received_events_url":"https://api.github.com/users/execom-eu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp","description":"kontakt Stanislav Grujic","fork":false,"url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp","forks_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/forks","keys_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/teams","hooks_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/hooks","issue_events_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/events{/number}","events_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/events","assignees_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/assignees{/user}","branches_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/branches{/branch}","tags_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/tags","blobs_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/refs{/sha}","trees_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/statuses/{sha}","languages_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/languages","stargazers_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/stargazers","contributors_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/contributors","subscribers_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/subscribers","subscription_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/subscription","commits_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/commits{/sha}","git_commits_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/git/commits{/sha}","comments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/comments{/number}","issue_comment_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/comments{/number}","contents_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/contents/{+path}","compare_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/merges","archive_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/downloads","issues_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues{/number}","pulls_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls{/number}","milestones_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/milestones{/number}","notifications_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/labels{/name}","releases_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/releases{/id}","deployments_url":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/deployments","created_at":"2016-08-08T08:45:49Z","updated_at":"2016-09-07T12:41:03Z","pushed_at":"2016-09-08T09:11:51Z","git_url":"git://github.com/execom-eu/execom-labs-team-pomodoro-jsp.git","ssh_url":"git@github.com:execom-eu/execom-labs-team-pomodoro-jsp.git","clone_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp.git","svn_url":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp","homepage":null,"size":374,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20"},"html":{"href":"https://github.com/execom-eu/execom-labs-team-pomodoro-jsp/pull/20"},"issue":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/20"},"comments":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/execom-eu/execom-labs-team-pomodoro-jsp/statuses/a585368b876bf7f3967a3a0da6a844271e9fa7d4"}}}}
{"actor":{"display_login":"stanislavgrujic"}}