{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22","id":198037879,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MDM3ODc5","html_url":"https://github.com/alipay/sofa-common-tools/pull/22","diff_url":"https://github.com/alipay/sofa-common-tools/pull/22.diff","patch_url":"https://github.com/alipay/sofa-common-tools/pull/22.patch","issue_url":"https://api.github.com/repos/alipay/sofa-common-tools/issues/22","number":22,"state":"closed","locked":false,"title":"Fix FileNotFoundException when read config properties in jar file.","user":{"login":"leizhiyuan","id":2684384,"node_id":"MDQ6VXNlcjI2ODQzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2684384?v=4","gravatar_id":"","url":"https://api.github.com/users/leizhiyuan","html_url":"https://github.com/leizhiyuan","followers_url":"https://api.github.com/users/leizhiyuan/followers","following_url":"https://api.github.com/users/leizhiyuan/following{/other_user}","gists_url":"https://api.github.com/users/leizhiyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/leizhiyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizhiyuan/subscriptions","organizations_url":"https://api.github.com/users/leizhiyuan/orgs","repos_url":"https://api.github.com/users/leizhiyuan/repos","events_url":"https://api.github.com/users/leizhiyuan/events{/privacy}","received_events_url":"https://api.github.com/users/leizhiyuan/received_events","type":"User","site_admin":false},"body":"### Motivation:\r\n\r\nfix file read in jar\r\n\r\nFile exist. but we can not read \r\n```\r\njava.io.FileNotFoundException: file:/xxx/custom-1.0.0.jar!/com/alipay/remoting/log/log4j/config.properties (没有那个文件或目录)\r\n```\r\n\r\n### Modification:\r\n\r\nI compare parent path of files ,ensure get correct config.properties.\r\n\r\n### Result:\r\n\r\n","created_at":"2018-06-28T13:53:35Z","updated_at":"2018-06-28T14:07:53Z","closed_at":"2018-06-28T14:07:53Z","merged_at":"2018-06-28T14:07:53Z","merge_commit_sha":"8b4bfb5d68076078a3903bca829c86e7398cd719","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":864190495,"node_id":"MDU6TGFiZWw4NjQxOTA0OTU=","url":"https://api.github.com/repos/alipay/sofa-common-tools/labels/bug","name":"bug","color":"d73a4a","default":true}],"milestone":{"url":"https://api.github.com/repos/alipay/sofa-common-tools/milestones/2","html_url":"https://github.com/alipay/sofa-common-tools/milestone/2","labels_url":"https://api.github.com/repos/alipay/sofa-common-tools/milestones/2/labels","id":3459641,"node_id":"MDk6TWlsZXN0b25lMzQ1OTY0MQ==","number":2,"title":"1.0.14","description":"","creator":{"login":"ujjboy","id":1424920,"node_id":"MDQ6VXNlcjE0MjQ5MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1424920?v=4","gravatar_id":"","url":"https://api.github.com/users/ujjboy","html_url":"https://github.com/ujjboy","followers_url":"https://api.github.com/users/ujjboy/followers","following_url":"https://api.github.com/users/ujjboy/following{/other_user}","gists_url":"https://api.github.com/users/ujjboy/gists{/gist_id}","starred_url":"https://api.github.com/users/ujjboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujjboy/subscriptions","organizations_url":"https://api.github.com/users/ujjboy/orgs","repos_url":"https://api.github.com/users/ujjboy/repos","events_url":"https://api.github.com/users/ujjboy/events{/privacy}","received_events_url":"https://api.github.com/users/ujjboy/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2018-06-28T14:07:01Z","updated_at":"2018-06-28T14:07:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22/commits","review_comments_url":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22/comments","review_comment_url":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alipay/sofa-common-tools/issues/22/comments","statuses_url":"https://api.github.com/repos/alipay/sofa-common-tools/statuses/e1d5726c7ff7e7a47bb1b8d68e114018708a9753","head":{"label":"leizhiyuan:fix_read_file_in_jar","ref":"fix_read_file_in_jar","sha":"e1d5726c7ff7e7a47bb1b8d68e114018708a9753","user":{"login":"leizhiyuan","id":2684384,"node_id":"MDQ6VXNlcjI2ODQzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2684384?v=4","gravatar_id":"","url":"https://api.github.com/users/leizhiyuan","html_url":"https://github.com/leizhiyuan","followers_url":"https://api.github.com/users/leizhiyuan/followers","following_url":"https://api.github.com/users/leizhiyuan/following{/other_user}","gists_url":"https://api.github.com/users/leizhiyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/leizhiyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizhiyuan/subscriptions","organizations_url":"https://api.github.com/users/leizhiyuan/orgs","repos_url":"https://api.github.com/users/leizhiyuan/repos","events_url":"https://api.github.com/users/leizhiyuan/events{/privacy}","received_events_url":"https://api.github.com/users/leizhiyuan/received_events","type":"User","site_admin":false},"repo":{"id":139024696,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwMjQ2OTY=","name":"sofa-common-tools","full_name":"leizhiyuan/sofa-common-tools","owner":{"login":"leizhiyuan","id":2684384,"node_id":"MDQ6VXNlcjI2ODQzODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2684384?v=4","gravatar_id":"","url":"https://api.github.com/users/leizhiyuan","html_url":"https://github.com/leizhiyuan","followers_url":"https://api.github.com/users/leizhiyuan/followers","following_url":"https://api.github.com/users/leizhiyuan/following{/other_user}","gists_url":"https://api.github.com/users/leizhiyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/leizhiyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leizhiyuan/subscriptions","organizations_url":"https://api.github.com/users/leizhiyuan/orgs","repos_url":"https://api.github.com/users/leizhiyuan/repos","events_url":"https://api.github.com/users/leizhiyuan/events{/privacy}","received_events_url":"https://api.github.com/users/leizhiyuan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leizhiyuan/sofa-common-tools","description":"sofa-common-tools is a library that provide some utility functions to other SOFA libraries.","fork":true,"url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools","forks_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/forks","keys_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/teams","hooks_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/hooks","issue_events_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/issues/events{/number}","events_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/events","assignees_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/assignees{/user}","branches_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/branches{/branch}","tags_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/tags","blobs_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/languages","stargazers_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/stargazers","contributors_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/contributors","subscribers_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/subscribers","subscription_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/subscription","commits_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/contents/{+path}","compare_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/merges","archive_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/downloads","issues_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/issues{/number}","pulls_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/labels{/name}","releases_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/releases{/id}","deployments_url":"https://api.github.com/repos/leizhiyuan/sofa-common-tools/deployments","created_at":"2018-06-28T13:49:48Z","updated_at":"2018-06-28T13:49:50Z","pushed_at":"2018-06-28T13:51:45Z","git_url":"git://github.com/leizhiyuan/sofa-common-tools.git","ssh_url":"git@github.com:leizhiyuan/sofa-common-tools.git","clone_url":"https://github.com/leizhiyuan/sofa-common-tools.git","svn_url":"https://github.com/leizhiyuan/sofa-common-tools","homepage":"","size":171,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alipay:master","ref":"master","sha":"14564c3d96a950eb929d16632ae8d9c34a74e644","user":{"login":"alipay","id":1299356,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTkzNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1299356?v=4","gravatar_id":"","url":"https://api.github.com/users/alipay","html_url":"https://github.com/alipay","followers_url":"https://api.github.com/users/alipay/followers","following_url":"https://api.github.com/users/alipay/following{/other_user}","gists_url":"https://api.github.com/users/alipay/gists{/gist_id}","starred_url":"https://api.github.com/users/alipay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alipay/subscriptions","organizations_url":"https://api.github.com/users/alipay/orgs","repos_url":"https://api.github.com/users/alipay/repos","events_url":"https://api.github.com/users/alipay/events{/privacy}","received_events_url":"https://api.github.com/users/alipay/received_events","type":"Organization","site_admin":false},"repo":{"id":124863824,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ4NjM4MjQ=","name":"sofa-common-tools","full_name":"alipay/sofa-common-tools","owner":{"login":"alipay","id":1299356,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTkzNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1299356?v=4","gravatar_id":"","url":"https://api.github.com/users/alipay","html_url":"https://github.com/alipay","followers_url":"https://api.github.com/users/alipay/followers","following_url":"https://api.github.com/users/alipay/following{/other_user}","gists_url":"https://api.github.com/users/alipay/gists{/gist_id}","starred_url":"https://api.github.com/users/alipay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alipay/subscriptions","organizations_url":"https://api.github.com/users/alipay/orgs","repos_url":"https://api.github.com/users/alipay/repos","events_url":"https://api.github.com/users/alipay/events{/privacy}","received_events_url":"https://api.github.com/users/alipay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alipay/sofa-common-tools","description":"sofa-common-tools is a library that provide some utility functions to other SOFA libraries.","fork":false,"url":"https://api.github.com/repos/alipay/sofa-common-tools","forks_url":"https://api.github.com/repos/alipay/sofa-common-tools/forks","keys_url":"https://api.github.com/repos/alipay/sofa-common-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alipay/sofa-common-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alipay/sofa-common-tools/teams","hooks_url":"https://api.github.com/repos/alipay/sofa-common-tools/hooks","issue_events_url":"https://api.github.com/repos/alipay/sofa-common-tools/issues/events{/number}","events_url":"https://api.github.com/repos/alipay/sofa-common-tools/events","assignees_url":"https://api.github.com/repos/alipay/sofa-common-tools/assignees{/user}","branches_url":"https://api.github.com/repos/alipay/sofa-common-tools/branches{/branch}","tags_url":"https://api.github.com/repos/alipay/sofa-common-tools/tags","blobs_url":"https://api.github.com/repos/alipay/sofa-common-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alipay/sofa-common-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alipay/sofa-common-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/alipay/sofa-common-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alipay/sofa-common-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/alipay/sofa-common-tools/languages","stargazers_url":"https://api.github.com/repos/alipay/sofa-common-tools/stargazers","contributors_url":"https://api.github.com/repos/alipay/sofa-common-tools/contributors","subscribers_url":"https://api.github.com/repos/alipay/sofa-common-tools/subscribers","subscription_url":"https://api.github.com/repos/alipay/sofa-common-tools/subscription","commits_url":"https://api.github.com/repos/alipay/sofa-common-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/alipay/sofa-common-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/alipay/sofa-common-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/alipay/sofa-common-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/alipay/sofa-common-tools/contents/{+path}","compare_url":"https://api.github.com/repos/alipay/sofa-common-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alipay/sofa-common-tools/merges","archive_url":"https://api.github.com/repos/alipay/sofa-common-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alipay/sofa-common-tools/downloads","issues_url":"https://api.github.com/repos/alipay/sofa-common-tools/issues{/number}","pulls_url":"https://api.github.com/repos/alipay/sofa-common-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/alipay/sofa-common-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/alipay/sofa-common-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alipay/sofa-common-tools/labels{/name}","releases_url":"https://api.github.com/repos/alipay/sofa-common-tools/releases{/id}","deployments_url":"https://api.github.com/repos/alipay/sofa-common-tools/deployments","created_at":"2018-03-12T09:20:21Z","updated_at":"2018-06-27T08:31:15Z","pushed_at":"2018-06-28T14:07:53Z","git_url":"git://github.com/alipay/sofa-common-tools.git","ssh_url":"git@github.com:alipay/sofa-common-tools.git","clone_url":"https://github.com/alipay/sofa-common-tools.git","svn_url":"https://github.com/alipay/sofa-common-tools","homepage":"","size":171,"stargazers_count":45,"watchers_count":45,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":24,"open_issues":2,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22"},"html":{"href":"https://github.com/alipay/sofa-common-tools/pull/22"},"issue":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/issues/22"},"comments":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/alipay/sofa-common-tools/statuses/e1d5726c7ff7e7a47bb1b8d68e114018708a9753"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ujjboy","id":1424920,"node_id":"MDQ6VXNlcjE0MjQ5MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1424920?v=4","gravatar_id":"","url":"https://api.github.com/users/ujjboy","html_url":"https://github.com/ujjboy","followers_url":"https://api.github.com/users/ujjboy/followers","following_url":"https://api.github.com/users/ujjboy/following{/other_user}","gists_url":"https://api.github.com/users/ujjboy/gists{/gist_id}","starred_url":"https://api.github.com/users/ujjboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujjboy/subscriptions","organizations_url":"https://api.github.com/users/ujjboy/orgs","repos_url":"https://api.github.com/users/ujjboy/repos","events_url":"https://api.github.com/users/ujjboy/events{/privacy}","received_events_url":"https://api.github.com/users/ujjboy/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":116,"deletions":43,"changed_files":5}}
{"actor":{"display_login":"ujjboy"}}