{"action":"closed","number":1134,"pull_request":{"url":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134","id":198037081,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MDM3MDgx","html_url":"https://github.com/wso2/wso2-synapse/pull/1134","diff_url":"https://github.com/wso2/wso2-synapse/pull/1134.diff","patch_url":"https://github.com/wso2/wso2-synapse/pull/1134.patch","issue_url":"https://api.github.com/repos/wso2/wso2-synapse/issues/1134","number":1134,"state":"closed","locked":false,"title":"Mediation cache clear when validate mediator redeployment","user":{"login":"JanakaPushpakumara","id":37293166,"node_id":"MDQ6VXNlcjM3MjkzMTY2","avatar_url":"https://avatars3.githubusercontent.com/u/37293166?v=4","gravatar_id":"","url":"https://api.github.com/users/JanakaPushpakumara","html_url":"https://github.com/JanakaPushpakumara","followers_url":"https://api.github.com/users/JanakaPushpakumara/followers","following_url":"https://api.github.com/users/JanakaPushpakumara/following{/other_user}","gists_url":"https://api.github.com/users/JanakaPushpakumara/gists{/gist_id}","starred_url":"https://api.github.com/users/JanakaPushpakumara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanakaPushpakumara/subscriptions","organizations_url":"https://api.github.com/users/JanakaPushpakumara/orgs","repos_url":"https://api.github.com/users/JanakaPushpakumara/repos","events_url":"https://api.github.com/users/JanakaPushpakumara/events{/privacy}","received_events_url":"https://api.github.com/users/JanakaPushpakumara/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n> When the registry resources get change, ESB should be restart or wait until cachableDuration to clear the mediation cache which is used in validate mediator(when cachableDuration in ESB/repository/deployment/server/synapse-configs/default/registry.xml is large this will be a significant issue).\r\n\r\n## Goals\r\n> When registry resource related to the validate mediator get change, mediation cache which is used in validate mediator should be invalidated.\r\n\r\n## Approach\r\n> To Invalidate the mediation cache when at validate mediator redeployment(proxy redeployment). init method we can invalidate the mediation cache for the given registry schema resources.\r\n","created_at":"2018-06-28T13:51:06Z","updated_at":"2018-06-29T09:16:23Z","closed_at":"2018-06-29T09:16:23Z","merged_at":null,"merge_commit_sha":"9f08948438c7da8b158c12dc8b320d3d00203b10","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134/commits","review_comments_url":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134/comments","review_comment_url":"https://api.github.com/repos/wso2/wso2-synapse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/wso2-synapse/issues/1134/comments","statuses_url":"https://api.github.com/repos/wso2/wso2-synapse/statuses/b3a3df54c7984a3d7ba5bbaa41e06b281630b021","head":{"label":"JanakaPushpakumara:ValidateMediatorCacheClearing","ref":"ValidateMediatorCacheClearing","sha":"b3a3df54c7984a3d7ba5bbaa41e06b281630b021","user":{"login":"JanakaPushpakumara","id":37293166,"node_id":"MDQ6VXNlcjM3MjkzMTY2","avatar_url":"https://avatars3.githubusercontent.com/u/37293166?v=4","gravatar_id":"","url":"https://api.github.com/users/JanakaPushpakumara","html_url":"https://github.com/JanakaPushpakumara","followers_url":"https://api.github.com/users/JanakaPushpakumara/followers","following_url":"https://api.github.com/users/JanakaPushpakumara/following{/other_user}","gists_url":"https://api.github.com/users/JanakaPushpakumara/gists{/gist_id}","starred_url":"https://api.github.com/users/JanakaPushpakumara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanakaPushpakumara/subscriptions","organizations_url":"https://api.github.com/users/JanakaPushpakumara/orgs","repos_url":"https://api.github.com/users/JanakaPushpakumara/repos","events_url":"https://api.github.com/users/JanakaPushpakumara/events{/privacy}","received_events_url":"https://api.github.com/users/JanakaPushpakumara/received_events","type":"User","site_admin":false},"repo":{"id":139020115,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwMjAxMTU=","name":"wso2-synapse-1","full_name":"JanakaPushpakumara/wso2-synapse-1","owner":{"login":"JanakaPushpakumara","id":37293166,"node_id":"MDQ6VXNlcjM3MjkzMTY2","avatar_url":"https://avatars3.githubusercontent.com/u/37293166?v=4","gravatar_id":"","url":"https://api.github.com/users/JanakaPushpakumara","html_url":"https://github.com/JanakaPushpakumara","followers_url":"https://api.github.com/users/JanakaPushpakumara/followers","following_url":"https://api.github.com/users/JanakaPushpakumara/following{/other_user}","gists_url":"https://api.github.com/users/JanakaPushpakumara/gists{/gist_id}","starred_url":"https://api.github.com/users/JanakaPushpakumara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanakaPushpakumara/subscriptions","organizations_url":"https://api.github.com/users/JanakaPushpakumara/orgs","repos_url":"https://api.github.com/users/JanakaPushpakumara/repos","events_url":"https://api.github.com/users/JanakaPushpakumara/events{/privacy}","received_events_url":"https://api.github.com/users/JanakaPushpakumara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JanakaPushpakumara/wso2-synapse-1","description":null,"fork":true,"url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1","forks_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/forks","keys_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/teams","hooks_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/hooks","issue_events_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/issues/events{/number}","events_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/events","assignees_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/assignees{/user}","branches_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/branches{/branch}","tags_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/tags","blobs_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/statuses/{sha}","languages_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/languages","stargazers_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/stargazers","contributors_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/contributors","subscribers_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/subscribers","subscription_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/subscription","commits_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/contents/{+path}","compare_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/merges","archive_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/downloads","issues_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/issues{/number}","pulls_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/pulls{/number}","milestones_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/milestones{/number}","notifications_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/labels{/name}","releases_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/releases{/id}","deployments_url":"https://api.github.com/repos/JanakaPushpakumara/wso2-synapse-1/deployments","created_at":"2018-06-28T13:11:57Z","updated_at":"2018-06-28T13:12:06Z","pushed_at":"2018-06-29T09:16:22Z","git_url":"git://github.com/JanakaPushpakumara/wso2-synapse-1.git","ssh_url":"git@github.com:JanakaPushpakumara/wso2-synapse-1.git","clone_url":"https://github.com/JanakaPushpakumara/wso2-synapse-1.git","svn_url":"https://github.com/JanakaPushpakumara/wso2-synapse-1","homepage":null,"size":15019,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"25bb3fc50575dec17d062906f45b843396be79b5","user":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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":16471584,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQ3MTU4NA==","name":"wso2-synapse","full_name":"wso2/wso2-synapse","owner":{"login":"wso2","id":533043,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzMzA0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","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/wso2-synapse","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/wso2-synapse","forks_url":"https://api.github.com/repos/wso2/wso2-synapse/forks","keys_url":"https://api.github.com/repos/wso2/wso2-synapse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/wso2-synapse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/wso2-synapse/teams","hooks_url":"https://api.github.com/repos/wso2/wso2-synapse/hooks","issue_events_url":"https://api.github.com/repos/wso2/wso2-synapse/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/wso2-synapse/events","assignees_url":"https://api.github.com/repos/wso2/wso2-synapse/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/wso2-synapse/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/wso2-synapse/tags","blobs_url":"https://api.github.com/repos/wso2/wso2-synapse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/wso2-synapse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/wso2-synapse/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/wso2-synapse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/wso2-synapse/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/wso2-synapse/languages","stargazers_url":"https://api.github.com/repos/wso2/wso2-synapse/stargazers","contributors_url":"https://api.github.com/repos/wso2/wso2-synapse/contributors","subscribers_url":"https://api.github.com/repos/wso2/wso2-synapse/subscribers","subscription_url":"https://api.github.com/repos/wso2/wso2-synapse/subscription","commits_url":"https://api.github.com/repos/wso2/wso2-synapse/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/wso2-synapse/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/wso2-synapse/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/wso2-synapse/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/wso2-synapse/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/wso2-synapse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/wso2-synapse/merges","archive_url":"https://api.github.com/repos/wso2/wso2-synapse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/wso2-synapse/downloads","issues_url":"https://api.github.com/repos/wso2/wso2-synapse/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/wso2-synapse/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/wso2-synapse/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/wso2-synapse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/wso2-synapse/labels{/name}","releases_url":"https://api.github.com/repos/wso2/wso2-synapse/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/wso2-synapse/deployments","created_at":"2014-02-03T06:28:42Z","updated_at":"2018-06-28T07:21:41Z","pushed_at":"2018-06-28T13:51:07Z","git_url":"git://github.com/wso2/wso2-synapse.git","ssh_url":"git@github.com:wso2/wso2-synapse.git","clone_url":"https://github.com/wso2/wso2-synapse.git","svn_url":"https://github.com/wso2/wso2-synapse","homepage":null,"size":15018,"stargazers_count":25,"watchers_count":25,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":290,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":290,"open_issues":7,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134"},"html":{"href":"https://github.com/wso2/wso2-synapse/pull/1134"},"issue":{"href":"https://api.github.com/repos/wso2/wso2-synapse/issues/1134"},"comments":{"href":"https://api.github.com/repos/wso2/wso2-synapse/issues/1134/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/wso2-synapse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/wso2-synapse/pulls/1134/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/wso2-synapse/statuses/b3a3df54c7984a3d7ba5bbaa41e06b281630b021"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":6,"maintainer_can_modify":false,"commits":1,"additions":27,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"JanakaPushpakumara"}}