Skip to content

Commit 216b208

Browse files
author
宋神宗
authored
update docs
1 parent 26374d3 commit 216b208

8 files changed

Lines changed: 11 additions & 13 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.0.22 - 2019-03-20
4+
- Add endpoint `cn-hangzhou` for `idaas` .
5+
6+
37
## 1.0.21 - 2019-03-19
48
- Installing by Using the ZIP file.
59
- Update Docs.

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ your [issues][issues] or [pull requests][pull-requests] through GitHub.
2121
your pull requests before we accept them. We also reserve the right to deny
2222
any pull requests that do not align with our standards or goals.
2323

24-
2524
[issues]: https://github.com/aliyun/openapi-sdk-php-client/issues
2625
[pull-requests]: https://github.com/aliyun/openapi-sdk-php-client/pulls
2726
[license]: http://www.apache.org/licenses/LICENSE-2.0

docs/2-Client-CN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ role_session_name = session_name
127127
#..................................# 其他配置忽略同上
128128

129129
[client3] # 命名为 `client3` 的客户端
130-
type = bearer_token # 认证方式为 bearer_token
131-
bearer_token = bearer_token # Token
132-
#..................................# 其他配置忽略同上
133-
134-
[client4] # 命名为 `client4` 的客户端
135130
type = rsa_key_pair # 认证方式为 rsa_key_pair
136131
public_key_id = publicKeyId # Public Key ID
137132
private_key_file = /your/pk.pem # Private Key 文件

docs/2-Client-EN.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,6 @@ role_session_name = session_name
128128
#..................................# As above, other configurations ignored.
129129

130130
[client3] # Client that is named as `client3`
131-
type = bearer_token # Certification type: bearer_token
132-
bearer_token = bearer_token # Token
133-
#..................................# As above, other configurations ignored.
134-
135-
[client4] # Client that is named as `client4`
136131
type = rsa_key_pair # Certification type: rsa_key_pair
137132
public_key_id = publicKeyId # Public Key ID
138133
private_key_file = /your/pk.pem # Private Key file

phpunit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
<log type="coverage-clover" target="cache/coverage.clover"/>
3636
</logging>
3737

38-
3938
<filter>
4039
<whitelist processUncoveredFilesFromWhitelist="true">
4140
<directory suffix=".php">./src</directory>

src/AlibabaCloud.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AlibabaCloud
2828
/**
2929
* Version of the Client
3030
*/
31-
const VERSION = '1.0.21';
31+
const VERSION = '1.0.22';
3232

3333
/**
3434
* This static method can directly call the specific service.

src/Config/Data.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2109,5 +2109,9 @@
21092109
'cn-shanghai' => 'faas.cn-shanghai.aliyuncs.com',
21102110
'cn-shenzhen' => 'faas.cn-shenzhen.aliyuncs.com',
21112111
],
2112+
'idaas' =>
2113+
[
2114+
'cn-hangzhou' => 'idaas.aliyuncs.com',
2115+
],
21122116
],
21132117
];

tests/Feature/Credentials/RsaKeyPairCredentialTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public function testEcsNotInJapan()
8282
{
8383
// Setup
8484
$regionId = \AlibabaCloud\Client\env('REGION_ID', 'cn-hangzhou');
85+
86+
// Test
8587
(new DescribeAccessPointsRequest())
8688
->client($this->clientName)
8789
->regionId($regionId)

0 commit comments

Comments
 (0)