{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments/84000349","pull_request_review_id":4805956,"id":84000349,"diff_hunk":"@@ -0,0 +1,68 @@\n+/*\n+ * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.\n+ * <p>\n+ * WSO2 Inc. licenses this file to you under the Apache License,\n+ * Version 2.0 (the \"License\"); you may not use this file except\n+ * in compliance with the License.\n+ * You may obtain a copy of the License at\n+ * <p>\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ * <p>\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an\n+ * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ * KIND, either express or implied.  See the License for the\n+ * specific language governing permissions and limitations\n+ * under the License.\n+ */\n+\n+package org.wso2.carbon.gateway.core.flow.contentaware;\n+\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.wso2.carbon.gateway.core.Constants;\n+import org.wso2.carbon.gateway.core.flow.contentaware.abstractcontext.MessageBodyEvaluator;\n+import org.wso2.carbon.gateway.core.flow.contentaware.abstractcontext.MessageBodyEvaluatorRegistry;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+\n+/**\n+ * Base implementation of a MessageBodyEvaluatorRegistry.\n+ */\n+public class BaseMessageBodyEvaluatorRegistry implements MessageBodyEvaluatorRegistry {\n+    private static final Logger log = LoggerFactory.getLogger(BaseMessageBodyEvaluatorRegistry.class);\n+\n+    private static BaseMessageBodyEvaluatorRegistry instance = new BaseMessageBodyEvaluatorRegistry();","path":"gateway-core/components/org.wso2.carbon.gateway.core/src/main/java/org/wso2/carbon/gateway/core/flow/contentaware/BaseMessageBodyEvaluatorRegistry.java","position":36,"original_position":36,"commit_id":"d697d63ea784d5e36fb34c8a759ad27a9a860212","original_commit_id":"d697d63ea784d5e36fb34c8a759ad27a9a860212","user":{"login":"ramith","id":3402882,"avatar_url":"https://avatars.githubusercontent.com/u/3402882?v=3","gravatar_id":"","url":"https://api.github.com/users/ramith","html_url":"https://github.com/ramith","followers_url":"https://api.github.com/users/ramith/followers","following_url":"https://api.github.com/users/ramith/following{/other_user}","gists_url":"https://api.github.com/users/ramith/gists{/gist_id}","starred_url":"https://api.github.com/users/ramith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramith/subscriptions","organizations_url":"https://api.github.com/users/ramith/orgs","repos_url":"https://api.github.com/users/ramith/repos","events_url":"https://api.github.com/users/ramith/events{/privacy}","received_events_url":"https://api.github.com/users/ramith/received_events","type":"User","site_admin":false},"body":"documentation on these variable would be nice.","created_at":"2016-10-19T05:42:19Z","updated_at":"2016-10-19T05:42:19Z","html_url":"https://github.com/wso2/carbon-gateway-framework/pull/45#discussion_r84000349","pull_request_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments/84000349"},"html":{"href":"https://github.com/wso2/carbon-gateway-framework/pull/45#discussion_r84000349"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45","id":89144547,"html_url":"https://github.com/wso2/carbon-gateway-framework/pull/45","diff_url":"https://github.com/wso2/carbon-gateway-framework/pull/45.diff","patch_url":"https://github.com/wso2/carbon-gateway-framework/pull/45.patch","issue_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/45","number":45,"state":"open","locked":false,"title":"WIP: Content aware filter implementation","user":{"login":"Manuri","id":1335271,"avatar_url":"https://avatars.githubusercontent.com/u/1335271?v=3","gravatar_id":"","url":"https://api.github.com/users/Manuri","html_url":"https://github.com/Manuri","followers_url":"https://api.github.com/users/Manuri/followers","following_url":"https://api.github.com/users/Manuri/following{/other_user}","gists_url":"https://api.github.com/users/Manuri/gists{/gist_id}","starred_url":"https://api.github.com/users/Manuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manuri/subscriptions","organizations_url":"https://api.github.com/users/Manuri/orgs","repos_url":"https://api.github.com/users/Manuri/repos","events_url":"https://api.github.com/users/Manuri/events{/privacy}","received_events_url":"https://api.github.com/users/Manuri/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-13T06:42:05Z","updated_at":"2016-10-19T05:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3493c0c1339324f1a2e97e6d3681f0965038049a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/45/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/d697d63ea784d5e36fb34c8a759ad27a9a860212","head":{"label":"Manuri:filter-impl-merge-master","ref":"filter-impl-merge-master","sha":"d697d63ea784d5e36fb34c8a759ad27a9a860212","user":{"login":"Manuri","id":1335271,"avatar_url":"https://avatars.githubusercontent.com/u/1335271?v=3","gravatar_id":"","url":"https://api.github.com/users/Manuri","html_url":"https://github.com/Manuri","followers_url":"https://api.github.com/users/Manuri/followers","following_url":"https://api.github.com/users/Manuri/following{/other_user}","gists_url":"https://api.github.com/users/Manuri/gists{/gist_id}","starred_url":"https://api.github.com/users/Manuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manuri/subscriptions","organizations_url":"https://api.github.com/users/Manuri/orgs","repos_url":"https://api.github.com/users/Manuri/repos","events_url":"https://api.github.com/users/Manuri/events{/privacy}","received_events_url":"https://api.github.com/users/Manuri/received_events","type":"User","site_admin":false},"repo":{"id":70769274,"name":"carbon-gateway-framework","full_name":"Manuri/carbon-gateway-framework","owner":{"login":"Manuri","id":1335271,"avatar_url":"https://avatars.githubusercontent.com/u/1335271?v=3","gravatar_id":"","url":"https://api.github.com/users/Manuri","html_url":"https://github.com/Manuri","followers_url":"https://api.github.com/users/Manuri/followers","following_url":"https://api.github.com/users/Manuri/following{/other_user}","gists_url":"https://api.github.com/users/Manuri/gists{/gist_id}","starred_url":"https://api.github.com/users/Manuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manuri/subscriptions","organizations_url":"https://api.github.com/users/Manuri/orgs","repos_url":"https://api.github.com/users/Manuri/repos","events_url":"https://api.github.com/users/Manuri/events{/privacy}","received_events_url":"https://api.github.com/users/Manuri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manuri/carbon-gateway-framework","description":null,"fork":true,"url":"https://api.github.com/repos/Manuri/carbon-gateway-framework","forks_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/forks","keys_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/teams","hooks_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/hooks","issue_events_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/issues/events{/number}","events_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/events","assignees_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/assignees{/user}","branches_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/branches{/branch}","tags_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/tags","blobs_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/languages","stargazers_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/stargazers","contributors_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/contributors","subscribers_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/subscribers","subscription_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/subscription","commits_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/contents/{+path}","compare_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/merges","archive_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/downloads","issues_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/issues{/number}","pulls_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/labels{/name}","releases_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/releases{/id}","deployments_url":"https://api.github.com/repos/Manuri/carbon-gateway-framework/deployments","created_at":"2016-10-13T04:36:00Z","updated_at":"2016-10-13T04:36:02Z","pushed_at":"2016-10-19T04:50:30Z","git_url":"git://github.com/Manuri/carbon-gateway-framework.git","ssh_url":"git@github.com:Manuri/carbon-gateway-framework.git","clone_url":"https://github.com/Manuri/carbon-gateway-framework.git","svn_url":"https://github.com/Manuri/carbon-gateway-framework","homepage":null,"size":735,"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":"wso2:master","ref":"master","sha":"b54aba9f79a1bc6487ab5631d1e28a8dde921a1d","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":56567417,"name":"carbon-gateway-framework","full_name":"wso2/carbon-gateway-framework","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-gateway-framework","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-gateway-framework","forks_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/forks","keys_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/events","assignees_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/merges","archive_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-gateway-framework/deployments","created_at":"2016-04-19T05:33:44Z","updated_at":"2016-08-30T13:02:40Z","pushed_at":"2016-10-19T04:50:30Z","git_url":"git://github.com/wso2/carbon-gateway-framework.git","ssh_url":"git@github.com:wso2/carbon-gateway-framework.git","clone_url":"https://github.com/wso2/carbon-gateway-framework.git","svn_url":"https://github.com/wso2/carbon-gateway-framework","homepage":null,"size":916,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":8,"forks":37,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45"},"html":{"href":"https://github.com/wso2/carbon-gateway-framework/pull/45"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/45"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-gateway-framework/statuses/d697d63ea784d5e36fb34c8a759ad27a9a860212"}}}}
{"actor":{"display_login":"ramith"}}