{"action":"created","comment":{"url":"https://api.github.com/repos/Flipkart/aesop/pulls/comments/47465203","id":47465203,"diff_hunk":"@@ -0,0 +1,22 @@\n+package com.flipkart.aesop.apicallerdatalayer.headers;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+/**\n+ * Created by aman.gupta on 10/12/15.\n+ */\n+public class ContextualHeaderProvider extends HeaderCreater {","path":"data-layers/data-layer-api-caller/src/main/java/com/flipkart/aesop/apicallerdatalayer/headers/ContextualHeaderProvider.java","position":9,"original_position":9,"commit_id":"bfb5657dc41fcda9441d45387f83e1e24f5ad8b2","original_commit_id":"bfb5657dc41fcda9441d45387f83e1e24f5ad8b2","user":{"login":"anantharamv","id":11210223,"avatar_url":"https://avatars.githubusercontent.com/u/11210223?v=3","gravatar_id":"","url":"https://api.github.com/users/anantharamv","html_url":"https://github.com/anantharamv","followers_url":"https://api.github.com/users/anantharamv/followers","following_url":"https://api.github.com/users/anantharamv/following{/other_user}","gists_url":"https://api.github.com/users/anantharamv/gists{/gist_id}","starred_url":"https://api.github.com/users/anantharamv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anantharamv/subscriptions","organizations_url":"https://api.github.com/users/anantharamv/orgs","repos_url":"https://api.github.com/users/anantharamv/repos","events_url":"https://api.github.com/users/anantharamv/events{/privacy}","received_events_url":"https://api.github.com/users/anantharamv/received_events","type":"User","site_admin":false},"body":"Make the ContextualheaderProvider & StaticheaderProvider into interfaces.\r\n\r\nRefactor the current implementation of thes header provides to something like string based header providers.","created_at":"2015-12-14T06:43:15Z","updated_at":"2015-12-14T06:43:15Z","html_url":"https://github.com/Flipkart/aesop/pull/48#discussion_r47465203","pull_request_url":"https://api.github.com/repos/Flipkart/aesop/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/comments/47465203"},"html":{"href":"https://github.com/Flipkart/aesop/pull/48#discussion_r47465203"},"pull_request":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/Flipkart/aesop/pulls/48","id":52753266,"html_url":"https://github.com/Flipkart/aesop/pull/48","diff_url":"https://github.com/Flipkart/aesop/pull/48.diff","patch_url":"https://github.com/Flipkart/aesop/pull/48.patch","issue_url":"https://api.github.com/repos/Flipkart/aesop/issues/48","number":48,"state":"open","locked":false,"title":"Restapi caller","user":{"login":"aman9bits","id":13363771,"avatar_url":"https://avatars.githubusercontent.com/u/13363771?v=3","gravatar_id":"","url":"https://api.github.com/users/aman9bits","html_url":"https://github.com/aman9bits","followers_url":"https://api.github.com/users/aman9bits/followers","following_url":"https://api.github.com/users/aman9bits/following{/other_user}","gists_url":"https://api.github.com/users/aman9bits/gists{/gist_id}","starred_url":"https://api.github.com/users/aman9bits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aman9bits/subscriptions","organizations_url":"https://api.github.com/users/aman9bits/orgs","repos_url":"https://api.github.com/users/aman9bits/repos","events_url":"https://api.github.com/users/aman9bits/events{/privacy}","received_events_url":"https://api.github.com/users/aman9bits/received_events","type":"User","site_admin":false},"body":"Data Layer for making a post call to the configured URI with the event as json payload.","created_at":"2015-12-05T11:35:58Z","updated_at":"2015-12-14T06:43:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a1ac25e9d6739b04b694ae961484c9347ff4009","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Flipkart/aesop/pulls/48/commits","review_comments_url":"https://api.github.com/repos/Flipkart/aesop/pulls/48/comments","review_comment_url":"https://api.github.com/repos/Flipkart/aesop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Flipkart/aesop/issues/48/comments","statuses_url":"https://api.github.com/repos/Flipkart/aesop/statuses/bfb5657dc41fcda9441d45387f83e1e24f5ad8b2","head":{"label":"aman9bits:restapi-caller","ref":"restapi-caller","sha":"bfb5657dc41fcda9441d45387f83e1e24f5ad8b2","user":{"login":"aman9bits","id":13363771,"avatar_url":"https://avatars.githubusercontent.com/u/13363771?v=3","gravatar_id":"","url":"https://api.github.com/users/aman9bits","html_url":"https://github.com/aman9bits","followers_url":"https://api.github.com/users/aman9bits/followers","following_url":"https://api.github.com/users/aman9bits/following{/other_user}","gists_url":"https://api.github.com/users/aman9bits/gists{/gist_id}","starred_url":"https://api.github.com/users/aman9bits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aman9bits/subscriptions","organizations_url":"https://api.github.com/users/aman9bits/orgs","repos_url":"https://api.github.com/users/aman9bits/repos","events_url":"https://api.github.com/users/aman9bits/events{/privacy}","received_events_url":"https://api.github.com/users/aman9bits/received_events","type":"User","site_admin":false},"repo":{"id":40899037,"name":"aesop","full_name":"aman9bits/aesop","owner":{"login":"aman9bits","id":13363771,"avatar_url":"https://avatars.githubusercontent.com/u/13363771?v=3","gravatar_id":"","url":"https://api.github.com/users/aman9bits","html_url":"https://github.com/aman9bits","followers_url":"https://api.github.com/users/aman9bits/followers","following_url":"https://api.github.com/users/aman9bits/following{/other_user}","gists_url":"https://api.github.com/users/aman9bits/gists{/gist_id}","starred_url":"https://api.github.com/users/aman9bits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aman9bits/subscriptions","organizations_url":"https://api.github.com/users/aman9bits/orgs","repos_url":"https://api.github.com/users/aman9bits/repos","events_url":"https://api.github.com/users/aman9bits/events{/privacy}","received_events_url":"https://api.github.com/users/aman9bits/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aman9bits/aesop","description":"A keen Observer of changes that can also relay change events reliably to interested parties. Provides useful infrastructure for building Eventually Consistent data sources and systems.","fork":true,"url":"https://api.github.com/repos/aman9bits/aesop","forks_url":"https://api.github.com/repos/aman9bits/aesop/forks","keys_url":"https://api.github.com/repos/aman9bits/aesop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aman9bits/aesop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aman9bits/aesop/teams","hooks_url":"https://api.github.com/repos/aman9bits/aesop/hooks","issue_events_url":"https://api.github.com/repos/aman9bits/aesop/issues/events{/number}","events_url":"https://api.github.com/repos/aman9bits/aesop/events","assignees_url":"https://api.github.com/repos/aman9bits/aesop/assignees{/user}","branches_url":"https://api.github.com/repos/aman9bits/aesop/branches{/branch}","tags_url":"https://api.github.com/repos/aman9bits/aesop/tags","blobs_url":"https://api.github.com/repos/aman9bits/aesop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aman9bits/aesop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aman9bits/aesop/git/refs{/sha}","trees_url":"https://api.github.com/repos/aman9bits/aesop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aman9bits/aesop/statuses/{sha}","languages_url":"https://api.github.com/repos/aman9bits/aesop/languages","stargazers_url":"https://api.github.com/repos/aman9bits/aesop/stargazers","contributors_url":"https://api.github.com/repos/aman9bits/aesop/contributors","subscribers_url":"https://api.github.com/repos/aman9bits/aesop/subscribers","subscription_url":"https://api.github.com/repos/aman9bits/aesop/subscription","commits_url":"https://api.github.com/repos/aman9bits/aesop/commits{/sha}","git_commits_url":"https://api.github.com/repos/aman9bits/aesop/git/commits{/sha}","comments_url":"https://api.github.com/repos/aman9bits/aesop/comments{/number}","issue_comment_url":"https://api.github.com/repos/aman9bits/aesop/issues/comments{/number}","contents_url":"https://api.github.com/repos/aman9bits/aesop/contents/{+path}","compare_url":"https://api.github.com/repos/aman9bits/aesop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aman9bits/aesop/merges","archive_url":"https://api.github.com/repos/aman9bits/aesop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aman9bits/aesop/downloads","issues_url":"https://api.github.com/repos/aman9bits/aesop/issues{/number}","pulls_url":"https://api.github.com/repos/aman9bits/aesop/pulls{/number}","milestones_url":"https://api.github.com/repos/aman9bits/aesop/milestones{/number}","notifications_url":"https://api.github.com/repos/aman9bits/aesop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aman9bits/aesop/labels{/name}","releases_url":"https://api.github.com/repos/aman9bits/aesop/releases{/id}","created_at":"2015-08-17T13:56:24Z","updated_at":"2015-08-17T13:56:25Z","pushed_at":"2015-12-10T20:48:08Z","git_url":"git://github.com/aman9bits/aesop.git","ssh_url":"git@github.com:aman9bits/aesop.git","clone_url":"https://github.com/aman9bits/aesop.git","svn_url":"https://github.com/aman9bits/aesop","homepage":null,"size":72726,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"Flipkart:master","ref":"master","sha":"29c80c3596e13730653a88aa344619fea2a9abf1","user":{"login":"Flipkart","id":1179997,"avatar_url":"https://avatars.githubusercontent.com/u/1179997?v=3","gravatar_id":"","url":"https://api.github.com/users/Flipkart","html_url":"https://github.com/Flipkart","followers_url":"https://api.github.com/users/Flipkart/followers","following_url":"https://api.github.com/users/Flipkart/following{/other_user}","gists_url":"https://api.github.com/users/Flipkart/gists{/gist_id}","starred_url":"https://api.github.com/users/Flipkart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flipkart/subscriptions","organizations_url":"https://api.github.com/users/Flipkart/orgs","repos_url":"https://api.github.com/users/Flipkart/repos","events_url":"https://api.github.com/users/Flipkart/events{/privacy}","received_events_url":"https://api.github.com/users/Flipkart/received_events","type":"Organization","site_admin":false},"repo":{"id":14686390,"name":"aesop","full_name":"Flipkart/aesop","owner":{"login":"Flipkart","id":1179997,"avatar_url":"https://avatars.githubusercontent.com/u/1179997?v=3","gravatar_id":"","url":"https://api.github.com/users/Flipkart","html_url":"https://github.com/Flipkart","followers_url":"https://api.github.com/users/Flipkart/followers","following_url":"https://api.github.com/users/Flipkart/following{/other_user}","gists_url":"https://api.github.com/users/Flipkart/gists{/gist_id}","starred_url":"https://api.github.com/users/Flipkart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flipkart/subscriptions","organizations_url":"https://api.github.com/users/Flipkart/orgs","repos_url":"https://api.github.com/users/Flipkart/repos","events_url":"https://api.github.com/users/Flipkart/events{/privacy}","received_events_url":"https://api.github.com/users/Flipkart/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Flipkart/aesop","description":"A keen Observer of changes that can also relay change events reliably to interested parties. Provides useful infrastructure for building Eventually Consistent data sources and systems.","fork":false,"url":"https://api.github.com/repos/Flipkart/aesop","forks_url":"https://api.github.com/repos/Flipkart/aesop/forks","keys_url":"https://api.github.com/repos/Flipkart/aesop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Flipkart/aesop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Flipkart/aesop/teams","hooks_url":"https://api.github.com/repos/Flipkart/aesop/hooks","issue_events_url":"https://api.github.com/repos/Flipkart/aesop/issues/events{/number}","events_url":"https://api.github.com/repos/Flipkart/aesop/events","assignees_url":"https://api.github.com/repos/Flipkart/aesop/assignees{/user}","branches_url":"https://api.github.com/repos/Flipkart/aesop/branches{/branch}","tags_url":"https://api.github.com/repos/Flipkart/aesop/tags","blobs_url":"https://api.github.com/repos/Flipkart/aesop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Flipkart/aesop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Flipkart/aesop/git/refs{/sha}","trees_url":"https://api.github.com/repos/Flipkart/aesop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Flipkart/aesop/statuses/{sha}","languages_url":"https://api.github.com/repos/Flipkart/aesop/languages","stargazers_url":"https://api.github.com/repos/Flipkart/aesop/stargazers","contributors_url":"https://api.github.com/repos/Flipkart/aesop/contributors","subscribers_url":"https://api.github.com/repos/Flipkart/aesop/subscribers","subscription_url":"https://api.github.com/repos/Flipkart/aesop/subscription","commits_url":"https://api.github.com/repos/Flipkart/aesop/commits{/sha}","git_commits_url":"https://api.github.com/repos/Flipkart/aesop/git/commits{/sha}","comments_url":"https://api.github.com/repos/Flipkart/aesop/comments{/number}","issue_comment_url":"https://api.github.com/repos/Flipkart/aesop/issues/comments{/number}","contents_url":"https://api.github.com/repos/Flipkart/aesop/contents/{+path}","compare_url":"https://api.github.com/repos/Flipkart/aesop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Flipkart/aesop/merges","archive_url":"https://api.github.com/repos/Flipkart/aesop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Flipkart/aesop/downloads","issues_url":"https://api.github.com/repos/Flipkart/aesop/issues{/number}","pulls_url":"https://api.github.com/repos/Flipkart/aesop/pulls{/number}","milestones_url":"https://api.github.com/repos/Flipkart/aesop/milestones{/number}","notifications_url":"https://api.github.com/repos/Flipkart/aesop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Flipkart/aesop/labels{/name}","releases_url":"https://api.github.com/repos/Flipkart/aesop/releases{/id}","created_at":"2013-11-25T13:35:29Z","updated_at":"2015-12-09T16:49:02Z","pushed_at":"2015-12-10T20:48:08Z","git_url":"git://github.com/Flipkart/aesop.git","ssh_url":"git@github.com:Flipkart/aesop.git","clone_url":"https://github.com/Flipkart/aesop.git","svn_url":"https://github.com/Flipkart/aesop","homepage":null,"size":72622,"stargazers_count":70,"watchers_count":70,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":9,"forks":35,"open_issues":9,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/48"},"html":{"href":"https://github.com/Flipkart/aesop/pull/48"},"issue":{"href":"https://api.github.com/repos/Flipkart/aesop/issues/48"},"comments":{"href":"https://api.github.com/repos/Flipkart/aesop/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Flipkart/aesop/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/Flipkart/aesop/statuses/bfb5657dc41fcda9441d45387f83e1e24f5ad8b2"}}}}