{"action":"created","comment":{"url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/comments/171850776","pull_request_review_id":100757184,"id":171850776,"diff_hunk":"@@ -0,0 +1,62 @@\n+package uk.co.telegraph.travel.services\n+\n+import com.typesafe.config.Config\n+import uk.co.telegraph.utils._\n+\n+case class PackageUrlBuilder(\n+    baseUrl: String,\n+    packagesUri: String,\n+    key: String,\n+    authorization: String,\n+    accept: String,\n+    partnerTransactionPrefix: String,\n+    departureAirport: String,\n+    arrivalAirport: String,\n+    departureDate: String,\n+    returnDate: String,\n+    packageType: String,\n+    adult: String,\n+    room1adults: String,\n+    anchorProduct: String,\n+    hotelDetails: String\n+) {\n+  def packagesUrl: String = s\"$baseUrl/$packagesUri\"\n+\n+  def getUrl(hotelIds: String): String = s\"packageType=${packageType}\" +\n+    s\"&origin=${departureAirport}\" +\n+    s\"&destination=${arrivalAirport}\" +\n+    s\"&anchorProduct=${anchorProduct}\" +\n+    s\"&departureDate=${departureDate}\" +\n+    s\"&returnDate=${returnDate}\" +\n+    s\"&adult=${adult}\" +\n+    s\"&room1.adults=${room1adults}\" +\n+    s\"&hotelIds=${hotelIds}\" +\n+    s\"&hotelDetails=${hotelDetails}\"\n+}","path":"src/main/scala/uk/co/telegraph/travel/services/PackageUrlBuilder.scala","position":35,"original_position":35,"commit_id":"1aad121f6dcf3f16ae1e7eca71051bd5416cadfd","original_commit_id":"1aad121f6dcf3f16ae1e7eca71051bd5416cadfd","user":{"login":"LucianTuduce","id":14326032,"avatar_url":"https://avatars1.githubusercontent.com/u/14326032?v=4","gravatar_id":"","url":"https://api.github.com/users/LucianTuduce","html_url":"https://github.com/LucianTuduce","followers_url":"https://api.github.com/users/LucianTuduce/followers","following_url":"https://api.github.com/users/LucianTuduce/following{/other_user}","gists_url":"https://api.github.com/users/LucianTuduce/gists{/gist_id}","starred_url":"https://api.github.com/users/LucianTuduce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucianTuduce/subscriptions","organizations_url":"https://api.github.com/users/LucianTuduce/orgs","repos_url":"https://api.github.com/users/LucianTuduce/repos","events_url":"https://api.github.com/users/LucianTuduce/events{/privacy}","received_events_url":"https://api.github.com/users/LucianTuduce/received_events","type":"User","site_admin":false},"body":"Added extra query param","created_at":"2018-03-02T13:48:26Z","updated_at":"2018-03-02T13:57:03Z","html_url":"https://github.com/telegraph/travel-expedia-integration/pull/6#discussion_r171850776","pull_request_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/comments/171850776"},"html":{"href":"https://github.com/telegraph/travel-expedia-integration/pull/6#discussion_r171850776"},"pull_request":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6"}},"in_reply_to_id":171804480},"pull_request":{"url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6","id":170467265,"html_url":"https://github.com/telegraph/travel-expedia-integration/pull/6","diff_url":"https://github.com/telegraph/travel-expedia-integration/pull/6.diff","patch_url":"https://github.com/telegraph/travel-expedia-integration/pull/6.patch","issue_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/6","number":6,"state":"open","locked":false,"title":"TTT-1893 implement expedia call","user":{"login":"claudiasion","id":870366,"avatar_url":"https://avatars2.githubusercontent.com/u/870366?v=4","gravatar_id":"","url":"https://api.github.com/users/claudiasion","html_url":"https://github.com/claudiasion","followers_url":"https://api.github.com/users/claudiasion/followers","following_url":"https://api.github.com/users/claudiasion/following{/other_user}","gists_url":"https://api.github.com/users/claudiasion/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiasion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiasion/subscriptions","organizations_url":"https://api.github.com/users/claudiasion/orgs","repos_url":"https://api.github.com/users/claudiasion/repos","events_url":"https://api.github.com/users/claudiasion/events{/privacy}","received_events_url":"https://api.github.com/users/claudiasion/received_events","type":"User","site_admin":false},"body":"Committed a draft of the Expedia Controller and request/response messages. \r\nThis is a PR to get **very early** feedback in order to make sure we are going in the right direction","created_at":"2018-02-21T13:18:56Z","updated_at":"2018-03-02T13:57:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"548f453c3586bc33ba8586d6962b3f3a787342f9","assignee":{"login":"claudiasion","id":870366,"avatar_url":"https://avatars2.githubusercontent.com/u/870366?v=4","gravatar_id":"","url":"https://api.github.com/users/claudiasion","html_url":"https://github.com/claudiasion","followers_url":"https://api.github.com/users/claudiasion/followers","following_url":"https://api.github.com/users/claudiasion/following{/other_user}","gists_url":"https://api.github.com/users/claudiasion/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiasion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiasion/subscriptions","organizations_url":"https://api.github.com/users/claudiasion/orgs","repos_url":"https://api.github.com/users/claudiasion/repos","events_url":"https://api.github.com/users/claudiasion/events{/privacy}","received_events_url":"https://api.github.com/users/claudiasion/received_events","type":"User","site_admin":false},"assignees":[{"login":"claudiasion","id":870366,"avatar_url":"https://avatars2.githubusercontent.com/u/870366?v=4","gravatar_id":"","url":"https://api.github.com/users/claudiasion","html_url":"https://github.com/claudiasion","followers_url":"https://api.github.com/users/claudiasion/followers","following_url":"https://api.github.com/users/claudiasion/following{/other_user}","gists_url":"https://api.github.com/users/claudiasion/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiasion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiasion/subscriptions","organizations_url":"https://api.github.com/users/claudiasion/orgs","repos_url":"https://api.github.com/users/claudiasion/repos","events_url":"https://api.github.com/users/claudiasion/events{/privacy}","received_events_url":"https://api.github.com/users/claudiasion/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6/commits","review_comments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6/comments","review_comment_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/6/comments","statuses_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/statuses/1aad121f6dcf3f16ae1e7eca71051bd5416cadfd","head":{"label":"telegraph:TTT-1893-Implement-Expedia-Call","ref":"TTT-1893-Implement-Expedia-Call","sha":"1aad121f6dcf3f16ae1e7eca71051bd5416cadfd","user":{"login":"telegraph","id":221228,"avatar_url":"https://avatars1.githubusercontent.com/u/221228?v=4","gravatar_id":"","url":"https://api.github.com/users/telegraph","html_url":"https://github.com/telegraph","followers_url":"https://api.github.com/users/telegraph/followers","following_url":"https://api.github.com/users/telegraph/following{/other_user}","gists_url":"https://api.github.com/users/telegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/telegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telegraph/subscriptions","organizations_url":"https://api.github.com/users/telegraph/orgs","repos_url":"https://api.github.com/users/telegraph/repos","events_url":"https://api.github.com/users/telegraph/events{/privacy}","received_events_url":"https://api.github.com/users/telegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":121628817,"name":"travel-expedia-integration","full_name":"telegraph/travel-expedia-integration","owner":{"login":"telegraph","id":221228,"avatar_url":"https://avatars1.githubusercontent.com/u/221228?v=4","gravatar_id":"","url":"https://api.github.com/users/telegraph","html_url":"https://github.com/telegraph","followers_url":"https://api.github.com/users/telegraph/followers","following_url":"https://api.github.com/users/telegraph/following{/other_user}","gists_url":"https://api.github.com/users/telegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/telegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telegraph/subscriptions","organizations_url":"https://api.github.com/users/telegraph/orgs","repos_url":"https://api.github.com/users/telegraph/repos","events_url":"https://api.github.com/users/telegraph/events{/privacy}","received_events_url":"https://api.github.com/users/telegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telegraph/travel-expedia-integration","description":"Service used to ingest packages from expedia.","fork":false,"url":"https://api.github.com/repos/telegraph/travel-expedia-integration","forks_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/forks","keys_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/teams","hooks_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/hooks","issue_events_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/events{/number}","events_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/events","assignees_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/assignees{/user}","branches_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/branches{/branch}","tags_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/tags","blobs_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/languages","stargazers_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/stargazers","contributors_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/contributors","subscribers_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/subscribers","subscription_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/subscription","commits_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/contents/{+path}","compare_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/merges","archive_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/downloads","issues_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues{/number}","pulls_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/labels{/name}","releases_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/releases{/id}","deployments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/deployments","created_at":"2018-02-15T12:44:26Z","updated_at":"2018-02-21T11:08:47Z","pushed_at":"2018-03-02T12:43:26Z","git_url":"git://github.com/telegraph/travel-expedia-integration.git","ssh_url":"git@github.com:telegraph/travel-expedia-integration.git","clone_url":"https://github.com/telegraph/travel-expedia-integration.git","svn_url":"https://github.com/telegraph/travel-expedia-integration","homepage":"","size":89,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"dev"}},"base":{"label":"telegraph:dev","ref":"dev","sha":"fb0a18f6652590142c023f6f459ea81bea1f66a2","user":{"login":"telegraph","id":221228,"avatar_url":"https://avatars1.githubusercontent.com/u/221228?v=4","gravatar_id":"","url":"https://api.github.com/users/telegraph","html_url":"https://github.com/telegraph","followers_url":"https://api.github.com/users/telegraph/followers","following_url":"https://api.github.com/users/telegraph/following{/other_user}","gists_url":"https://api.github.com/users/telegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/telegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telegraph/subscriptions","organizations_url":"https://api.github.com/users/telegraph/orgs","repos_url":"https://api.github.com/users/telegraph/repos","events_url":"https://api.github.com/users/telegraph/events{/privacy}","received_events_url":"https://api.github.com/users/telegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":121628817,"name":"travel-expedia-integration","full_name":"telegraph/travel-expedia-integration","owner":{"login":"telegraph","id":221228,"avatar_url":"https://avatars1.githubusercontent.com/u/221228?v=4","gravatar_id":"","url":"https://api.github.com/users/telegraph","html_url":"https://github.com/telegraph","followers_url":"https://api.github.com/users/telegraph/followers","following_url":"https://api.github.com/users/telegraph/following{/other_user}","gists_url":"https://api.github.com/users/telegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/telegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telegraph/subscriptions","organizations_url":"https://api.github.com/users/telegraph/orgs","repos_url":"https://api.github.com/users/telegraph/repos","events_url":"https://api.github.com/users/telegraph/events{/privacy}","received_events_url":"https://api.github.com/users/telegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telegraph/travel-expedia-integration","description":"Service used to ingest packages from expedia.","fork":false,"url":"https://api.github.com/repos/telegraph/travel-expedia-integration","forks_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/forks","keys_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/teams","hooks_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/hooks","issue_events_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/events{/number}","events_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/events","assignees_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/assignees{/user}","branches_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/branches{/branch}","tags_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/tags","blobs_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/languages","stargazers_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/stargazers","contributors_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/contributors","subscribers_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/subscribers","subscription_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/subscription","commits_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/contents/{+path}","compare_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/merges","archive_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/downloads","issues_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues{/number}","pulls_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/labels{/name}","releases_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/releases{/id}","deployments_url":"https://api.github.com/repos/telegraph/travel-expedia-integration/deployments","created_at":"2018-02-15T12:44:26Z","updated_at":"2018-02-21T11:08:47Z","pushed_at":"2018-03-02T12:43:26Z","git_url":"git://github.com/telegraph/travel-expedia-integration.git","ssh_url":"git@github.com:telegraph/travel-expedia-integration.git","clone_url":"https://github.com/telegraph/travel-expedia-integration.git","svn_url":"https://github.com/telegraph/travel-expedia-integration","homepage":"","size":89,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6"},"html":{"href":"https://github.com/telegraph/travel-expedia-integration/pull/6"},"issue":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/6"},"comments":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/telegraph/travel-expedia-integration/statuses/1aad121f6dcf3f16ae1e7eca71051bd5416cadfd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"LucianTuduce"}}