Skip to content

Commit 2d09007

Browse files
committed
fix(init): bumpp autocomplete cassettes
1 parent 305e3be commit 2d09007

12 files changed

+271
-284
lines changed

Diff for: internal/namespaces/init/testdata/test-init-autocomplete-darwin-bash.cassette.yaml

+8-13
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,32 @@ interactions:
44
- request:
55
body: ""
66
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
7+
headers:
8+
User-Agent:
9+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) cli-e2e-test
10+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
911
method: GET
1012
response:
11-
body: '{"token": {"access_key": "SCWFEREJ5D3PW6WTVEH1", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"iam_user_id": null, "iam_application_id": null, "expires": null, "creation_date":
13-
"2021-04-16T12:46:06.403601+00:00", "deletion_date": null, "creation_ip": "195.154.229.35",
14-
"category": "user_created", "inherits_user_perms": false, "role_id": "5737d70a-84fc-46ce-ae5c-5d31170f733a",
15-
"description": "sieben-macbook", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "use_role_key": true}}'
13+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
1714
headers:
1815
Content-Length:
19-
- "552"
16+
- "340"
2017
Content-Security-Policy:
2118
- default-src 'none'; frame-ancestors 'none'
2219
Content-Type:
2320
- application/json
2421
Date:
25-
- Tue, 17 May 2022 15:24:39 GMT
22+
- Mon, 20 Feb 2023 13:44:28 GMT
2623
Server:
2724
- Scaleway API-Gateway
2825
Strict-Transport-Security:
2926
- max-age=63072000
30-
Warning:
31-
- 299 - "Deprecated API please use https://api.scaleway.com/account/v1"
3227
X-Content-Type-Options:
3328
- nosniff
3429
X-Frame-Options:
3530
- DENY
3631
X-Request-Id:
37-
- d779d017-d204-4883-b317-5d4ce285e8ff
32+
- edbe64c1-9d5f-42e6-8705-6b6c91df28f5
3833
status: 200 OK
3934
code: 200
4035
duration: ""

Diff for: internal/namespaces/init/testdata/test-init-autocomplete-darwin-fish.cassette.yaml

+8-13
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,32 @@ interactions:
44
- request:
55
body: ""
66
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
7+
headers:
8+
User-Agent:
9+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) cli-e2e-test
10+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
911
method: GET
1012
response:
11-
body: '{"token": {"access_key": "SCWFEREJ5D3PW6WTVEH1", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"iam_user_id": null, "iam_application_id": null, "expires": null, "creation_date":
13-
"2021-04-16T12:46:06.403601+00:00", "deletion_date": null, "creation_ip": "195.154.229.35",
14-
"category": "user_created", "inherits_user_perms": false, "role_id": "5737d70a-84fc-46ce-ae5c-5d31170f733a",
15-
"description": "sieben-macbook", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "use_role_key": true}}'
13+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
1714
headers:
1815
Content-Length:
19-
- "552"
16+
- "340"
2017
Content-Security-Policy:
2118
- default-src 'none'; frame-ancestors 'none'
2219
Content-Type:
2320
- application/json
2421
Date:
25-
- Tue, 17 May 2022 15:24:39 GMT
22+
- Mon, 20 Feb 2023 13:44:28 GMT
2623
Server:
2724
- Scaleway API-Gateway
2825
Strict-Transport-Security:
2926
- max-age=63072000
30-
Warning:
31-
- 299 - "Deprecated API please use https://api.scaleway.com/account/v1"
3227
X-Content-Type-Options:
3328
- nosniff
3429
X-Frame-Options:
3530
- DENY
3631
X-Request-Id:
37-
- 90829fc8-d298-40a0-8a28-c41fb3a76e68
32+
- 8ba42abf-4aaa-4e0c-bf83-6dd99a4a6c73
3833
status: 200 OK
3934
code: 200
4035
duration: ""

Diff for: internal/namespaces/init/testdata/test-init-autocomplete-darwin-without.cassette.yaml

+8-13
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,32 @@ interactions:
44
- request:
55
body: ""
66
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
7+
headers:
8+
User-Agent:
9+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) cli-e2e-test
10+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
911
method: GET
1012
response:
11-
body: '{"token": {"access_key": "SCWFEREJ5D3PW6WTVEH1", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"iam_user_id": null, "iam_application_id": null, "expires": null, "creation_date":
13-
"2021-04-16T12:46:06.403601+00:00", "deletion_date": null, "creation_ip": "195.154.229.35",
14-
"category": "user_created", "inherits_user_perms": false, "role_id": "5737d70a-84fc-46ce-ae5c-5d31170f733a",
15-
"description": "sieben-macbook", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "use_role_key": true}}'
13+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
1714
headers:
1815
Content-Length:
19-
- "552"
16+
- "340"
2017
Content-Security-Policy:
2118
- default-src 'none'; frame-ancestors 'none'
2219
Content-Type:
2320
- application/json
2421
Date:
25-
- Tue, 17 May 2022 15:24:39 GMT
22+
- Mon, 20 Feb 2023 13:44:28 GMT
2623
Server:
2724
- Scaleway API-Gateway
2825
Strict-Transport-Security:
2926
- max-age=63072000
30-
Warning:
31-
- 299 - "Deprecated API please use https://api.scaleway.com/account/v1"
3227
X-Content-Type-Options:
3328
- nosniff
3429
X-Frame-Options:
3530
- DENY
3631
X-Request-Id:
37-
- 0fd6870a-a4ef-4eee-9632-beaa450ea1d6
32+
- d7b50924-9bda-4beb-b48f-c04e225367cd
3833
status: 200 OK
3934
code: 200
4035
duration: ""

Diff for: internal/namespaces/init/testdata/test-init-autocomplete-darwin-zsh.cassette.yaml

+8-13
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,32 @@ interactions:
44
- request:
55
body: ""
66
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
7+
headers:
8+
User-Agent:
9+
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.19; darwin; amd64) cli-e2e-test
10+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
911
method: GET
1012
response:
11-
body: '{"token": {"access_key": "SCWFEREJ5D3PW6WTVEH1", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"iam_user_id": null, "iam_application_id": null, "expires": null, "creation_date":
13-
"2021-04-16T12:46:06.403601+00:00", "deletion_date": null, "creation_ip": "195.154.229.35",
14-
"category": "user_created", "inherits_user_perms": false, "role_id": "5737d70a-84fc-46ce-ae5c-5d31170f733a",
15-
"description": "sieben-macbook", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "use_role_key": true}}'
13+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
1714
headers:
1815
Content-Length:
19-
- "552"
16+
- "340"
2017
Content-Security-Policy:
2118
- default-src 'none'; frame-ancestors 'none'
2219
Content-Type:
2320
- application/json
2421
Date:
25-
- Tue, 17 May 2022 15:24:39 GMT
22+
- Mon, 20 Feb 2023 13:44:28 GMT
2623
Server:
2724
- Scaleway API-Gateway
2825
Strict-Transport-Security:
2926
- max-age=63072000
30-
Warning:
31-
- 299 - "Deprecated API please use https://api.scaleway.com/account/v1"
3227
X-Content-Type-Options:
3328
- nosniff
3429
X-Frame-Options:
3530
- DENY
3631
X-Request-Id:
37-
- bce27228-1d87-4098-8c55-a78e88e87010
32+
- c3515bcb-d8cd-45df-bae4-d219c286a13d
3833
status: 200 OK
3934
code: 200
4035
duration: ""
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
---
22
version: 1
33
interactions:
4-
- request:
5-
body: ""
6-
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
9-
method: GET
10-
response:
11-
body: '{"token": {"access_key": "SCW8XT5JRAV4B0WQSHPE", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"expires": null, "creation_date": "2020-06-23T14:06:56.763352+00:00", "creation_ip":
13-
"195.154.229.35", "category": "user_created", "deletion_date": null, "inherits_user_perms":
14-
true, "roles": {"role": null, "organization": null}, "description": "sieben-macbook",
15-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"use_role_key": false}}'
17-
headers:
18-
Connection:
19-
- keep-alive
20-
Content-Length:
21-
- "445"
22-
Content-Type:
23-
- application/json
24-
Date:
25-
- Tue, 23 Jun 2020 15:08:49 GMT
26-
Server:
27-
- nginx
28-
Strict-Transport-Security:
29-
- max-age=15552000
30-
status: 200 OK
31-
code: 200
32-
duration: ""
4+
- request:
5+
body: ""
6+
form: {}
7+
headers: {}
8+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
9+
method: GET
10+
response:
11+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
12+
headers:
13+
Content-Length:
14+
- "340"
15+
Content-Security-Policy:
16+
- default-src 'none'; frame-ancestors 'none'
17+
Content-Type:
18+
- application/json
19+
Date:
20+
- Mon, 20 Feb 2023 13:44:28 GMT
21+
Server:
22+
- Scaleway API-Gateway
23+
Strict-Transport-Security:
24+
- max-age=63072000
25+
X-Content-Type-Options:
26+
- nosniff
27+
X-Frame-Options:
28+
- DENY
29+
X-Request-Id:
30+
- edbe64c1-9d5f-42e6-8705-6b6c91df28f5
31+
status: 200 OK
32+
code: 200
33+
duration: ""
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
---
22
version: 1
33
interactions:
4-
- request:
5-
body: ""
6-
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
9-
method: GET
10-
response:
11-
body: '{"token": {"access_key": "SCW8XT5JRAV4B0WQSHPE", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"expires": null, "creation_date": "2020-06-23T14:06:56.763352+00:00", "creation_ip":
13-
"195.154.229.35", "category": "user_created", "deletion_date": null, "inherits_user_perms":
14-
true, "roles": {"role": null, "organization": null}, "description": "sieben-macbook",
15-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"use_role_key": false}}'
17-
headers:
18-
Connection:
19-
- keep-alive
20-
Content-Length:
21-
- "445"
22-
Content-Type:
23-
- application/json
24-
Date:
25-
- Tue, 23 Jun 2020 15:08:49 GMT
26-
Server:
27-
- nginx
28-
Strict-Transport-Security:
29-
- max-age=15552000
30-
status: 200 OK
31-
code: 200
32-
duration: ""
4+
- request:
5+
body: ""
6+
form: {}
7+
headers: {}
8+
url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCW35HBME3ERTXWJFA0D
9+
method: GET
10+
response:
11+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
12+
headers:
13+
Content-Length:
14+
- "340"
15+
Content-Security-Policy:
16+
- default-src 'none'; frame-ancestors 'none'
17+
Content-Type:
18+
- application/json
19+
Date:
20+
- Mon, 20 Feb 2023 13:44:28 GMT
21+
Server:
22+
- Scaleway API-Gateway
23+
Strict-Transport-Security:
24+
- max-age=63072000
25+
X-Content-Type-Options:
26+
- nosniff
27+
X-Frame-Options:
28+
- DENY
29+
X-Request-Id:
30+
- edbe64c1-9d5f-42e6-8705-6b6c91df28f5
31+
status: 200 OK
32+
code: 200
33+
duration: ""
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
---
22
version: 1
33
interactions:
4-
- request:
5-
body: ""
6-
form: {}
7-
headers: {}
8-
url: https://api.scaleway.com/account/v1/tokens/11111111-1111-1111-1111-111111111111
9-
method: GET
10-
response:
11-
body: '{"token": {"access_key": "SCW8XT5JRAV4B0WQSHPE", "user_id": "721f2fde-1a01-4854-822b-fcca5638d73e",
12-
"expires": null, "creation_date": "2020-06-23T14:06:56.763352+00:00", "creation_ip":
13-
"195.154.229.35", "category": "user_created", "deletion_date": null, "inherits_user_perms":
14-
true, "roles": {"role": null, "organization": null}, "description": "sieben-macbook",
15-
"organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42",
16-
"use_role_key": false}}'
17-
headers:
18-
Connection:
19-
- keep-alive
20-
Content-Length:
21-
- "445"
22-
Content-Type:
23-
- application/json
24-
Date:
25-
- Tue, 23 Jun 2020 15:08:49 GMT
26-
Server:
27-
- nginx
28-
Strict-Transport-Security:
29-
- max-age=15552000
30-
status: 200 OK
31-
code: 200
32-
duration: ""
4+
- request:
5+
body: ""
6+
form: {}
7+
headers: {}
8+
method: GET
9+
response:
10+
body: '{"access_key":"SCW35HBME3ERTXWJFA0D","secret_key":null,"description":"default","created_at":"2023-02-08T13:37:42.867291Z","updated_at":"2023-02-08T13:37:42.867291Z","expires_at":null,"default_project_id":"63a66ec9-a385-4194-bc15-04aa6921274a","editable":true,"creation_ip":"195.154.228.158","user_id":"284d6fc3-6cf7-485b-bd32-efa92c2335d9"}'
11+
headers:
12+
Content-Length:
13+
- "340"
14+
Content-Security-Policy:
15+
- default-src 'none'; frame-ancestors 'none'
16+
Content-Type:
17+
- application/json
18+
Date:
19+
- Mon, 20 Feb 2023 13:44:28 GMT
20+
Server:
21+
- Scaleway API-Gateway
22+
Strict-Transport-Security:
23+
- max-age=63072000
24+
X-Content-Type-Options:
25+
- nosniff
26+
X-Frame-Options:
27+
- DENY
28+
X-Request-Id:
29+
- edbe64c1-9d5f-42e6-8705-6b6c91df28f5
30+
status: 200 OK
31+
code: 200
32+
duration: ""

0 commit comments

Comments
 (0)