{"action":"created","comment":{"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments/69522181","id":69522181,"diff_hunk":"@@ -0,0 +1,534 @@\n+var restaurantsAPI = require('../js/restaurantsAPI.js')\n+var chai = require('chai');\n+var assert = require('chai').assert;\n+\n+chai.should();\n+\n+\n+var restaurantsJSON = [{\n+      \"@context\": \"http://schema.org\",","path":"client/spec/test_restaurantsAPI.js","position":9,"original_position":9,"commit_id":"0f8106aad61b402a36bf86ab287f3baec1b299a6","original_commit_id":"0f8106aad61b402a36bf86ab287f3baec1b299a6","user":{"login":"jmcanterafonseca","id":694782,"avatar_url":"https://avatars.githubusercontent.com/u/694782?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcanterafonseca","html_url":"https://github.com/jmcanterafonseca","followers_url":"https://api.github.com/users/jmcanterafonseca/followers","following_url":"https://api.github.com/users/jmcanterafonseca/following{/other_user}","gists_url":"https://api.github.com/users/jmcanterafonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcanterafonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcanterafonseca/subscriptions","organizations_url":"https://api.github.com/users/jmcanterafonseca/orgs","repos_url":"https://api.github.com/users/jmcanterafonseca/repos","events_url":"https://api.github.com/users/jmcanterafonseca/events{/privacy}","received_events_url":"https://api.github.com/users/jmcanterafonseca/received_events","type":"User","site_admin":false},"body":"I would suggest this JSON data is moved to a different file","created_at":"2016-07-05T08:13:58Z","updated_at":"2016-07-05T08:13:58Z","html_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117#discussion_r69522181","pull_request_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments/69522181"},"html":{"href":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117#discussion_r69522181"},"pull_request":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117","id":75817798,"html_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117","diff_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117.diff","patch_url":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117.patch","issue_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/117","number":117,"state":"open","locked":false,"title":"Refactored client. Updated client model. Added unit test for client.","user":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"body":"\r\nThis PR implements the following:\r\n* Updated client model in order to use the last API changes.\r\n* Added client unit tests.\r\n* Added restaurant rate in the restaurant popup.\r\n* Added new menu entry with new operations: My organizations.\r\n* Fixed ShowMessage behaviour when multiple messages are raised.\r\n* Client refactored in order to separate the logic, the API calls and the rendering.\r\n* Divided utils file in utils and AJAXRequest.\r\n* Added comments to modules.\r\n* Cleaned code and fixed format.\r\n* Updated jquery timepicker.\r\n* Added minor input checks for reservations.","created_at":"2016-06-30T13:20:38Z","updated_at":"2016-07-05T08:13:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb1554389456fadd0d058423f865778979e16c57","assignee":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"assignees":[{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117/commits","review_comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117/comments","review_comment_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/117/comments","statuses_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/0f8106aad61b402a36bf86ab287f3baec1b299a6","head":{"label":"FiwareULPGC:refactor/updated_client_model_added_unit_test","ref":"refactor/updated_client_model_added_unit_test","sha":"0f8106aad61b402a36bf86ab287f3baec1b299a6","user":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"repo":{"id":39492279,"name":"tutorials.TourGuide-App","full_name":"FiwareULPGC/tutorials.TourGuide-App","owner":{"login":"FiwareULPGC","id":9944828,"avatar_url":"https://avatars.githubusercontent.com/u/9944828?v=3","gravatar_id":"","url":"https://api.github.com/users/FiwareULPGC","html_url":"https://github.com/FiwareULPGC","followers_url":"https://api.github.com/users/FiwareULPGC/followers","following_url":"https://api.github.com/users/FiwareULPGC/following{/other_user}","gists_url":"https://api.github.com/users/FiwareULPGC/gists{/gist_id}","starred_url":"https://api.github.com/users/FiwareULPGC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiwareULPGC/subscriptions","organizations_url":"https://api.github.com/users/FiwareULPGC/orgs","repos_url":"https://api.github.com/users/FiwareULPGC/repos","events_url":"https://api.github.com/users/FiwareULPGC/events{/privacy}","received_events_url":"https://api.github.com/users/FiwareULPGC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FiwareULPGC/tutorials.TourGuide-App","description":"FIWARE Developers Guide Application","fork":true,"url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App","forks_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/forks","keys_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/teams","hooks_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/hooks","issue_events_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/issues/events{/number}","events_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/events","assignees_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/assignees{/user}","branches_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/branches{/branch}","tags_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/tags","blobs_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/statuses/{sha}","languages_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/languages","stargazers_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/stargazers","contributors_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/contributors","subscribers_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/subscribers","subscription_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/subscription","commits_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/contents/{+path}","compare_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/merges","archive_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/downloads","issues_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/issues{/number}","pulls_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/pulls{/number}","milestones_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/milestones{/number}","notifications_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/labels{/name}","releases_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/releases{/id}","deployments_url":"https://api.github.com/repos/FiwareULPGC/tutorials.TourGuide-App/deployments","created_at":"2015-07-22T07:33:11Z","updated_at":"2016-03-23T08:32:16Z","pushed_at":"2016-06-30T13:21:45Z","git_url":"git://github.com/FiwareULPGC/tutorials.TourGuide-App.git","ssh_url":"git@github.com:FiwareULPGC/tutorials.TourGuide-App.git","clone_url":"https://github.com/FiwareULPGC/tutorials.TourGuide-App.git","svn_url":"https://github.com/FiwareULPGC/tutorials.TourGuide-App","homepage":null,"size":9988,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"Fiware:develop","ref":"develop","sha":"a5eeb368746031c0d9a58839a3cf3e464e832f88","user":{"login":"Fiware","id":5936803,"avatar_url":"https://avatars.githubusercontent.com/u/5936803?v=3","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"repo":{"id":38439707,"name":"tutorials.TourGuide-App","full_name":"Fiware/tutorials.TourGuide-App","owner":{"login":"Fiware","id":5936803,"avatar_url":"https://avatars.githubusercontent.com/u/5936803?v=3","gravatar_id":"","url":"https://api.github.com/users/Fiware","html_url":"https://github.com/Fiware","followers_url":"https://api.github.com/users/Fiware/followers","following_url":"https://api.github.com/users/Fiware/following{/other_user}","gists_url":"https://api.github.com/users/Fiware/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiware/subscriptions","organizations_url":"https://api.github.com/users/Fiware/orgs","repos_url":"https://api.github.com/users/Fiware/repos","events_url":"https://api.github.com/users/Fiware/events{/privacy}","received_events_url":"https://api.github.com/users/Fiware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Fiware/tutorials.TourGuide-App","description":"FIWARE Tour Guide Application. See http://bit.ly/1pby3WP","fork":false,"url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App","forks_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/forks","keys_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/teams","hooks_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/hooks","issue_events_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/events{/number}","events_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/events","assignees_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/assignees{/user}","branches_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/branches{/branch}","tags_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/tags","blobs_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/{sha}","languages_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/languages","stargazers_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/stargazers","contributors_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/contributors","subscribers_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/subscribers","subscription_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/subscription","commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/contents/{+path}","compare_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/merges","archive_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/downloads","issues_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues{/number}","pulls_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls{/number}","milestones_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/milestones{/number}","notifications_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/labels{/name}","releases_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/releases{/id}","deployments_url":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/deployments","created_at":"2015-07-02T15:08:43Z","updated_at":"2016-06-29T03:09:30Z","pushed_at":"2016-06-30T13:21:46Z","git_url":"git://github.com/Fiware/tutorials.TourGuide-App.git","ssh_url":"git@github.com:Fiware/tutorials.TourGuide-App.git","clone_url":"https://github.com/Fiware/tutorials.TourGuide-App.git","svn_url":"https://github.com/Fiware/tutorials.TourGuide-App","homepage":"","size":10100,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":19,"forks":12,"open_issues":19,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117"},"html":{"href":"https://github.com/Fiware/tutorials.TourGuide-App/pull/117"},"issue":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/117"},"comments":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/Fiware/tutorials.TourGuide-App/statuses/0f8106aad61b402a36bf86ab287f3baec1b299a6"}}}}
{"actor":{"display_login":"jmcanterafonseca"}}