Skip to content

Commit

Permalink
regenerating fixtures for nodebalancer and firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
jriddle-linode committed Sep 13, 2023
1 parent 3ecdc49 commit 092845e
Show file tree
Hide file tree
Showing 30 changed files with 5,835 additions and 1,571 deletions.
241 changes: 172 additions & 69 deletions test/integration/fixtures/TestFirewallDevice_Delete.yaml

Large diffs are not rendered by default.

245 changes: 174 additions & 71 deletions test/integration/fixtures/TestFirewallDevice_Get.yaml

Large diffs are not rendered by default.

237 changes: 170 additions & 67 deletions test/integration/fixtures/TestFirewallDevices_List.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions test/integration/fixtures/TestFirewallRules_Get.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: POST
response:
body: '{"id": 91082, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228227, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
"TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy":
Expand All @@ -35,7 +35,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "525"
- "526"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -72,7 +72,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91082/rules
url: https://api.linode.com/v4beta/networking/firewalls/228227/rules
method: GET
response:
body: '{"inbound": [{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22",
Expand Down Expand Up @@ -133,7 +133,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91082
url: https://api.linode.com/v4beta/networking/firewalls/228227
method: DELETE
response:
body: '{}'
Expand Down
10 changes: 5 additions & 5 deletions test/integration/fixtures/TestFirewallRules_Update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: POST
response:
body: '{"id": 91083, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228228, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
"TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy":
Expand All @@ -35,7 +35,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "525"
- "526"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -72,7 +72,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91083/rules
url: https://api.linode.com/v4beta/networking/firewalls/228228/rules
method: PUT
response:
body: '{"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22",
Expand Down Expand Up @@ -129,7 +129,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91083/rules
url: https://api.linode.com/v4beta/networking/firewalls/228228/rules
method: GET
response:
body: '{"inbound": [{"action": "DROP", "label": "go-fwrule-test_r", "ports": "22",
Expand Down Expand Up @@ -188,7 +188,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91083
url: https://api.linode.com/v4beta/networking/firewalls/228228
method: DELETE
response:
body: '{}'
Expand Down
12 changes: 6 additions & 6 deletions test/integration/fixtures/TestFirewall_Get.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: POST
response:
body: '{"id": 91088, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228233, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses":
{"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound":
Expand All @@ -33,7 +33,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "380"
- "381"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -70,10 +70,10 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91088
url: https://api.linode.com/v4beta/networking/firewalls/228233
method: GET
response:
body: '{"id": 91088, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228233, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses":
{"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy": "ACCEPT", "outbound":
Expand All @@ -93,7 +93,7 @@ interactions:
- private, max-age=0, s-maxage=0, no-cache, no-store
- private, max-age=60, s-maxage=60
Content-Length:
- "380"
- "381"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -131,7 +131,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91088
url: https://api.linode.com/v4beta/networking/firewalls/228233
method: DELETE
response:
body: '{}'
Expand Down
12 changes: 6 additions & 6 deletions test/integration/fixtures/TestFirewall_Update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: POST
response:
body: '{"id": 91089, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228234, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses":
{"ipv4": ["0.0.0.0/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy":
Expand All @@ -33,7 +33,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "359"
- "360"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -70,10 +70,10 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91089
url: https://api.linode.com/v4beta/networking/firewalls/228234
method: PUT
response:
body: '{"id": 91089, "label": "linodego-fw-test-updated", "created": "2018-01-02T03:04:05",
body: '{"id": 228234, "label": "linodego-fw-test-updated", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "disabled", "rules": {"inbound":
[{"action": "DROP", "label": "linodego-fwrule-test", "protocol": "ICMP", "addresses":
{"ipv4": ["0.0.0.0/0"]}}], "inbound_policy": "ACCEPT", "outbound": null, "outbound_policy":
Expand All @@ -92,7 +92,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "362"
- "363"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -129,7 +129,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91089
url: https://api.linode.com/v4beta/networking/firewalls/228234
method: DELETE
response:
body: '{}'
Expand Down
10 changes: 5 additions & 5 deletions test/integration/fixtures/TestFirewalls_List.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: POST
response:
body: '{"id": 91087, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"id": 228232, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
"TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy":
Expand All @@ -35,7 +35,7 @@ interactions:
Cache-Control:
- private, max-age=60, s-maxage=60
Content-Length:
- "525"
- "526"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -75,7 +75,7 @@ interactions:
url: https://api.linode.com/v4beta/networking/firewalls
method: GET
response:
body: '{"data": [{"id": 91087, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
body: '{"data": [{"id": 228232, "label": "linodego-fw-test", "created": "2018-01-02T03:04:05",
"updated": "2018-01-02T03:04:05", "status": "enabled", "rules": {"inbound":
[{"action": "ACCEPT", "label": "go-fwrule-test", "ports": "22", "protocol":
"TCP", "addresses": {"ipv4": ["0.0.0.0/0"], "ipv6": ["1234::5678/0"]}}], "inbound_policy":
Expand All @@ -98,7 +98,7 @@ interactions:
- private, max-age=0, s-maxage=0, no-cache, no-store
- private, max-age=60, s-maxage=60
Content-Length:
- "574"
- "575"
Content-Security-Policy:
- default-src 'none'
Content-Type:
Expand Down Expand Up @@ -136,7 +136,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/networking/firewalls/91087
url: https://api.linode.com/v4beta/networking/firewalls/228232
method: DELETE
response:
body: '{}'
Expand Down
Loading

0 comments on commit 092845e

Please sign in to comment.