Skip to content

Commit 2c69fe8

Browse files
committed
replace organization_id and project_id uri
1 parent 4d990a5 commit 2c69fe8

18 files changed

+6613
-446
lines changed

scaleway/scaleway/instance/v1/tests/cassettes/instance_volume.cassette.yaml

Lines changed: 371 additions & 49 deletions
Large diffs are not rendered by default.

scaleway/scaleway/instance/v1/tests/cassettes/test_attach_additional_volume.cassette.yaml

Lines changed: 400 additions & 62 deletions
Large diffs are not rendered by default.

scaleway/scaleway/instance/v1/tests/cassettes/test_create_ip.cassette.yaml

Lines changed: 252 additions & 10 deletions
Large diffs are not rendered by default.

scaleway/scaleway/instance/v1/tests/cassettes/test_create_new_server.cassette.yaml

Lines changed: 517 additions & 30 deletions
Large diffs are not rendered by default.

scaleway/scaleway/instance/v1/tests/cassettes/test_list_server.cassette.yaml

Lines changed: 343 additions & 12 deletions
Large diffs are not rendered by default.

scaleway/scaleway/k8s/v1/tests/cassettes/private_network.cassette.yaml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
interactions:
22
- request:
3-
body: '{"enable_routing": false, "name": "vpc-xenodochial-colden", "project_id":
4-
"11111111-1111-1111-1111-111111111111"}'
3+
body: '{"enable_routing": false, "name": "vpc-epic-mestorf", "project_id": "11111111-1111-1111-1111-111111111111"}'
54
headers:
65
Accept-Encoding:
76
- gzip, deflate
87
Connection:
98
- keep-alive
109
Content-Length:
11-
- '113'
10+
- '107'
1211
Content-Type:
1312
- application/json; charset=utf-8
1413
accept:
@@ -19,44 +18,44 @@ interactions:
1918
uri: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs
2019
response:
2120
body:
22-
string: '{"id": "02277d0e-c00d-4feb-8e6c-e13e6284cba6", "name": "vpc-xenodochial-colden",
21+
string: '{"id": "7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8", "name": "vpc-epic-mestorf",
2322
"tags": [], "organization_id": "11111111-1111-1111-1111-111111111111", "created_at":
24-
"2025-08-28T14:47:22.182275Z", "updated_at": "2025-08-28T14:47:22.182275Z",
23+
"2025-08-28T15:27:13.281205Z", "updated_at": "2025-08-28T15:27:13.281205Z",
2524
"project_id": "11111111-1111-1111-1111-111111111111", "is_default": false,
2625
"private_network_count": 0, "routing_enabled": true, "custom_routes_propagation_enabled":
2726
true, "region": "fr-par"}'
2827
headers:
2928
content-length:
30-
- '409'
29+
- '403'
3130
content-security-policy:
3231
- default-src 'none'; frame-ancestors 'none'
3332
content-type:
3433
- application/json
3534
date:
36-
- Thu, 28 Aug 2025 14:47:22 GMT
35+
- Thu, 28 Aug 2025 15:27:13 GMT
3736
server:
38-
- Scaleway API Gateway (fr-par-3;edge01)
37+
- Scaleway API Gateway (fr-par-3;edge02)
3938
strict-transport-security:
4039
- max-age=63072000
4140
x-content-type-options:
4241
- nosniff
4342
x-frame-options:
4443
- DENY
4544
x-request-id:
46-
- 7d1b03ae-8569-4845-a5da-27e2c0bffaa1
45+
- 8e19103c-7646-4947-91cd-1e075834d879
4746
status:
4847
code: 200
4948
message: OK
5049
- request:
51-
body: '{"default_route_propagation_enabled": true, "name": "pn-cranky-moser",
52-
"project_id": "11111111-1111-1111-1111-111111111111", "vpc_id": "02277d0e-c00d-4feb-8e6c-e13e6284cba6"}'
50+
body: '{"default_route_propagation_enabled": true, "name": "pn-elastic-hodgkin",
51+
"project_id": "11111111-1111-1111-1111-111111111111", "vpc_id": "7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8"}'
5352
headers:
5453
Accept-Encoding:
5554
- gzip, deflate
5655
Connection:
5756
- keep-alive
5857
Content-Length:
59-
- '174'
58+
- '177'
6059
Content-Type:
6160
- application/json; charset=utf-8
6261
accept:
@@ -67,28 +66,28 @@ interactions:
6766
uri: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks
6867
response:
6968
body:
70-
string: '{"id": "ccbead9c-f056-4562-b774-c70d393f1140", "name": "pn-cranky-moser",
69+
string: '{"id": "a84527b3-5cd1-4705-ae7c-0b0a51ab55d7", "name": "pn-elastic-hodgkin",
7170
"tags": [], "organization_id": "11111111-1111-1111-1111-111111111111", "created_at":
72-
"2025-08-28T14:47:22.287349Z", "updated_at": "2025-08-28T14:47:22.287349Z",
73-
"project_id": "11111111-1111-1111-1111-111111111111", "subnets": [{"id": "9d648e47-de38-4922-ac88-e08fa57f2bcb",
74-
"created_at": "2025-08-28T14:47:22.287349Z", "updated_at": "2025-08-28T14:47:22.287349Z",
75-
"subnet": "172.16.144.0/22", "project_id": "11111111-1111-1111-1111-111111111111",
76-
"private_network_id": "ccbead9c-f056-4562-b774-c70d393f1140", "vpc_id": "02277d0e-c00d-4feb-8e6c-e13e6284cba6"},
77-
{"id": "cd8ce3a3-7a30-4509-a5dc-4fb4610af9fd", "created_at": "2025-08-28T14:47:22.287349Z",
78-
"updated_at": "2025-08-28T14:47:22.287349Z", "subnet": "fd64:badd:7710:7960::/64",
71+
"2025-08-28T15:27:13.374780Z", "updated_at": "2025-08-28T15:27:13.374780Z",
72+
"project_id": "11111111-1111-1111-1111-111111111111", "subnets": [{"id": "8a35fa3c-2f52-424e-b8f4-04da44f720a9",
73+
"created_at": "2025-08-28T15:27:13.374780Z", "updated_at": "2025-08-28T15:27:13.374780Z",
74+
"subnet": "172.16.160.0/22", "project_id": "11111111-1111-1111-1111-111111111111",
75+
"private_network_id": "a84527b3-5cd1-4705-ae7c-0b0a51ab55d7", "vpc_id": "7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8"},
76+
{"id": "67f76ffe-f61d-42e6-994b-9f3642c223db", "created_at": "2025-08-28T15:27:13.374780Z",
77+
"updated_at": "2025-08-28T15:27:13.374780Z", "subnet": "fd64:badd:7710:b85d::/64",
7978
"project_id": "11111111-1111-1111-1111-111111111111", "private_network_id":
80-
"ccbead9c-f056-4562-b774-c70d393f1140", "vpc_id": "02277d0e-c00d-4feb-8e6c-e13e6284cba6"}],
81-
"vpc_id": "02277d0e-c00d-4feb-8e6c-e13e6284cba6", "dhcp_enabled": true, "default_route_propagation_enabled":
79+
"a84527b3-5cd1-4705-ae7c-0b0a51ab55d7", "vpc_id": "7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8"}],
80+
"vpc_id": "7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8", "dhcp_enabled": true, "default_route_propagation_enabled":
8281
true, "region": "fr-par"}'
8382
headers:
8483
content-length:
85-
- '1061'
84+
- '1064'
8685
content-security-policy:
8786
- default-src 'none'; frame-ancestors 'none'
8887
content-type:
8988
- application/json
9089
date:
91-
- Thu, 28 Aug 2025 14:47:22 GMT
90+
- Thu, 28 Aug 2025 15:27:13 GMT
9291
server:
9392
- Scaleway API Gateway (fr-par-3;edge02)
9493
strict-transport-security:
@@ -98,7 +97,7 @@ interactions:
9897
x-frame-options:
9998
- DENY
10099
x-request-id:
101-
- 3997848b-be73-4709-a34d-95d0be2227fc
100+
- e47a857e-be86-4f37-b866-3a56d12dac97
102101
status:
103102
code: 200
104103
message: OK
@@ -116,7 +115,7 @@ interactions:
116115
user-agent:
117116
- scaleway-sdk-python/2.0.0
118117
method: DELETE
119-
uri: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/02277d0e-c00d-4feb-8e6c-e13e6284cba6
118+
uri: https://api.scaleway.com/vpc/v2/regions/fr-par/vpcs/7aa6fcf8-88ae-4924-9ff1-a9dab7beb7d8
120119
response:
121120
body:
122121
string: ''
@@ -126,7 +125,7 @@ interactions:
126125
content-type:
127126
- application/json
128127
date:
129-
- Thu, 28 Aug 2025 14:47:44 GMT
128+
- Thu, 28 Aug 2025 15:27:28 GMT
130129
server:
131130
- Scaleway API Gateway (fr-par-3;edge02)
132131
strict-transport-security:
@@ -136,7 +135,7 @@ interactions:
136135
x-frame-options:
137136
- DENY
138137
x-request-id:
139-
- 054d1e96-c8f7-47dc-bcc5-00f03f8b97a0
138+
- 742e20bd-04a7-4541-a56c-fae49e7e1ccc
140139
status:
141140
code: 204
142141
message: No Content

0 commit comments

Comments
 (0)