Skip to content

Commit

Permalink
Merge branch 'dasha.shifrina/powerpacks-pt-1' into dasha.shifrina/pow…
Browse files Browse the repository at this point in the history
…erpacks-pt-2
  • Loading branch information
dashashifrina committed Oct 25, 2023
2 parents 9ed4261 + 81cf591 commit 6579a3f
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 61 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-10-23T21:48:27.85447-04:00
2023-10-24T13:00:19.993039-04:00
22 changes: 11 additions & 11 deletions datadog/tests/cassettes/TestAccDatadogPowerpackAlertGraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 1
interactions:
- request:
body: |
{"data":{"attributes":{"description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"}}]}},"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","tags":["tag:foo1"],"template_variables":[{"defaults":["defaults"],"name":"datacenter"}]},"type":"powerpack"}}
{"data":{"attributes":{"description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"}}]}},"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","tags":["tag:foo1"],"template_variables":[{"defaults":["defaults"],"name":"datacenter"}]},"type":"powerpack"}}
form: {}
headers:
Accept:
Expand All @@ -14,7 +14,7 @@ interactions:
method: POST
response:
body: |
{"data":{"type":"powerpack","id":"00b65f3c-720f-11ee-8788-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":7119659130114370}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
{"data":{"type":"powerpack","id":"d2de801e-728e-11ee-8d1f-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":1754374040124311}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
headers:
Content-Type:
- application/json
Expand All @@ -27,11 +27,11 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v2/powerpacks/00b65f3c-720f-11ee-8788-da7ad0900002
url: https://api.datadoghq.com/api/v2/powerpacks/d2de801e-728e-11ee-8d1f-da7ad0900002
method: GET
response:
body: |
{"data":{"type":"powerpack","id":"00b65f3c-720f-11ee-8788-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":7119659130114370}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
{"data":{"type":"powerpack","id":"d2de801e-728e-11ee-8d1f-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":1754374040124311}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
headers:
Content-Type:
- application/json
Expand All @@ -44,11 +44,11 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v2/powerpacks/00b65f3c-720f-11ee-8788-da7ad0900002
url: https://api.datadoghq.com/api/v2/powerpacks/d2de801e-728e-11ee-8d1f-da7ad0900002
method: GET
response:
body: |
{"data":{"type":"powerpack","id":"00b65f3c-720f-11ee-8788-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":7119659130114370}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
{"data":{"type":"powerpack","id":"d2de801e-728e-11ee-8d1f-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":1754374040124311}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
headers:
Content-Type:
- application/json
Expand All @@ -61,11 +61,11 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v2/powerpacks/00b65f3c-720f-11ee-8788-da7ad0900002
url: https://api.datadoghq.com/api/v2/powerpacks/d2de801e-728e-11ee-8d1f-da7ad0900002
method: GET
response:
body: |
{"data":{"type":"powerpack","id":"00b65f3c-720f-11ee-8788-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698111922","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":7119659130114370}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
{"data":{"type":"powerpack","id":"d2de801e-728e-11ee-8d1f-da7ad0900002","attributes":{"name":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","description":"Created using the Datadog provider in Terraform","group_widget":{"definition":{"layout_type":"ordered","title":"tf-TestAccDatadogPowerpackAlertGraph-local-1698166819","type":"group","widgets":[{"definition":{"alert_id":"895605","title":"Widget Title","title_align":"center","title_size":"20","type":"alert_graph","viz_type":"timeseries"},"id":1754374040124311}]}},"template_variables":[{"defaults":["defaults"],"name":"datacenter"}],"tags":["tag:foo1"]},"relationships":{"author":{"data":{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"[email protected]"}}]}
headers:
Content-Type:
- application/json
Expand All @@ -78,7 +78,7 @@ interactions:
headers:
Accept:
- '*/*'
url: https://api.datadoghq.com/api/v2/powerpacks/00b65f3c-720f-11ee-8788-da7ad0900002
url: https://api.datadoghq.com/api/v2/powerpacks/d2de801e-728e-11ee-8d1f-da7ad0900002
method: DELETE
response:
body: ""
Expand All @@ -94,10 +94,10 @@ interactions:
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v2/powerpacks/00b65f3c-720f-11ee-8788-da7ad0900002
url: https://api.datadoghq.com/api/v2/powerpacks/d2de801e-728e-11ee-8d1f-da7ad0900002
method: GET
response:
body: '{"errors":["Powerpack with ID 00b65f3c-720f-11ee-8788-da7ad0900002 not found"]}'
body: '{"errors":["Powerpack with ID d2de801e-728e-11ee-8d1f-da7ad0900002 not found"]}'
headers:
Content-Type:
- application/json
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-10-23T21:48:27.854248-04:00
2023-10-24T13:00:19.997083-04:00
Loading

0 comments on commit 6579a3f

Please sign in to comment.