Skip to content

Commit

Permalink
Fixed more fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ezilber-akamai committed Jun 28, 2024
1 parent acf1672 commit 8199a39
Show file tree
Hide file tree
Showing 14 changed files with 2,110 additions and 1,590 deletions.
564 changes: 340 additions & 224 deletions test/integration/fixtures/TestInstance_Clone.yaml

Large diffs are not rendered by default.

383 changes: 224 additions & 159 deletions test/integration/fixtures/TestInstance_CreateUnderFirewall.yaml

Large diffs are not rendered by default.

145 changes: 107 additions & 38 deletions test/integration/fixtures/TestInstance_Disk_ListMultiple_Primary.yaml

Large diffs are not rendered by default.

208 changes: 83 additions & 125 deletions test/integration/fixtures/TestInstance_Disk_ListMultiple_Secondary.yaml

Large diffs are not rendered by default.

422 changes: 244 additions & 178 deletions test/integration/fixtures/TestInstance_Disk_ResetPassword.yaml

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions test/integration/fixtures/TestInstance_Disk_Resize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:52 GMT
- Fri, 28 Jun 2024 21:01:06 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -317,7 +317,7 @@ interactions:
code: 200
duration: ""
- request:
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-dw8b3s7p33x7","firewall_id":610493,"booted":false}'
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-wo-disk-t8auh0c3044z","firewall_id":611242,"booted":false}'
form: {}
headers:
Accept:
Expand All @@ -329,15 +329,15 @@ interactions:
url: https://api.linode.com/v4beta/linode/instances
method: POST
response:
body: '{"id": 60777700, "label": "go-test-ins-wo-disk-dw8b3s7p33x7", "group":
body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group":
"", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"type": "g6-nanode-1", "ipv4": ["172.105.55.147"], "ipv6": "1234::5678/128",
"type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128",
"image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024,
"vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
true, "available": false, "schedule": {"day": null, "window": null}, "last_successful":
null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid":
"2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data": false, "placement_group":
"1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group":
null, "lke_cluster_id": null}'
headers:
Access-Control-Allow-Credentials:
Expand All @@ -355,13 +355,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- "786"
- "785"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:53 GMT
- Fri, 28 Jun 2024 21:01:06 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -385,7 +385,7 @@ interactions:
code: 200
duration: ""
- request:
body: '{"label":"go-test-conf-f46byv9z978q","devices":{},"interfaces":null}'
body: '{"label":"go-test-conf-drq2w7998z4z","devices":{},"interfaces":null}'
form: {}
headers:
Accept:
Expand All @@ -394,10 +394,10 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700/configs
url: https://api.linode.com/v4beta/linode/instances/60783043/configs
method: POST
response:
body: '{"id": 63985562, "label": "go-test-conf-f46byv9z978q", "helpers": {"updatedb_disabled":
body: '{"id": 63990979, "label": "go-test-conf-drq2w7998z4z", "helpers": {"updatedb_disabled":
true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount":
true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created":
"2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda",
Expand Down Expand Up @@ -426,7 +426,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:53 GMT
- Fri, 28 Jun 2024 21:01:07 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -459,18 +459,18 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700
url: https://api.linode.com/v4beta/linode/instances/60783043
method: GET
response:
body: '{"id": 60777700, "label": "go-test-ins-wo-disk-dw8b3s7p33x7", "group":
body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group":
"", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"type": "g6-nanode-1", "ipv4": ["172.105.55.147"], "ipv6": "1234::5678/128",
"type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128",
"image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024,
"vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"},
"last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags":
[], "host_uuid": "2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data":
[], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data":
false, "placement_group": null, "lke_cluster_id": null}'
headers:
Access-Control-Allow-Credentials:
Expand All @@ -488,13 +488,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- "802"
- "801"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:08 GMT
- Fri, 28 Jun 2024 21:01:22 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -528,18 +528,18 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700
url: https://api.linode.com/v4beta/linode/instances/60783043
method: GET
response:
body: '{"id": 60777700, "label": "go-test-ins-wo-disk-dw8b3s7p33x7", "group":
body: '{"id": 60783043, "label": "go-test-ins-wo-disk-t8auh0c3044z", "group":
"", "status": "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"type": "g6-nanode-1", "ipv4": ["172.105.55.147"], "ipv6": "1234::5678/128",
"type": "g6-nanode-1", "ipv4": ["172.105.37.79"], "ipv6": "1234::5678/128",
"image": null, "region": "ap-west", "specs": {"disk": 25600, "memory": 1024,
"vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
true, "available": false, "schedule": {"day": "Scheduling", "window": "Scheduling"},
"last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags":
[], "host_uuid": "2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data":
[], "host_uuid": "1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data":
false, "placement_group": null, "lke_cluster_id": null}'
headers:
Access-Control-Allow-Credentials:
Expand All @@ -557,13 +557,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- "797"
- "796"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:23 GMT
- Fri, 28 Jun 2024 21:01:37 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -588,7 +588,7 @@ interactions:
code: 200
duration: ""
- request:
body: '{"label":"disk-test-a7t2wmf50p99","size":2000,"filesystem":"ext4"}'
body: '{"label":"disk-test-2akaxm4d6831","size":2000,"filesystem":"ext4"}'
form: {}
headers:
Accept:
Expand All @@ -597,10 +597,10 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700/disks
url: https://api.linode.com/v4beta/linode/instances/60783043/disks
method: POST
response:
body: '{"id": 119517042, "status": "not ready", "label": "disk-test-a7t2wmf50p99",
body: '{"id": 119526671, "status": "not ready", "label": "disk-test-2akaxm4d6831",
"created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem":
"ext4", "size": 2000}'
headers:
Expand All @@ -625,7 +625,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:24 GMT
- Fri, 28 Jun 2024 21:01:37 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -658,10 +658,10 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700/disks
url: https://api.linode.com/v4beta/linode/instances/60783043/disks
method: GET
response:
body: '{"data": [{"id": 119517042, "status": "ready", "label": "disk-test-a7t2wmf50p99",
body: '{"data": [{"id": 119526671, "status": "ready", "label": "disk-test-2akaxm4d6831",
"created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem":
"ext4", "size": 2000}], "page": 1, "pages": 1, "results": 1}'
headers:
Expand All @@ -686,7 +686,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:39 GMT
- Fri, 28 Jun 2024 21:01:52 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -720,7 +720,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700/disks/119517042/resize
url: https://api.linode.com/v4beta/linode/instances/60783043/disks/119526671/resize
method: POST
response:
body: '{}'
Expand All @@ -746,7 +746,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:39 GMT
- Fri, 28 Jun 2024 21:01:53 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -779,7 +779,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777700
url: https://api.linode.com/v4beta/linode/instances/60783043
method: DELETE
response:
body: '{}'
Expand All @@ -805,7 +805,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:59:39 GMT
- Fri, 28 Jun 2024 21:01:53 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down
26 changes: 13 additions & 13 deletions test/integration/fixtures/TestInstance_Disks_List.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:51 GMT
- Fri, 28 Jun 2024 21:01:04 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -317,7 +317,7 @@ interactions:
code: 200
duration: ""
- request:
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-h6o7l31t7tx0","root_pass":"}Mz|hq9wYzZ@7uHn6p63*C[`F?nMx8Wi#847t5AU?^\u003e75([7F{iFhS5F0~fA8uD''","image":"linode/debian9","firewall_id":610493,"booted":false}'
body: '{"region":"ap-west","type":"g6-nanode-1","label":"go-test-ins-gu07fn651tb0","root_pass":"v73f9pqP,J4E7ZG-Ou=k7tiEC;;72K*yz\u00269(MiC87g8R9A]yD\u003c@9*rp-1D6Dh|*}","image":"linode/debian9","firewall_id":611242,"booted":false}'
form: {}
headers:
Accept:
Expand All @@ -329,15 +329,15 @@ interactions:
url: https://api.linode.com/v4beta/linode/instances
method: POST
response:
body: '{"id": 60777699, "label": "go-test-ins-h6o7l31t7tx0", "group": "", "status":
body: '{"id": 60783041, "label": "go-test-ins-gu07fn651tb0", "group": "", "status":
"provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"type": "g6-nanode-1", "ipv4": ["172.105.55.85"], "ipv6": "1234::5678/128",
"type": "g6-nanode-1", "ipv4": ["172.105.37.249"], "ipv6": "1234::5678/128",
"image": "linode/debian9", "region": "ap-west", "specs": {"disk": 25600, "memory":
1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in":
10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled":
true, "available": false, "schedule": {"day": null, "window": null}, "last_successful":
null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid":
"2cd9a951a620396bd65ebd2d676659eb27ab7ac7", "has_user_data": false, "placement_group":
"1dbba5b43d08a78e7f678ea425b3887659b32008", "has_user_data": false, "placement_group":
null, "lke_cluster_id": null}'
headers:
Access-Control-Allow-Credentials:
Expand All @@ -355,13 +355,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- "789"
- "790"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:52 GMT
- Fri, 28 Jun 2024 21:01:05 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -394,12 +394,12 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777699/disks
url: https://api.linode.com/v4beta/linode/instances/60783041/disks
method: GET
response:
body: '{"data": [{"id": 119516972, "status": "not ready", "label": "Debian 9 Disk",
body: '{"data": [{"id": 119526627, "status": "not ready", "label": "Debian 9 Disk",
"created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem":
"ext4", "size": 25088}, {"id": 119516973, "status": "not ready", "label": "512
"ext4", "size": 25088}, {"id": 119526628, "status": "not ready", "label": "512
MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"filesystem": "swap", "size": 512}], "page": 1, "pages": 1, "results": 2}'
headers:
Expand All @@ -424,7 +424,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:52 GMT
- Fri, 28 Jun 2024 21:01:05 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -458,7 +458,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/linode/instances/60777699
url: https://api.linode.com/v4beta/linode/instances/60783041
method: DELETE
response:
body: '{}'
Expand All @@ -484,7 +484,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Fri, 28 Jun 2024 17:58:52 GMT
- Fri, 28 Jun 2024 21:01:06 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down
Loading

0 comments on commit 8199a39

Please sign in to comment.