{"action":"created","comment":{"url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/comments/31964300","id":31964300,"diff_hunk":"@@ -0,0 +1,199 @@\n+---\n+comments: true\n+date: 2015-06-11 10:00:00\n+layout: post\n+slug: event-sourced-dice-game-part1\n+title: Event-sourced game implementation example - Part 2/3&#58; It's time to play - building web application\n+summary: Simple (yet complete) example of game implementation using CQRS and event sourcing backed by Akka persistence and RabbitMQ. Part 2/3\n+author: Łukasz Gąsior\n+tags:\n+- Event Sourcing\n+- CQRS\n+- Akka Persistence\n+- Reactive Rabbit\n+- DDD\n+- AngularJS\n+- Play! Framework\n+---\n+\n+Welcome to the 2nd part of event-sourced game post series! \n+In case you haven't yet read [previous part](http://blog.scalac.io/2015/03/20/event-sourced-dice-game-part1.html), I highly recommend reading it before.\n+\n+Today we'll focus on the frontend server part, the one that'll be responsible for handling user interface interactions as well as backend server communication.\n+\n+## 1. What do we have so far?\n+Quick recap of what has been done so far in [part 1](http://blog.scalac.io/2015/03/20/event-sourced-dice-game-part1.html):\n+\n+- we've implemented a backend server that lets us play games using its REST API\n+- we've been able to peek at generated game events in RabbitMQ console\n+\n+Now it's time to create an UI that'll seamlessly combine the two to create decent user experiance.\n+For this, we'll use:\n+\n+- Play! Framework as our frontend server\n+- WebSocket for realtime browser <-> frontend server communication\n+- Reactive rabbit to receive game events from RabbitMQ\n+- AngularJS on the UI side\n+\n+The action flow from UI point of view will be as follows:\n+\n+- user creates new game (the command is sent)\n+- the game is created (the response is received)\n+- UI binds itself to events from newly created game (websocket connection is created)\n+- user chooses players count and starts the game (the command is sent)\n+- GameStarted event is received through websocket connection, the UI is updated\n+- user chooses the player and rolls the dice (the command is sent)\n+- DiceRolled events is received, the UI is updated\n+\n+Looking at these, our Play! server will need to handle:\n+\n+- routes to execute commands\n+- websocket route to receive events from given game    \n+\n+## Controllers\n+\n+First, let's add these routes to our Play! application:\n+\n+<script src=\"https://gist.github.com/LukasGasior1/e0a1e0a583d0c94aa0a2.js\"></script>\n+[\\[conf/routes\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/conf/routes)\n+\n+POST ones are for commands and the GET route is for websocket connection.\n+Let's take a look at the implementation.\n+\n+Commands routes:\n+\n+<script src=\"https://gist.github.com/LukasGasior1/699439c80d69e3a8d961.js\"></script>\n+[\\[MainController.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/controllers/MainController.scala)\n+\n+Nothing special here, commands are just forwarded to our backend server (with some additional responses mapping).\n+\n+Websocket route is a little bit more complex:\n+\n+<script src=\"https://gist.github.com/LukasGasior1/0ba40bdc10b11fc9890e.js\"></script>\n+[\\[MainController.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/controllers/MainController.scala)\n+\n+`acceptWithActor` takes two type parameters: one for incoming messages (it's just a `String`, since we don't send anything to the server anyway) and another for outgoing messages, which are `GameEvent`s.\n+\n+<script src=\"https://gist.github.com/LukasGasior1/219562e4999fe9882a26.js\"></script>\n+[\\[GameEvent.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/models/GameEvent.scala)\n+\n+To make it work that way we need to tell Play! how to actually send `GameEvent` through WebSocket. It's done by bringing implicit `FrameFormatter[GameEvent]` to the scope.\n+We'll format `GameEvent`s as JSON and use `FrameFormatter.jsonFrame` which Play! provides:\n+\n+<script src=\"https://gist.github.com/LukasGasior1/2cc0919c1f6f8d94de0e.js\"></script>\n+[\\[MainController.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/controllers/MainController.scala)\n+\n+What's next in `acceptWithActor` is a method that takes a HTTP `request` and an `ActorRef` `out` (which is used to send messages from server to client) and returns `Props` to create WebSocket connection handling `Actor`.\n+We're telling it to create one `WebsocketEventPublisher` for every WebSocket connection, we also pass `out` reference to it, which it can later use to send messages through the connection.\n+\n+## Receiving and passing events\n+\n+Let's have a closer look at `WebsocketEventPublisher`.\n+\n+<script src=\"https://gist.github.com/LukasGasior1/71905a731b7e3ffae9f1.js\"></script>\n+[\\[WebsocketEventPublisher.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/actors/WebsocketEventPublisher.scala)\n+\n+What we do, when the actor starts, is create a new queue and bind it to the events from given game.\n+It's the last parameter in `queueBind` - `arguments` which says \"hey, I want to receive only events from the game with id == `gameId`\".\n+\n+Once the queue is bound, we create a `Source` out of it, which we attach `Sink` to.\n+Our sink is an `EventSubscriber` actor, which well receive every incoming event (or, at this point, rather a message that represents an event).\n+\n+<script src=\"https://gist.github.com/LukasGasior1/b6e3c56a6660f92c4681.js\"></script>\n+[\\[EventSubscriber.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/actors/EventSubscriber.scala)\n+\n+Once it receives an event, it'll pass it back to `WebsocketEventPublisher` (that's why we pass `self` reference to its `props`).\n+`WebsocketEventPublisher` will pass it further, to `out` reference (which will use `FrameFormatter` to serialize the message and send it through WebSocket connection).\n+\n+<script src=\"https://gist.github.com/LukasGasior1/077848adbcced014686e.js\"></script>\n+[\\[WebsocketEventPublisher.scala\\]](https://github.com/LukasGasior1/event-sourced-dice-game/blob/master/webapp/app/actors/WebsocketEventPublisher.scala)\n+\n+`requestStrategy` in `EventSubscriber` tells streams implementations how many more messages the actor wants to receive.\n+\n+Here it's implemented to always be at least 1, meaning we want to receive as much messages as there are. It may not however be always appropriate elsewhere. I don't want to focus too much on back pressure in this post, so we'll just stick with this.\n+\n+Those watchful may say that it doesn't look good to pass these rather backend-side events directly to the browser. \n+It's true, usually some additional processing/validation would be added before passing them to WebSocket, but it's not necassary in our simple application.\n+\n+## Frontend part","path":"_posts/11-06-2015-event-sourced-dice-game-part2.md","position":118,"original_position":118,"commit_id":"f22910b305c8a25305968adb0cbb6fca30d619b9","original_commit_id":"f22910b305c8a25305968adb0cbb6fca30d619b9","user":{"login":"pjazdzewski1990","id":1136843,"avatar_url":"https://avatars.githubusercontent.com/u/1136843?v=3","gravatar_id":"","url":"https://api.github.com/users/pjazdzewski1990","html_url":"https://github.com/pjazdzewski1990","followers_url":"https://api.github.com/users/pjazdzewski1990/followers","following_url":"https://api.github.com/users/pjazdzewski1990/following{/other_user}","gists_url":"https://api.github.com/users/pjazdzewski1990/gists{/gist_id}","starred_url":"https://api.github.com/users/pjazdzewski1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjazdzewski1990/subscriptions","organizations_url":"https://api.github.com/users/pjazdzewski1990/orgs","repos_url":"https://api.github.com/users/pjazdzewski1990/repos","events_url":"https://api.github.com/users/pjazdzewski1990/events{/privacy}","received_events_url":"https://api.github.com/users/pjazdzewski1990/received_events","type":"User","site_admin":false},"body":"Since we are talking about the most tangible part of the app, maybe a screenshot would be possible?","created_at":"2015-06-08T21:58:35Z","updated_at":"2015-06-08T21:58:35Z","html_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56#discussion_r31964300","pull_request_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/comments/31964300"},"html":{"href":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56#discussion_r31964300"},"pull_request":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56","id":37189440,"html_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56","diff_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56.diff","patch_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56.patch","issue_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/56","number":56,"state":"open","locked":false,"title":"cqrs/es game post part 2","user":{"login":"LukasGasior1","id":5664242,"avatar_url":"https://avatars.githubusercontent.com/u/5664242?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasGasior1","html_url":"https://github.com/LukasGasior1","followers_url":"https://api.github.com/users/LukasGasior1/followers","following_url":"https://api.github.com/users/LukasGasior1/following{/other_user}","gists_url":"https://api.github.com/users/LukasGasior1/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasGasior1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasGasior1/subscriptions","organizations_url":"https://api.github.com/users/LukasGasior1/orgs","repos_url":"https://api.github.com/users/LukasGasior1/repos","events_url":"https://api.github.com/users/LukasGasior1/events{/privacy}","received_events_url":"https://api.github.com/users/LukasGasior1/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-08T19:54:55Z","updated_at":"2015-06-08T21:58:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4e4482a311ccb15f8b49c3e04d28b7b9798c922","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56/commits","review_comments_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56/comments","review_comment_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/56/comments","statuses_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/statuses/f22910b305c8a25305968adb0cbb6fca30d619b9","head":{"label":"ScalaConsultants:dice-game-part2","ref":"dice-game-part2","sha":"f22910b305c8a25305968adb0cbb6fca30d619b9","user":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"repo":{"id":15366666,"name":"ScalaConsultants.github.io","full_name":"ScalaConsultants/ScalaConsultants.github.io","owner":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io","description":"Scalac blog","fork":false,"url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io","forks_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/forks","keys_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/teams","hooks_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/hooks","issue_events_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/events","assignees_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/tags","blobs_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/languages","stargazers_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/stargazers","contributors_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/contributors","subscribers_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/subscribers","subscription_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/subscription","commits_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/merges","archive_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/downloads","issues_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/labels{/name}","releases_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/releases{/id}","created_at":"2013-12-21T22:28:57Z","updated_at":"2015-05-07T06:23:05Z","pushed_at":"2015-06-08T19:54:55Z","git_url":"git://github.com/ScalaConsultants/ScalaConsultants.github.io.git","ssh_url":"git@github.com:ScalaConsultants/ScalaConsultants.github.io.git","clone_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io.git","svn_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io","homepage":null,"size":2843,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ScalaConsultants:master","ref":"master","sha":"f7ead1f2fbabc9edb0ca3ed13177ebb807aa529b","user":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"repo":{"id":15366666,"name":"ScalaConsultants.github.io","full_name":"ScalaConsultants/ScalaConsultants.github.io","owner":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io","description":"Scalac blog","fork":false,"url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io","forks_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/forks","keys_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/teams","hooks_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/hooks","issue_events_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/events","assignees_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/tags","blobs_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/languages","stargazers_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/stargazers","contributors_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/contributors","subscribers_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/subscribers","subscription_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/subscription","commits_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/merges","archive_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/downloads","issues_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/labels{/name}","releases_url":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/releases{/id}","created_at":"2013-12-21T22:28:57Z","updated_at":"2015-05-07T06:23:05Z","pushed_at":"2015-06-08T19:54:55Z","git_url":"git://github.com/ScalaConsultants/ScalaConsultants.github.io.git","ssh_url":"git@github.com:ScalaConsultants/ScalaConsultants.github.io.git","clone_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io.git","svn_url":"https://github.com/ScalaConsultants/ScalaConsultants.github.io","homepage":null,"size":2843,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56"},"html":{"href":"https://github.com/ScalaConsultants/ScalaConsultants.github.io/pull/56"},"issue":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/56"},"comments":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/ScalaConsultants/ScalaConsultants.github.io/statuses/f22910b305c8a25305968adb0cbb6fca30d619b9"}}}}