{"action":"created","comment":{"url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/comments/243966985","pull_request_review_id":187859597,"id":243966985,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0Mzk2Njk4NQ==","diff_hunk":"@@ -272,8 +273,8 @@ AlibabaCloud::client(new AccessKeyCredential('key', 'secret'), new ShaHmac256Wit\n                                      ->locationServiceCode('cs') // 设置 ServiceCode 以备寻址，非必须\n                                      ->locationEndpointType('openAPI') // 设置类型，非必须\n                                      ->method('GET') // 指定请求方式\n-                                     ->domain('cs.aliyun.com') // 指定域名则不会启用寻址服务，如认证方式为 Bearer Token 的服务需要指定\n-                                     ->uriPattern('/clusters/[ClusterId]/services') // 指定ROA风格路径规则\n+                                     ->host('cs.aliyun.com') // 指定域名则不会启用寻址服务，如认证方式为 Bearer Token 的服务需要指定\n+                                     ->pathPattern('/clusters/[ClusterId]/services') // 指定ROA风格路径规则","path":"README-CN.md","position":20,"original_position":20,"commit_id":"0d083438f6f9438db2d9f5796518009ecd51fa1e","original_commit_id":"0d083438f6f9438db2d9f5796518009ecd51fa1e","user":{"login":"songshenzong","id":17404625,"node_id":"MDQ6VXNlcjE3NDA0NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/17404625?v=4","gravatar_id":"","url":"https://api.github.com/users/songshenzong","html_url":"https://github.com/songshenzong","followers_url":"https://api.github.com/users/songshenzong/followers","following_url":"https://api.github.com/users/songshenzong/following{/other_user}","gists_url":"https://api.github.com/users/songshenzong/gists{/gist_id}","starred_url":"https://api.github.com/users/songshenzong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songshenzong/subscriptions","organizations_url":"https://api.github.com/users/songshenzong/orgs","repos_url":"https://api.github.com/users/songshenzong/repos","events_url":"https://api.github.com/users/songshenzong/events{/privacy}","received_events_url":"https://api.github.com/users/songshenzong/received_events","type":"User","site_admin":false},"body":"兼容所有旧方法，setUriPattern/getUriPattern，其中domain/host是本版本新增的，允许指定host，host更贴切一些。","created_at":"2018-12-26T09:15:44Z","updated_at":"2018-12-26T09:15:45Z","html_url":"https://github.com/aliyun/openapi-sdk-php-client/pull/2#discussion_r243966985","pull_request_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/comments/243966985"},"html":{"href":"https://github.com/aliyun/openapi-sdk-php-client/pull/2#discussion_r243966985"},"pull_request":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2"}},"in_reply_to_id":243966104},"pull_request":{"url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2","id":240939064,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwOTM5MDY0","html_url":"https://github.com/aliyun/openapi-sdk-php-client/pull/2","diff_url":"https://github.com/aliyun/openapi-sdk-php-client/pull/2.diff","patch_url":"https://github.com/aliyun/openapi-sdk-php-client/pull/2.patch","issue_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/2","number":2,"state":"open","locked":false,"title":"change unit test","user":{"login":"songshenzong","id":17404625,"node_id":"MDQ6VXNlcjE3NDA0NjI1","avatar_url":"https://avatars1.githubusercontent.com/u/17404625?v=4","gravatar_id":"","url":"https://api.github.com/users/songshenzong","html_url":"https://github.com/songshenzong","followers_url":"https://api.github.com/users/songshenzong/followers","following_url":"https://api.github.com/users/songshenzong/following{/other_user}","gists_url":"https://api.github.com/users/songshenzong/gists{/gist_id}","starred_url":"https://api.github.com/users/songshenzong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songshenzong/subscriptions","organizations_url":"https://api.github.com/users/songshenzong/orgs","repos_url":"https://api.github.com/users/songshenzong/repos","events_url":"https://api.github.com/users/songshenzong/events{/privacy}","received_events_url":"https://api.github.com/users/songshenzong/received_events","type":"User","site_admin":false},"body":"1. Improve unit testing\r\n2. Improve code performance","created_at":"2018-12-26T08:30:33Z","updated_at":"2018-12-26T09:15:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00e6ef77f62c5aa7835f980a4985fcd98cf622d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2/commits","review_comments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2/comments","review_comment_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/2/comments","statuses_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/statuses/0d083438f6f9438db2d9f5796518009ecd51fa1e","head":{"label":"aliyun:optimization_code","ref":"optimization_code","sha":"0d083438f6f9438db2d9f5796518009ecd51fa1e","user":{"login":"aliyun","id":941070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0MTA3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/941070?v=4","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"repo":{"id":159604590,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk2MDQ1OTA=","name":"openapi-sdk-php-client","full_name":"aliyun/openapi-sdk-php-client","private":false,"owner":{"login":"aliyun","id":941070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0MTA3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/941070?v=4","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aliyun/openapi-sdk-php-client","description":"Official repository of the Alibaba Cloud Client for PHP","fork":false,"url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client","forks_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/forks","keys_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/teams","hooks_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/hooks","issue_events_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/events{/number}","events_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/events","assignees_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/assignees{/user}","branches_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/branches{/branch}","tags_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/tags","blobs_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/statuses/{sha}","languages_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/languages","stargazers_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/stargazers","contributors_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/contributors","subscribers_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/subscribers","subscription_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/subscription","commits_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/contents/{+path}","compare_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/merges","archive_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/downloads","issues_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues{/number}","pulls_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls{/number}","milestones_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/milestones{/number}","notifications_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/labels{/name}","releases_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/releases{/id}","deployments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/deployments","created_at":"2018-11-29T03:54:18Z","updated_at":"2018-12-24T07:36:28Z","pushed_at":"2018-12-26T08:38:56Z","git_url":"git://github.com/aliyun/openapi-sdk-php-client.git","ssh_url":"git@github.com:aliyun/openapi-sdk-php-client.git","clone_url":"https://github.com/aliyun/openapi-sdk-php-client.git","svn_url":"https://github.com/aliyun/openapi-sdk-php-client","homepage":"https://packagist.org/packages/alibabacloud/client","size":508,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"aliyun:master","ref":"master","sha":"a9d20a2aa5d8f02dbc6770938af79fb63cee9361","user":{"login":"aliyun","id":941070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0MTA3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/941070?v=4","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"repo":{"id":159604590,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk2MDQ1OTA=","name":"openapi-sdk-php-client","full_name":"aliyun/openapi-sdk-php-client","private":false,"owner":{"login":"aliyun","id":941070,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk0MTA3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/941070?v=4","gravatar_id":"","url":"https://api.github.com/users/aliyun","html_url":"https://github.com/aliyun","followers_url":"https://api.github.com/users/aliyun/followers","following_url":"https://api.github.com/users/aliyun/following{/other_user}","gists_url":"https://api.github.com/users/aliyun/gists{/gist_id}","starred_url":"https://api.github.com/users/aliyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliyun/subscriptions","organizations_url":"https://api.github.com/users/aliyun/orgs","repos_url":"https://api.github.com/users/aliyun/repos","events_url":"https://api.github.com/users/aliyun/events{/privacy}","received_events_url":"https://api.github.com/users/aliyun/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aliyun/openapi-sdk-php-client","description":"Official repository of the Alibaba Cloud Client for PHP","fork":false,"url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client","forks_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/forks","keys_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/teams","hooks_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/hooks","issue_events_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/events{/number}","events_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/events","assignees_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/assignees{/user}","branches_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/branches{/branch}","tags_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/tags","blobs_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/statuses/{sha}","languages_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/languages","stargazers_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/stargazers","contributors_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/contributors","subscribers_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/subscribers","subscription_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/subscription","commits_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/contents/{+path}","compare_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/merges","archive_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/downloads","issues_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues{/number}","pulls_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls{/number}","milestones_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/milestones{/number}","notifications_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/labels{/name}","releases_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/releases{/id}","deployments_url":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/deployments","created_at":"2018-11-29T03:54:18Z","updated_at":"2018-12-24T07:36:28Z","pushed_at":"2018-12-26T08:38:56Z","git_url":"git://github.com/aliyun/openapi-sdk-php-client.git","ssh_url":"git@github.com:aliyun/openapi-sdk-php-client.git","clone_url":"https://github.com/aliyun/openapi-sdk-php-client.git","svn_url":"https://github.com/aliyun/openapi-sdk-php-client","homepage":"https://packagist.org/packages/alibabacloud/client","size":508,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2"},"html":{"href":"https://github.com/aliyun/openapi-sdk-php-client/pull/2"},"issue":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/2"},"comments":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/aliyun/openapi-sdk-php-client/statuses/0d083438f6f9438db2d9f5796518009ecd51fa1e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"songshenzong"}}