diff --git a/.apigentools-info b/.apigentools-info index 0dc48567f5e..5bc396b9096 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 18:22:36.383860", - "spec_repo_commit": "f35f7750" + "regenerated": "2024-11-14 19:25:59.614937", + "spec_repo_commit": "03f60dd8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 18:22:36.402883", - "spec_repo_commit": "f35f7750" + "regenerated": "2024-11-14 19:25:59.634127", + "spec_repo_commit": "03f60dd8" } } } \ No newline at end of file diff --git a/examples/v1/dashboards/CreateDashboard_109450134.go b/examples/v1/dashboards/CreateDashboard_109450134.go index 8095643df79..d85e17bc208 100644 --- a/examples/v1/dashboards/CreateDashboard_109450134.go +++ b/examples/v1/dashboards/CreateDashboard_109450134.go @@ -49,7 +49,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1094917386.go b/examples/v1/dashboards/CreateDashboard_1094917386.go index 255dbd3043b..faa4314c970 100644 --- a/examples/v1/dashboards/CreateDashboard_1094917386.go +++ b/examples/v1/dashboards/CreateDashboard_1094917386.go @@ -42,7 +42,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1177423752.go b/examples/v1/dashboards/CreateDashboard_1177423752.go index ca0773c1a11..226f03cbe7a 100644 --- a/examples/v1/dashboards/CreateDashboard_1177423752.go +++ b/examples/v1/dashboards/CreateDashboard_1177423752.go @@ -45,7 +45,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1200099236.go b/examples/v1/dashboards/CreateDashboard_1200099236.go index c8b1c7609f3..180185f07d0 100644 --- a/examples/v1/dashboards/CreateDashboard_1200099236.go +++ b/examples/v1/dashboards/CreateDashboard_1200099236.go @@ -47,7 +47,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1213075383.go b/examples/v1/dashboards/CreateDashboard_1213075383.go index a45fbd94021..2e3417854f6 100644 --- a/examples/v1/dashboards/CreateDashboard_1213075383.go +++ b/examples/v1/dashboards/CreateDashboard_1213075383.go @@ -76,7 +76,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1413226400.go b/examples/v1/dashboards/CreateDashboard_1413226400.go index b178c40b4c7..5cce0ca1c9b 100644 --- a/examples/v1/dashboards/CreateDashboard_1413226400.go +++ b/examples/v1/dashboards/CreateDashboard_1413226400.go @@ -75,7 +75,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1423904722.go b/examples/v1/dashboards/CreateDashboard_1423904722.go index 36a9060f343..42968e6c2ee 100644 --- a/examples/v1/dashboards/CreateDashboard_1423904722.go +++ b/examples/v1/dashboards/CreateDashboard_1423904722.go @@ -43,7 +43,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_173805046.go b/examples/v1/dashboards/CreateDashboard_173805046.go index 62394d17c44..3ee4af08ac9 100644 --- a/examples/v1/dashboards/CreateDashboard_173805046.go +++ b/examples/v1/dashboards/CreateDashboard_173805046.go @@ -46,7 +46,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1738608750.go b/examples/v1/dashboards/CreateDashboard_1738608750.go index d800c79e876..2fb1a772f0c 100644 --- a/examples/v1/dashboards/CreateDashboard_1738608750.go +++ b/examples/v1/dashboards/CreateDashboard_1738608750.go @@ -36,7 +36,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_1754992756.go b/examples/v1/dashboards/CreateDashboard_1754992756.go index 5fa58ced4fb..4439c0a7159 100644 --- a/examples/v1/dashboards/CreateDashboard_1754992756.go +++ b/examples/v1/dashboards/CreateDashboard_1754992756.go @@ -50,7 +50,6 @@ func main() { }, }, Description: *datadog.NewNullableString(datadog.PtrString("description")), - IsReadOnly: datadog.PtrBool(false), } ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() diff --git a/examples/v1/dashboards/CreateDashboard_2029850837.go b/examples/v1/dashboards/CreateDashboard_2029850837.go index 639f1e9d8c2..a5d2c5ed36b 100644 --- a/examples/v1/dashboards/CreateDashboard_2029850837.go +++ b/examples/v1/dashboards/CreateDashboard_2029850837.go @@ -50,7 +50,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2034634967.go b/examples/v1/dashboards/CreateDashboard_2034634967.go index 182b083ee4f..8cfc526d27e 100644 --- a/examples/v1/dashboards/CreateDashboard_2034634967.go +++ b/examples/v1/dashboards/CreateDashboard_2034634967.go @@ -40,7 +40,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2278756614.go b/examples/v1/dashboards/CreateDashboard_2278756614.go index 36445661a21..594b41ad51f 100644 --- a/examples/v1/dashboards/CreateDashboard_2278756614.go +++ b/examples/v1/dashboards/CreateDashboard_2278756614.go @@ -98,7 +98,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_ORDERED, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2308247857.go b/examples/v1/dashboards/CreateDashboard_2308247857.go index de13829bf74..fb8608bc9fd 100644 --- a/examples/v1/dashboards/CreateDashboard_2308247857.go +++ b/examples/v1/dashboards/CreateDashboard_2308247857.go @@ -41,7 +41,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2316374332.go b/examples/v1/dashboards/CreateDashboard_2316374332.go index f34bdbac889..547d964ec79 100644 --- a/examples/v1/dashboards/CreateDashboard_2316374332.go +++ b/examples/v1/dashboards/CreateDashboard_2316374332.go @@ -41,7 +41,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2336428357.go b/examples/v1/dashboards/CreateDashboard_2336428357.go index 4cca080207b..611bc42cd6c 100644 --- a/examples/v1/dashboards/CreateDashboard_2336428357.go +++ b/examples/v1/dashboards/CreateDashboard_2336428357.go @@ -70,7 +70,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2342457693.go b/examples/v1/dashboards/CreateDashboard_2342457693.go index acda7358c10..5eb78319473 100644 --- a/examples/v1/dashboards/CreateDashboard_2342457693.go +++ b/examples/v1/dashboards/CreateDashboard_2342457693.go @@ -83,7 +83,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2349863258.go b/examples/v1/dashboards/CreateDashboard_2349863258.go index 8290b51c1d2..5ef40b05a14 100644 --- a/examples/v1/dashboards/CreateDashboard_2349863258.go +++ b/examples/v1/dashboards/CreateDashboard_2349863258.go @@ -53,7 +53,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2563642929.go b/examples/v1/dashboards/CreateDashboard_2563642929.go index a356260794a..0ab2e822bae 100644 --- a/examples/v1/dashboards/CreateDashboard_2563642929.go +++ b/examples/v1/dashboards/CreateDashboard_2563642929.go @@ -76,7 +76,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2607944105.go b/examples/v1/dashboards/CreateDashboard_2607944105.go index 232c9dc58f9..e16b9a0ec16 100644 --- a/examples/v1/dashboards/CreateDashboard_2607944105.go +++ b/examples/v1/dashboards/CreateDashboard_2607944105.go @@ -39,7 +39,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2610827685.go b/examples/v1/dashboards/CreateDashboard_2610827685.go index 283ad85175f..fe1fac92e58 100644 --- a/examples/v1/dashboards/CreateDashboard_2610827685.go +++ b/examples/v1/dashboards/CreateDashboard_2610827685.go @@ -44,7 +44,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2634813877.go b/examples/v1/dashboards/CreateDashboard_2634813877.go index 49300dfd354..dd281982e32 100644 --- a/examples/v1/dashboards/CreateDashboard_2634813877.go +++ b/examples/v1/dashboards/CreateDashboard_2634813877.go @@ -38,7 +38,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2652180930.go b/examples/v1/dashboards/CreateDashboard_2652180930.go index 49a55aa3500..78a78fa5d4b 100644 --- a/examples/v1/dashboards/CreateDashboard_2652180930.go +++ b/examples/v1/dashboards/CreateDashboard_2652180930.go @@ -48,7 +48,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2850365602.go b/examples/v1/dashboards/CreateDashboard_2850365602.go index 4de5f470f84..d02a2a2df34 100644 --- a/examples/v1/dashboards/CreateDashboard_2850365602.go +++ b/examples/v1/dashboards/CreateDashboard_2850365602.go @@ -15,7 +15,6 @@ import ( func main() { body := datadogV1.Dashboard{ Description: *datadog.NewNullableString(nil), - IsReadOnly: datadog.PtrBool(false), LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_ORDERED, NotifyList: *datadog.NewNullableList(&[]string{}), ReflowType: datadogV1.DASHBOARDREFLOWTYPE_AUTO.Ptr(), diff --git a/examples/v1/dashboards/CreateDashboard_2917274132.go b/examples/v1/dashboards/CreateDashboard_2917274132.go index 2551e835f17..9510b4a3c60 100644 --- a/examples/v1/dashboards/CreateDashboard_2917274132.go +++ b/examples/v1/dashboards/CreateDashboard_2917274132.go @@ -41,7 +41,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_2921337351.go b/examples/v1/dashboards/CreateDashboard_2921337351.go index 9eef8c135e8..d16097c8c00 100644 --- a/examples/v1/dashboards/CreateDashboard_2921337351.go +++ b/examples/v1/dashboards/CreateDashboard_2921337351.go @@ -46,7 +46,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_3250131584.go b/examples/v1/dashboards/CreateDashboard_3250131584.go index 52114fad705..eb1169b0f9a 100644 --- a/examples/v1/dashboards/CreateDashboard_3250131584.go +++ b/examples/v1/dashboards/CreateDashboard_3250131584.go @@ -37,7 +37,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_3777304439.go b/examples/v1/dashboards/CreateDashboard_3777304439.go index 2a3b9094fec..821158d889f 100644 --- a/examples/v1/dashboards/CreateDashboard_3777304439.go +++ b/examples/v1/dashboards/CreateDashboard_3777304439.go @@ -57,7 +57,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_417992286.go b/examples/v1/dashboards/CreateDashboard_417992286.go index c17e4f5cbf0..09676b4b8f9 100644 --- a/examples/v1/dashboards/CreateDashboard_417992286.go +++ b/examples/v1/dashboards/CreateDashboard_417992286.go @@ -33,7 +33,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_651038379.go b/examples/v1/dashboards/CreateDashboard_651038379.go index 80f1076684d..791551d0560 100644 --- a/examples/v1/dashboards/CreateDashboard_651038379.go +++ b/examples/v1/dashboards/CreateDashboard_651038379.go @@ -34,7 +34,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_794302680.go b/examples/v1/dashboards/CreateDashboard_794302680.go index 988f3d03725..eef43f50d26 100644 --- a/examples/v1/dashboards/CreateDashboard_794302680.go +++ b/examples/v1/dashboards/CreateDashboard_794302680.go @@ -161,7 +161,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_858397694.go b/examples/v1/dashboards/CreateDashboard_858397694.go index 9721c4e75d4..f5909f78046 100644 --- a/examples/v1/dashboards/CreateDashboard_858397694.go +++ b/examples/v1/dashboards/CreateDashboard_858397694.go @@ -15,7 +15,6 @@ import ( func main() { body := datadogV1.Dashboard{ Description: *datadog.NewNullableString(nil), - IsReadOnly: datadog.PtrBool(false), LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_ORDERED, NotifyList: *datadog.NewNullableList(&[]string{}), ReflowType: datadogV1.DASHBOARDREFLOWTYPE_AUTO.Ptr(), diff --git a/examples/v1/dashboards/CreateDashboard_913313564.go b/examples/v1/dashboards/CreateDashboard_913313564.go index e548c61661e..0d615f5f254 100644 --- a/examples/v1/dashboards/CreateDashboard_913313564.go +++ b/examples/v1/dashboards/CreateDashboard_913313564.go @@ -33,7 +33,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/examples/v1/dashboards/CreateDashboard_915214113.go b/examples/v1/dashboards/CreateDashboard_915214113.go index a7c0f832ca5..3d0748b337e 100644 --- a/examples/v1/dashboards/CreateDashboard_915214113.go +++ b/examples/v1/dashboards/CreateDashboard_915214113.go @@ -91,7 +91,6 @@ func main() { }, TemplateVariables: []datadogV1.DashboardTemplateVariable{}, LayoutType: datadogV1.DASHBOARDLAYOUTTYPE_FREE, - IsReadOnly: datadog.PtrBool(false), NotifyList: *datadog.NewNullableList(&[]string{}), } ctx := datadog.NewDefaultContext(context.Background()) diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze index a1e7e71b616..31af4c83ecd 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze @@ -1 +1 @@ -2022-06-03T14:40:30.273Z \ No newline at end of file +2024-11-14T19:12:06.088Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.yaml index 351dcce9f8f..3b9dd020e5e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1654267230","widgets":[{"definition":{"requests":[{"query":{"data_source":"apm_resource_stats","env":"staging","group_by":["resource_name"],"name":"query1","operation_name":"universal.http.client","primary_tag_name":"datacenter","primary_tag_value":"*","service":"azure-bill-import","stat":"latency_distribution"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"APM Stats - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":8,"y":0}}]} + {"description":"","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731611526","widgets":[{"definition":{"requests":[{"query":{"data_source":"apm_resource_stats","env":"staging","group_by":["resource_name"],"name":"query1","operation_name":"universal.http.client","primary_tag_name":"datacenter","primary_tag_value":"*","service":"azure-bill-import","stat":"latency_distribution"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"APM Stats - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":8,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":"","restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"u8n-j9a-4sd","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1654267230","url":"/dashboard/u8n-j9a-4sd/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","created_at":"2022-06-03T14:40:30.784732+00:00","modified_at":"2022-06-03T14:40:30.784732+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"APM - Stats - Request latency HOP","title_align":"left","yaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"show_legend":false,"xaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"requests":[{"query":{"primary_tag_value":"*","stat":"latency_distribution","data_source":"apm_resource_stats","name":"query1","service":"azure-bill-import","group_by":["resource_name"],"env":"staging","primary_tag_name":"datacenter","operation_name":"universal.http.client"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"type":"distribution"},"layout":{"y":0,"width":4,"x":8,"height":2},"id":8784141872614013}],"layout_type":"ordered"}' + body: '{"id":"nsh-v4v-nmq","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731611526","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/nsh-v4v-nmq/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"query":{"data_source":"apm_resource_stats","env":"staging","group_by":["resource_name"],"name":"query1","operation_name":"universal.http.client","primary_tag_name":"datacenter","primary_tag_value":"*","service":"azure-bill-import","stat":"latency_distribution"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"APM + Stats - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":8,"y":0},"id":772521511524027}],"notify_list":null,"created_at":"2024-11-14T19:12:06.311354+00:00","modified_at":"2024-11-14T19:12:06.311354+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u8n-j9a-4sd + url: https://api.datadoghq.com/api/v1/dashboard/nsh-v4v-nmq response: - body: '{"deleted_dashboard_id":"u8n-j9a-4sd"}' + body: '{"deleted_dashboard_id":"nsh-v4v-nmq"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze index 99852424470..52ebe1608c5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze @@ -1 +1 @@ -2022-06-03T14:40:31.413Z \ No newline at end of file +2024-11-14T19:12:06.617Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.yaml index c9566d3b505..35c2b890fa3 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231","widgets":[{"definition":{"requests":[{"query":{"compute":{"aggregation":"min","metric":"@duration"},"data_source":"events","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}},"request_type":"histogram"}],"show_legend":false,"title":"Events Platform - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0}}]} + {"description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526","widgets":[{"definition":{"requests":[{"query":{"compute":{"aggregation":"min","metric":"@duration"},"data_source":"events","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}},"request_type":"histogram"}],"show_legend":false,"title":"Events Platform - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231","restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"z8p-mhb-k4x","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231","url":"/dashboard/z8p-mhb-k4x/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","created_at":"2022-06-03T14:40:31.823381+00:00","modified_at":"2022-06-03T14:40:31.823381+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"Events - Platform - Request latency HOP","title_align":"left","yaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"show_legend":false,"xaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"requests":[{"query":{"search":{"query":""},"data_source":"events","compute":{"metric":"@duration","aggregation":"min"},"name":"query1","indexes":["*"],"group_by":[]},"request_type":"histogram"}],"type":"distribution"},"layout":{"y":0,"width":4,"x":0,"height":2},"id":5948993743115767}],"layout_type":"ordered"}' + body: '{"id":"tys-evq-k25","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526","description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/tys-evq-k25/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"query":{"compute":{"aggregation":"min","metric":"@duration"},"data_source":"events","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}},"request_type":"histogram"}],"show_legend":false,"title":"Events + Platform - Request latency HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0},"id":1505752567613231}],"notify_list":null,"created_at":"2024-11-14T19:12:06.799728+00:00","modified_at":"2024-11-14T19:12:06.799728+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/z8p-mhb-k4x + url: https://api.datadoghq.com/api/v1/dashboard/tys-evq-k25 response: - body: '{"deleted_dashboard_id":"z8p-mhb-k4x"}' + body: '{"deleted_dashboard_id":"tys-evq-k25"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze index 7402075d942..490466ea238 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze @@ -1 +1 @@ -2023-08-01T15:16:44.506Z \ No newline at end of file +2024-11-14T19:12:07.115Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.yaml index 3f95366ecdc..bc70880e672 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1690903004","widgets":[{"definition":{"custom_links":[{"label":"Example","link":"https://example.org/"}],"requests":[{"query":{"data_source":"metrics","name":"query1","query":"histogram:trace.Load{*}"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"Metrics HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1731611527","widgets":[{"definition":{"custom_links":[{"label":"Example","link":"https://example.org/"}],"requests":[{"query":{"data_source":"metrics","name":"query1","query":"histogram:trace.Load{*}"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"Metrics HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"uts-6em-2su","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1690903004","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/uts-6em-2su/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"custom_links":[{"label":"Example","link":"https://example.org/"}],"requests":[{"query":{"data_source":"metrics","name":"query1","query":"histogram:trace.Load{*}"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"Metrics - HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0},"id":4570406064684725}],"notify_list":null,"created_at":"2023-08-01T15:16:44.785380+00:00","modified_at":"2023-08-01T15:16:44.785380+00:00","restricted_roles":[]} + body: '{"id":"2fs-dz8-tdz","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1731611527","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/2fs-dz8-tdz/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"custom_links":[{"label":"Example","link":"https://example.org/"}],"requests":[{"query":{"data_source":"metrics","name":"query1","query":"histogram:trace.Load{*}"},"request_type":"histogram","style":{"palette":"dog_classic"}}],"show_legend":false,"title":"Metrics + HOP","title_align":"left","title_size":"16","type":"distribution","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":2,"width":4,"x":0,"y":0},"id":1403016087327739}],"notify_list":null,"created_at":"2024-11-14T19:12:07.286820+00:00","modified_at":"2024-11-14T19:12:07.286820+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/uts-6em-2su + url: https://api.datadoghq.com/api/v1/dashboard/2fs-dz8-tdz response: - body: '{"deleted_dashboard_id":"uts-6em-2su"} + body: '{"deleted_dashboard_id":"2fs-dz8-tdz"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.freeze index 4fd6fb9a82e..8976ffd6ff6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.freeze @@ -1 +1 @@ -2023-06-21T19:29:03.584Z \ No newline at end of file +2024-11-14T19:12:07.559Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.yaml index e5fa15c0c43..414e7283922 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_geomap_widget_using_an_event_list_request.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743","layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[],"template_variables":[],"title":"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743","widgets":[{"definition":{"requests":[{"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"},{"field":"","width":"auto"}],"query":{"data_source":"logs_stream","indexes":[],"query_string":""},"response_format":"event_list"}],"style":{"palette":"hostmap_blues","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":6,"width":12,"x":0,"y":0}}]} + {"description":"Test-Create_a_geomap_widget_using_an_event_list_request-1731611527","layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[],"template_variables":[],"title":"Test-Create_a_geomap_widget_using_an_event_list_request-1731611527","widgets":[{"definition":{"requests":[{"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"},{"field":"","width":"auto"}],"query":{"data_source":"logs_stream","indexes":[],"query_string":""},"response_format":"event_list"}],"style":{"palette":"hostmap_blues","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":6,"width":12,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"cn7-qfm-s9w","title":"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743","description":"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/cn7-qfm-s9w/test-createageomapwidgetusinganeventlistrequest-1687375743","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"},{"field":"","width":"auto"}],"query":{"data_source":"logs_stream","indexes":[],"query_string":""},"response_format":"event_list"}],"style":{"palette":"hostmap_blues","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":6,"width":12,"x":0,"y":0},"id":8506811379916619}],"notify_list":[],"created_at":"2023-06-21T19:29:03.801081+00:00","modified_at":"2023-06-21T19:29:03.801081+00:00","reflow_type":"fixed","tags":[],"restricted_roles":[]} + body: '{"id":"kfv-qnp-4tg","title":"Test-Create_a_geomap_widget_using_an_event_list_request-1731611527","description":"Test-Create_a_geomap_widget_using_an_event_list_request-1731611527","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/kfv-qnp-4tg/test-createageomapwidgetusinganeventlistrequest-1731611527","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"},{"field":"classic","width":"auto"},{"field":"","width":"auto"}],"query":{"data_source":"logs_stream","indexes":[],"query_string":""},"response_format":"event_list"}],"style":{"palette":"hostmap_blues","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":6,"width":12,"x":0,"y":0},"id":4347700758144484}],"notify_list":[],"created_at":"2024-11-14T19:12:07.732619+00:00","modified_at":"2024-11-14T19:12:07.732619+00:00","reflow_type":"fixed","tags":[],"restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cn7-qfm-s9w + url: https://api.datadoghq.com/api/v1/dashboard/kfv-qnp-4tg response: - body: '{"deleted_dashboard_id":"cn7-qfm-s9w"} + body: '{"deleted_dashboard_id":"kfv-qnp-4tg"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.freeze index fecbbafb82d..8380ebf006a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-01-06T00:50:24.376Z \ No newline at end of file +2024-11-14T19:12:07.994Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.yaml index b7525f242a1..b67c723d65b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_returns_OK_response-1641430224 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_returns_OK_response-1731611527 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"755-ivq-cdy","title":"Test-Create_a_new_dashboard_returns_OK_response-1641430224 - with Profile Metrics Query","url":"/dashboard/755-ivq-cdy/test-createanewdashboardreturnsokresponse-1641430224-with-profile-metrics-query","created_at":"2022-01-06T00:50:24.573359+00:00","modified_at":"2022-01-06T00:50:24.573359+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":3702932968523926}],"layout_type":"ordered"}' + body: '{"id":"ffs-qse-3ra","title":"Test-Create_a_new_dashboard_returns_OK_response-1731611527 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/ffs-qse-3ra/test-createanewdashboardreturnsokresponse-1731611527-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":2619247057532237}],"notify_list":null,"created_at":"2024-11-14T19:12:08.172934+00:00","modified_at":"2024-11-14T19:12:08.172934+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/755-ivq-cdy + url: https://api.datadoghq.com/api/v1/dashboard/ffs-qse-3ra response: - body: '{"deleted_dashboard_id":"755-ivq-cdy"}' + body: '{"deleted_dashboard_id":"ffs-qse-3ra"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze index dd43c01b07d..caa7b658f45 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze @@ -1 +1 @@ -2023-07-03T20:01:23.941Z \ No newline at end of file +2024-11-14T19:12:08.436Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.yaml index 13cff0d7c1b..31403ca7d6d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} + {"name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731611528","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - body: '{"data":[{"id":"1973fea2b6975337b3c26626e42c34e4","name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"created_at":1688414484,"modified_at":1688414484}],"error":null} + body: '{"data":[{"id":"d0ead38560c15643877e9feee728bed5","name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731611528","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":"Anika + Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com"},"created_at":1731611528,"modified_at":1731611528}],"error":null} ' code: 200 @@ -23,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483","widgets":[{"definition":{"requests":[{"change_type":"absolute","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"asc","queries":[{"additional_query_filters":"*","data_source":"slo","group_mode":"overall","measure":"slo_status","name":"query1","slo_id":"1973fea2b6975337b3c26626e42c34e4","slo_query_type":"metric"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":2,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731611528","widgets":[{"definition":{"requests":[{"change_type":"absolute","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"asc","queries":[{"additional_query_filters":"*","data_source":"slo","group_mode":"overall","measure":"slo_status","name":"query1","slo_id":"d0ead38560c15643877e9feee728bed5","slo_query_type":"metric"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":2,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -34,7 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"9u7-4vb-5ag","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/9u7-4vb-5ag/test-createanewdashboardwithachangewidgetusingformulasandfunctionssloquery-16884","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"change_type":"absolute","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"asc","queries":[{"additional_query_filters":"*","data_source":"slo","group_mode":"overall","measure":"slo_status","name":"query1","slo_id":"1973fea2b6975337b3c26626e42c34e4","slo_query_type":"metric"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":2,"width":4,"x":0,"y":0},"id":6457792410139351}],"notify_list":null,"created_at":"2023-07-03T20:01:24.547325+00:00","modified_at":"2023-07-03T20:01:24.547325+00:00","restricted_roles":[]} + body: '{"id":"3cn-g4m-h9z","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731611528","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/3cn-g4m-h9z/test-createanewdashboardwithachangewidgetusingformulasandfunctionssloquery-17316","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"change_type":"absolute","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"asc","queries":[{"additional_query_filters":"*","data_source":"slo","group_mode":"overall","measure":"slo_status","name":"query1","slo_id":"d0ead38560c15643877e9feee728bed5","slo_query_type":"metric"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":2,"width":4,"x":0,"y":0},"id":7049386512706360}],"notify_list":null,"created_at":"2024-11-14T19:12:08.756612+00:00","modified_at":"2024-11-14T19:12:08.756612+00:00","restricted_roles":[]} ' code: 200 @@ -51,9 +53,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9u7-4vb-5ag + url: https://api.datadoghq.com/api/v1/dashboard/3cn-g4m-h9z response: - body: '{"deleted_dashboard_id":"9u7-4vb-5ag"} + body: '{"deleted_dashboard_id":"3cn-g4m-h9z"} ' code: 200 @@ -70,9 +72,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/1973fea2b6975337b3c26626e42c34e4 + url: https://api.datadoghq.com/api/v1/slo/d0ead38560c15643877e9feee728bed5 response: - body: '{"data":["1973fea2b6975337b3c26626e42c34e4"],"error":null} + body: '{"data":["d0ead38560c15643877e9feee728bed5"],"error":null} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze index e67de6258ba..f408822cf43 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:24.872Z \ No newline at end of file +2024-11-14T19:12:09.244Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.yaml index 909034af42b..9088c3ee341 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1641430224","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731611529","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"jfv-7es-bv2","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1641430224","url":"/dashboard/jfv-7es-bv2/test-createanewdashboardwithaformulasandfunctionschangewidget-1641430224","created_at":"2022-01-06T00:50:25.077294+00:00","modified_at":"2022-01-06T00:50:25.077294+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","time":{},"requests":[{"formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"order_by":"change","order_dir":"desc","compare_to":"hour_before","response_format":"scalar","increase_good":true,"queries":[{"search":{"query":""},"data_source":"logs","compute":{"aggregation":"count"},"name":"query1","indexes":["*"],"group_by":[]}],"change_type":"absolute"}],"type":"change"},"layout":{"y":0,"width":4,"x":0,"height":4},"id":5329680147350539}],"layout_type":"ordered"}' + body: '{"id":"8ap-qaz-qge","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731611529","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/8ap-qaz-qge/test-createanewdashboardwithaformulasandfunctionschangewidget-1731611529","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":1875237764680115}],"notify_list":null,"created_at":"2024-11-14T19:12:09.420485+00:00","modified_at":"2024-11-14T19:12:09.420485+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/jfv-7es-bv2 + url: https://api.datadoghq.com/api/v1/dashboard/8ap-qaz-qge response: - body: '{"deleted_dashboard_id":"jfv-7es-bv2"}' + body: '{"deleted_dashboard_id":"8ap-qaz-qge"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze index 0aaf970adf5..e406eeefb78 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze @@ -1 +1 @@ -2022-01-12T10:11:31.394Z \ No newline at end of file +2024-11-14T19:12:09.673Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.yaml index 35c9a7388d0..a3139e7417f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1641982291","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"title":"","type":"treemap"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731611529","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"title":"","type":"treemap"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"2ar-acj-hxc","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1641982291","url":"/dashboard/2ar-acj-hxc/test-createanewdashboardwithaformulasandfunctionstreemapwidget-1641982291","created_at":"2022-01-12T10:11:31.601485+00:00","modified_at":"2022-01-12T10:11:31.601485+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"response_format":"scalar","queries":[{"search":{"query":""},"data_source":"logs","compute":{"aggregation":"count"},"name":"query1","indexes":["*"],"group_by":[]}]}],"type":"treemap","title":""},"layout":{"y":0,"width":4,"x":0,"height":4},"id":2836171994664464}],"layout_type":"ordered"}' + body: '{"id":"83d-i5u-m3v","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731611529","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/83d-i5u-m3v/test-createanewdashboardwithaformulasandfunctionstreemapwidget-1731611529","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"title":"","type":"treemap"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":7665743685931618}],"notify_list":null,"created_at":"2024-11-14T19:12:09.852911+00:00","modified_at":"2024-11-14T19:12:09.852911+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2ar-acj-hxc + url: https://api.datadoghq.com/api/v1/dashboard/83d-i5u-m3v response: - body: '{"deleted_dashboard_id":"2ar-acj-hxc"}' + body: '{"deleted_dashboard_id":"83d-i5u-m3v"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze index 38715d0a22d..4d1c2ec39ac 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze @@ -1 +1 @@ -2022-01-06T00:50:25.463Z \ No newline at end of file +2024-11-14T19:12:10.125Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.yaml index f8298bc021b..80d0dbe1329 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1641430225 with QVW Percentile Aggregator","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"p90:dist.dd.dogweb.latency{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731611530 with QVW Percentile Aggregator","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"p90:dist.dd.dogweb.latency{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"xtt-jph-mde","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1641430225 - with QVW Percentile Aggregator","url":"/dashboard/xtt-jph-mde/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-164143","created_at":"2022-01-06T00:50:25.655596+00:00","modified_at":"2022-01-06T00:50:25.655596+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"autoscale":true,"title":"","title_align":"left","precision":2,"time":{},"title_size":"16","requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"p90:dist.dd.dogweb.latency{*}"}]}],"type":"query_value"},"layout":{"y":0,"width":2,"x":0,"height":2},"id":5189476437557683}],"layout_type":"ordered"}' + body: '{"id":"5e6-uwt-hiw","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731611530 + with QVW Percentile Aggregator","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/5e6-uwt-hiw/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-173161","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"p90:dist.dd.dogweb.latency{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0},"id":2654036272451651}],"notify_list":null,"created_at":"2024-11-14T19:12:10.298509+00:00","modified_at":"2024-11-14T19:12:10.298509+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/xtt-jph-mde + url: https://api.datadoghq.com/api/v1/dashboard/5e6-uwt-hiw response: - body: '{"deleted_dashboard_id":"xtt-jph-mde"}' + body: '{"deleted_dashboard_id":"5e6-uwt-hiw"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze index a0c9df20a07..bca43343fe5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze @@ -1 +1 @@ -2022-04-01T22:05:56.480Z \ No newline at end of file +2024-11-14T19:12:10.545Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.yaml index 0a6d0937bee..97d8ee8e3e3 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1648850756 with QVW Timeseries Background","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"sum:my.cool.count.metric{*}"}],"response_format":"scalar"}],"time":{},"timeseries_background":{"type":"area","yaxis":{"include_zero":true}},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731611530 with QVW Timeseries Background","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"sum:my.cool.count.metric{*}"}],"response_format":"scalar"}],"time":{},"timeseries_background":{"type":"area","yaxis":{"include_zero":true}},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"qpb-ufq-tfj","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1648850756 - with QVW Timeseries Background","url":"/dashboard/qpb-ufq-tfj/test-createanewdashboardwithaqueryvaluewidgetusingtimeseriesbackground-164885075","created_at":"2022-04-01T22:05:56.882433+00:00","modified_at":"2022-04-01T22:05:56.882433+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"autoscale":true,"title":"","title_align":"left","precision":2,"timeseries_background":{"type":"area","yaxis":{"include_zero":true}},"time":{},"title_size":"16","requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"sum:my.cool.count.metric{*}"}]}],"type":"query_value"},"layout":{"y":0,"width":2,"x":0,"height":2},"id":1355546266470286}],"layout_type":"ordered"}' + body: '{"id":"e79-3k8-wck","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731611530 + with QVW Timeseries Background","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/e79-3k8-wck/test-createanewdashboardwithaqueryvaluewidgetusingtimeseriesbackground-173161153","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"percentile","data_source":"metrics","name":"query1","query":"sum:my.cool.count.metric{*}"}],"response_format":"scalar"}],"time":{},"timeseries_background":{"type":"area","yaxis":{"include_zero":true}},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":2,"width":2,"x":0,"y":0},"id":7702897477190165}],"notify_list":null,"created_at":"2024-11-14T19:12:10.739610+00:00","modified_at":"2024-11-14T19:12:10.739610+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/qpb-ufq-tfj + url: https://api.datadoghq.com/api/v1/dashboard/e79-3k8-wck response: - body: '{"deleted_dashboard_id":"qpb-ufq-tfj"}' + body: '{"deleted_dashboard_id":"e79-3k8-wck"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze index 6d211e52500..7adc3c48a97 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze @@ -1 +1 @@ -2023-07-14T16:50:52.704Z \ No newline at end of file +2024-11-14T19:12:11.109Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.yaml index a7f6ffd9828..c44279f9a22 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1689353452","widgets":[{"definition":{"requests":[{"display_type":"line","on_right_yaxis":false,"queries":[{"data_source":"metrics","name":"mymetric","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries"},{"display_type":"overlay","queries":[{"data_source":"metrics","name":"mymetricoverlay","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"purple"}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1731611531","widgets":[{"definition":{"requests":[{"display_type":"line","on_right_yaxis":false,"queries":[{"data_source":"metrics","name":"mymetric","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries"},{"display_type":"overlay","queries":[{"data_source":"metrics","name":"mymetricoverlay","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"purple"}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"56a-eq2-76i","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1689353452","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/56a-eq2-76i/test-createanewdashboardwithatimeserieswidgetandanoverlayrequest-1689353452","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"display_type":"line","on_right_yaxis":false,"queries":[{"data_source":"metrics","name":"mymetric","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries"},{"display_type":"overlay","queries":[{"data_source":"metrics","name":"mymetricoverlay","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"purple"}}],"type":"timeseries"},"id":4582756152438811}],"notify_list":null,"created_at":"2023-07-14T16:50:52.916992+00:00","modified_at":"2023-07-14T16:50:52.916992+00:00","restricted_roles":[]} + body: '{"id":"9dj-gpc-pve","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1731611531","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/9dj-gpc-pve/test-createanewdashboardwithatimeserieswidgetandanoverlayrequest-1731611531","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"display_type":"line","on_right_yaxis":false,"queries":[{"data_source":"metrics","name":"mymetric","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries"},{"display_type":"overlay","queries":[{"data_source":"metrics","name":"mymetricoverlay","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"purple"}}],"type":"timeseries"},"id":3340608125452159}],"notify_list":null,"created_at":"2024-11-14T19:12:11.274182+00:00","modified_at":"2024-11-14T19:12:11.274182+00:00","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/56a-eq2-76i + url: https://api.datadoghq.com/api/v1/dashboard/9dj-gpc-pve response: - body: '{"deleted_dashboard_id":"56a-eq2-76i"} + body: '{"deleted_dashboard_id":"9dj-gpc-pve"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze index 111062c8070..55354eaa1f7 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze @@ -1 +1 @@ -2023-11-14T21:39:19.397Z \ No newline at end of file +2024-11-14T19:12:11.542Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.yaml index 17958b3a588..57f9f3079b5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1699997959","widgets":[{"definition":{"requests":[{"display_type":"bars","formulas":[{"formula":"query1"}],"queries":[{"data_source":"cloud_cost","name":"query1","query":"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"time":{"live_span":"week_to_date"},"title":"Example Cloud Cost Query","title_align":"left","title_size":"16","type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731611531","widgets":[{"definition":{"requests":[{"display_type":"bars","formulas":[{"formula":"query1"}],"queries":[{"data_source":"cloud_cost","name":"query1","query":"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"time":{"live_span":"week_to_date"},"title":"Example Cloud Cost Query","title_align":"left","title_size":"16","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,10 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"nh3-n9c-wuz","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1699997959","description":null,"author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"ordered","url":"/dashboard/nh3-n9c-wuz/test-createanewdashboardwithatimeserieswidgetusingformulasandfunctionscloudcostq","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"display_type":"bars","formulas":[{"formula":"query1"}],"queries":[{"data_source":"cloud_cost","name":"query1","query":"sum:aws.cost.amortized{*} + body: '{"id":"kf9-5t7-m6u","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731611531","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/kf9-5t7-m6u/test-createanewdashboardwithatimeserieswidgetusingformulasandfunctionscloudcostq","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"display_type":"bars","formulas":[{"formula":"query1"}],"queries":[{"data_source":"cloud_cost","name":"query1","query":"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"time":{"live_span":"week_to_date"},"title":"Example - Cloud Cost Query","title_align":"left","title_size":"16","type":"timeseries"},"id":380165468656457}],"notify_list":null,"created_at":"2023-11-14T21:39:19.798591+00:00","modified_at":"2023-11-14T21:39:19.798591+00:00","restricted_roles":[]} + Cloud Cost Query","title_align":"left","title_size":"16","type":"timeseries"},"id":6669803341186266}],"notify_list":null,"created_at":"2024-11-14T19:12:11.710518+00:00","modified_at":"2024-11-14T19:12:11.710518+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +32,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/nh3-n9c-wuz + url: https://api.datadoghq.com/api/v1/dashboard/kf9-5t7-m6u response: - body: '{"deleted_dashboard_id":"nh3-n9c-wuz"} + body: '{"deleted_dashboard_id":"kf9-5t7-m6u"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze index 53ed77b4f6f..869814b280a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze @@ -1 +1 @@ -2024-09-06T12:10:50.473Z \ No newline at end of file +2024-11-14T19:12:11.966Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.yaml index 316a30647bc..83b0e3f3b7b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1725624650","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1731611531","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"pr4-bz7-nn3","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1725624650","description":"","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"free","url":"/dashboard/pr4-bz7-nn3/test-createanewdashboardwithatoplistwidgetsortedbygroup-1725624650","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} - by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":8644525358047960}],"notify_list":[],"created_at":"2024-09-06T12:10:50.735923+00:00","modified_at":"2024-09-06T12:10:50.735923+00:00","restricted_roles":[]} + body: '{"id":"vhe-xty-kr6","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1731611531","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/vhe-xty-kr6/test-createanewdashboardwithatoplistwidgetsortedbygroup-1731611531","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":6590516596968264}],"notify_list":[],"created_at":"2024-11-14T19:12:12.140934+00:00","modified_at":"2024-11-14T19:12:12.140934+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pr4-bz7-nn3 + url: https://api.datadoghq.com/api/v1/dashboard/vhe-xty-kr6 response: - body: '{"deleted_dashboard_id":"pr4-bz7-nn3"} + body: '{"deleted_dashboard_id":"vhe-xty-kr6"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze index f6e6007e992..88e67c2fd03 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze @@ -1 +1 @@ -2024-09-30T17:24:52.299Z \ No newline at end of file +2024-11-14T19:12:12.401Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.yaml index 0a445dfbf05..053b3957bf3 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1727717092","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1731611532","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"2az-xeg-xar","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1727717092","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/2az-xeg-xar/test-createanewdashboardwithatoplistwidgetwithstackedtypeandnolegendspecified-17","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} - by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":688132644515996}],"notify_list":[],"created_at":"2024-09-30T17:24:52.542207+00:00","modified_at":"2024-09-30T17:24:52.542207+00:00","experience_type":"default","restricted_roles":[]} + body: '{"id":"w86-twq-ev8","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1731611532","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/w86-twq-ev8/test-createanewdashboardwithatoplistwidgetwithstackedtypeandnolegendspecified-17","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"name":"service","order":"asc","type":"group"}]}}],"style":{"display":{"type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":3350063402670726}],"notify_list":[],"created_at":"2024-11-14T19:12:14.232359+00:00","modified_at":"2024-11-14T19:12:14.232359+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2az-xeg-xar + url: https://api.datadoghq.com/api/v1/dashboard/w86-twq-ev8 response: - body: '{"deleted_dashboard_id":"2az-xeg-xar"} + body: '{"deleted_dashboard_id":"w86-twq-ev8"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.freeze index ce4feec432f..8f7441e1a8f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.freeze @@ -1 +1 @@ -2024-10-10T16:45:37.005Z \ No newline at end of file +2024-11-14T19:12:14.472Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.yaml index add23d012e7..6af86e63e71 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_graph_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") \u003e 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"type":"log alert"} + {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731611534","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") \u003e 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1731611534","env:ci"],"type":"log alert"} form: {} headers: Accept: @@ -12,12 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/monitor response: - body: '{"id":155845586,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","message":"some - message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"query":"logs(\"service:foo + body: '{"id":158261200,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731611534","message":"some + message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1731611534","env:ci"],"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") > 2","options":{"enable_logs_sample":true,"escalation_message":"the situation - has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578737000,"created":"2024-10-10T16:45:37.282544+00:00","modified":"2024-10-10T16:45:37.282544+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No - Data","creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com","id":1445416}} + has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1731611534000,"created":"2024-11-14T19:12:14.628076+00:00","modified":"2024-11-14T19:12:14.628076+00:00","deleted":null,"priority":3,"restricted_roles":null,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No + Data","creator":{"name":"Anika Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com","id":7557262}} ' code: 200 @@ -28,7 +28,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731611534","widgets":[{"definition":{"alert_id":"158261200","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -39,7 +39,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"9y7-dzu-fqr","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/9y7-dzu-fqr/test-createanewdashboardwithalertgraphwidget-1728578737","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":7729343486286001}],"notify_list":[],"created_at":"2024-10-10T16:45:37.490575+00:00","modified_at":"2024-10-10T16:45:37.490575+00:00","restricted_roles":[]} + body: '{"id":"7q4-96u-ti2","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731611534","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/7q4-96u-ti2/test-createanewdashboardwithalertgraphwidget-1731611534","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"158261200","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":3685747866525074}],"notify_list":[],"created_at":"2024-11-14T19:12:14.801797+00:00","modified_at":"2024-11-14T19:12:14.801797+00:00","restricted_roles":[]} ' code: 200 @@ -56,9 +57,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9y7-dzu-fqr + url: https://api.datadoghq.com/api/v1/dashboard/7q4-96u-ti2 response: - body: '{"deleted_dashboard_id":"9y7-dzu-fqr"} + body: '{"deleted_dashboard_id":"7q4-96u-ti2"} ' code: 200 @@ -75,9 +76,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/monitor/155845586 + url: https://api.datadoghq.com/api/v1/monitor/158261200 response: - body: '{"deleted_monitor_id":155845586} + body: '{"deleted_monitor_id":158261200} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.freeze index 05d13b090e4..0df93e0cbeb 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.freeze @@ -1 +1 @@ -2024-10-10T16:45:04.791Z \ No newline at end of file +2024-11-14T19:12:15.292Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.yaml index b933352dae4..483b537eca5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_alert_value_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") \u003e 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"type":"log alert"} + {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1731611535","options":{"enable_logs_sample":true,"escalation_message":"the situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") \u003e 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1731611535","env:ci"],"type":"log alert"} form: {} headers: Accept: @@ -12,12 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/monitor response: - body: '{"id":155845560,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","message":"some - message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"query":"logs(\"service:foo + body: '{"id":158261202,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1731611535","message":"some + message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1731611535","env:ci"],"query":"logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") > 2","options":{"enable_logs_sample":true,"escalation_message":"the situation - has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578705000,"created":"2024-10-10T16:45:05.062415+00:00","modified":"2024-10-10T16:45:05.062415+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No - Data","creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com","id":1445416}} + has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1731611535000,"created":"2024-11-14T19:12:15.443414+00:00","modified":"2024-11-14T19:12:15.443414+00:00","deleted":null,"priority":3,"restricted_roles":null,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No + Data","creator":{"name":"Anika Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com","id":7557262}} ' code: 200 @@ -28,7 +28,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1731611535","widgets":[{"definition":{"alert_id":"158261202","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]} form: {} headers: Accept: @@ -39,7 +39,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"78k-2dh-sr5","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/78k-2dh-sr5/test-createanewdashboardwithalertvaluewidget-1728578704","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0},"id":8549155363482992}],"notify_list":[],"created_at":"2024-10-10T16:45:05.293418+00:00","modified_at":"2024-10-10T16:45:05.293418+00:00","restricted_roles":[]} + body: '{"id":"qfp-5rn-svg","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1731611535","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/qfp-5rn-svg/test-createanewdashboardwithalertvaluewidget-1731611535","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"158261202","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0},"id":6589547869891789}],"notify_list":[],"created_at":"2024-11-14T19:12:15.636163+00:00","modified_at":"2024-11-14T19:12:15.636163+00:00","restricted_roles":[]} ' code: 200 @@ -56,9 +57,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/78k-2dh-sr5 + url: https://api.datadoghq.com/api/v1/dashboard/qfp-5rn-svg response: - body: '{"deleted_dashboard_id":"78k-2dh-sr5"} + body: '{"deleted_dashboard_id":"qfp-5rn-svg"} ' code: 200 @@ -75,9 +76,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/monitor/155845560 + url: https://api.datadoghq.com/api/v1/monitor/158261202 response: - body: '{"deleted_monitor_id":155845560} + body: '{"deleted_monitor_id":158261202} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.freeze index 61d4a381c3d..4229fd902a7 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.freeze @@ -1 +1 @@ -2022-01-06T00:50:28.127Z \ No newline at end of file +2024-11-14T19:12:16.099Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.yaml index 5d8d9652ad9..a74b74ec910 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_an_audit_logs_query.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1641430228 with Audit Logs Query","widgets":[{"definition":{"requests":[{"queries":[{"compute":{"aggregation":"count"},"data_source":"audit","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"timeseries"}],"type":"timeseries"},"layout":{"height":2,"width":4,"x":2,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731611536 with Audit Logs Query","widgets":[{"definition":{"requests":[{"queries":[{"compute":{"aggregation":"count"},"data_source":"audit","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"timeseries"}],"type":"timeseries"},"layout":{"height":2,"width":4,"x":2,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"gni-ma8-3tw","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1641430228 - with Audit Logs Query","url":"/dashboard/gni-ma8-3tw/test-createanewdashboardwithanauditlogsquery-1641430228-with-audit-logs-query","created_at":"2022-01-06T00:50:28.350927+00:00","modified_at":"2022-01-06T00:50:28.350927+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"response_format":"timeseries","queries":[{"search":{"query":""},"data_source":"audit","compute":{"aggregation":"count"},"name":"query1","indexes":["*"],"group_by":[]}]}],"type":"timeseries"},"layout":{"y":0,"width":4,"x":2,"height":2},"id":6324292938180360}],"layout_type":"ordered"}' + body: '{"id":"56n-3ai-i2r","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731611536 + with Audit Logs Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/56n-3ai-i2r/test-createanewdashboardwithanauditlogsquery-1731611536-with-audit-logs-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"queries":[{"compute":{"aggregation":"count"},"data_source":"audit","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"timeseries"}],"type":"timeseries"},"layout":{"height":2,"width":4,"x":2,"y":0},"id":6665463980370254}],"notify_list":null,"created_at":"2024-11-14T19:12:17.928159+00:00","modified_at":"2024-11-14T19:12:17.928159+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/gni-ma8-3tw + url: https://api.datadoghq.com/api/v1/dashboard/56n-3ai-i2r response: - body: '{"deleted_dashboard_id":"gni-ma8-3tw"}' + body: '{"deleted_dashboard_id":"56n-3ai-i2r"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze index 86685ea54b8..d832278ef70 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:28.626Z \ No newline at end of file +2024-11-14T19:12:18.187Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.yaml index 49e522ca1c1..e92aa1410c1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_dependency_stats_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1641430228","widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_dependency_stats","env":"ci","name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","resource_name":"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?","service":"cassandra","stat":"avg_duration"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731611538","widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_dependency_stats","env":"ci","name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","resource_name":"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?","service":"cassandra","stat":"avg_duration"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"z3x-s3a-d2f","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1641430228","url":"/dashboard/z3x-s3a-d2f/test-createanewdashboardwithapmdependencystatswidget-1641430228","created_at":"2022-01-06T00:50:28.828138+00:00","modified_at":"2022-01-06T00:50:28.828138+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_table","requests":[{"response_format":"scalar","queries":[{"primary_tag_value":"edge-eu1.prod.dog","stat":"avg_duration","data_source":"apm_dependency_stats","name":"query1","service":"cassandra","resource_name":"DELETE + body: '{"id":"u58-b3b-jgt","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731611538","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/u58-b3b-jgt/test-createanewdashboardwithapmdependencystatswidget-1731611538","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_dependency_stats","env":"ci","name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","resource_name":"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id - IN ? AND group = ?","env":"ci","primary_tag_name":"datacenter","operation_name":"cassandra.query"}]}],"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":4,"x":0,"height":4},"id":2344140518922967}],"layout_type":"ordered"}' + IN ? AND group = ?","service":"cassandra","stat":"avg_duration"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":3418036957728040}],"notify_list":null,"created_at":"2024-11-14T19:12:18.368023+00:00","modified_at":"2024-11-14T19:12:18.368023+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -29,9 +32,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/z3x-s3a-d2f + url: https://api.datadoghq.com/api/v1/dashboard/u58-b3b-jgt response: - body: '{"deleted_dashboard_id":"z3x-s3a-d2f"}' + body: '{"deleted_dashboard_id":"u58-b3b-jgt"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze index be8d05faf1c..043d27d642a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze @@ -1 +1 @@ -2022-09-22T14:46:14.443Z \ No newline at end of file +2024-11-14T19:12:19.128Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.yaml index aa829031d72..dedb235671b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1663857974 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1731611539 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"xhp-ymt-7mz","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1663857974 - with list_stream widget","url":"/dashboard/xhp-ymt-7mz/test-createanewdashboardwithapmissuestreamliststreamwidget-1663857974-with-lists","created_at":"2022-09-22T14:46:14.861195+00:00","modified_at":"2022-09-22T14:46:14.861195+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"apm_issue_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":8154733979358236}],"layout_type":"ordered"} + body: '{"id":"6qf-smy-7x5","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1731611539 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/6qf-smy-7x5/test-createanewdashboardwithapmissuestreamliststreamwidget-1731611539-with-lists","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":680563327364797}],"notify_list":null,"created_at":"2024-11-14T19:12:19.265744+00:00","modified_at":"2024-11-14T19:12:19.265744+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/xhp-ymt-7mz + url: https://api.datadoghq.com/api/v1/dashboard/6qf-smy-7x5 response: - body: '{"deleted_dashboard_id":"xhp-ymt-7mz"} + body: '{"deleted_dashboard_id":"6qf-smy-7x5"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.freeze index 707ac1a762e..7783b87e2b4 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:29.110Z \ No newline at end of file +2024-11-14T19:12:18.631Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.yaml index fcfe0ee70f5..bce1f804d0c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_apm_resource_stats_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1641430229","widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_resource_stats","env":"ci","group_by":["resource_name"],"name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","service":"cassandra","stat":"hits"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731611538","widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_resource_stats","env":"ci","group_by":["resource_name"],"name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","service":"cassandra","stat":"hits"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"cpv-tgq-6ui","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1641430229","url":"/dashboard/cpv-tgq-6ui/test-createanewdashboardwithapmresourcestatswidget-1641430229","created_at":"2022-01-06T00:50:29.319306+00:00","modified_at":"2022-01-06T00:50:29.319306+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"query_table","requests":[{"response_format":"scalar","queries":[{"primary_tag_value":"edge-eu1.prod.dog","stat":"hits","data_source":"apm_resource_stats","name":"query1","service":"cassandra","group_by":["resource_name"],"env":"ci","primary_tag_name":"datacenter","operation_name":"cassandra.query"}]}],"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":4,"x":0,"height":4},"id":8923865513771047}],"layout_type":"ordered"}' + body: '{"id":"x8c-a59-up4","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731611538","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/x8c-a59-up4/test-createanewdashboardwithapmresourcestatswidget-1731611538","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_resource_stats","env":"ci","group_by":["resource_name"],"name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","service":"cassandra","stat":"hits"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":2616835259044428}],"notify_list":null,"created_at":"2024-11-14T19:12:18.815289+00:00","modified_at":"2024-11-14T19:12:18.815289+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cpv-tgq-6ui + url: https://api.datadoghq.com/api/v1/dashboard/x8c-a59-up4 response: - body: '{"deleted_dashboard_id":"cpv-tgq-6ui"}' + body: '{"deleted_dashboard_id":"x8c-a59-up4"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.freeze index 4906508c424..491f9554ffa 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:29.613Z \ No newline at end of file +2024-11-14T19:12:19.499Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.yaml index 0484393e17f..d382b23eb5f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_check_status_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_check_status_widget-1641430229","widgets":[{"definition":{"check":"datadog.agent.up","grouping":"check","tags":["*"],"title_align":"left","title_size":"16","type":"check_status"},"layout":{"height":8,"width":15,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_check_status_widget-1731611539","widgets":[{"definition":{"check":"datadog.agent.up","grouping":"check","tags":["*"],"title_align":"left","title_size":"16","type":"check_status"},"layout":{"height":8,"width":15,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"baz-eax-3ka","title":"Test-Create_a_new_dashboard_with_check_status_widget-1641430229","url":"/dashboard/baz-eax-3ka/test-createanewdashboardwithcheckstatuswidget-1641430229","created_at":"2022-01-06T00:50:29.799432+00:00","modified_at":"2022-01-06T00:50:29.799432+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","tags":["*"],"title_align":"left","type":"check_status","check":"datadog.agent.up","grouping":"check"},"layout":{"y":0,"width":15,"x":0,"height":8},"id":3518672671182396}],"layout_type":"free"}' + body: '{"id":"vbg-22a-h5q","title":"Test-Create_a_new_dashboard_with_check_status_widget-1731611539","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/vbg-22a-h5q/test-createanewdashboardwithcheckstatuswidget-1731611539","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"check":"datadog.agent.up","grouping":"check","tags":["*"],"title_align":"left","title_size":"16","type":"check_status"},"layout":{"height":8,"width":15,"x":0,"y":0},"id":5653198180146562}],"notify_list":[],"created_at":"2024-11-14T19:12:19.614388+00:00","modified_at":"2024-11-14T19:12:19.614388+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/baz-eax-3ka + url: https://api.datadoghq.com/api/v1/dashboard/vbg-22a-h5q response: - body: '{"deleted_dashboard_id":"baz-eax-3ka"}' + body: '{"deleted_dashboard_id":"vbg-22a-h5q"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze index fb2dd877ac9..103c2a46245 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-03-02T20:37:14.366Z \ No newline at end of file +2024-11-14T19:12:19.870Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.yaml index d15b887d7b1..bdfb2bca9d0 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1677789434 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"ci_test_stream","query_string":"test_level:suite"},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1731611539 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"ci_test_stream","query_string":"test_level:suite"},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"mdr-2je-u6x","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1677789434 - with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/mdr-2je-u6x/test-createanewdashboardwithciteststreamliststreamwidget-1677789434-with-liststr","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"ci_test_stream","query_string":"test_level:suite"},"response_format":"event_list"}],"type":"list_stream"},"id":1680451278463569}],"notify_list":null,"created_at":"2023-03-02T20:37:14.537234+00:00","modified_at":"2023-03-02T20:37:14.537234+00:00","restricted_roles":[]} + body: '{"id":"vbw-9z8-3n6","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1731611539 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/vbw-9z8-3n6/test-createanewdashboardwithciteststreamliststreamwidget-1731611539-with-liststr","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"ci_test_stream","query_string":"test_level:suite"},"response_format":"event_list"}],"type":"list_stream"},"id":7816239097401544}],"notify_list":null,"created_at":"2024-11-14T19:12:19.996704+00:00","modified_at":"2024-11-14T19:12:19.996704+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/mdr-2je-u6x + url: https://api.datadoghq.com/api/v1/dashboard/vbw-9z8-3n6 response: - body: '{"deleted_dashboard_id":"mdr-2je-u6x"} + body: '{"deleted_dashboard_id":"vbw-9z8-3n6"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze index c366fd5e11e..37a1f4cb549 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze @@ -1 +1 @@ -2022-01-06T00:50:30.096Z \ No newline at end of file +2024-11-14T19:12:20.235Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.yaml index 95119857f7c..53b3fa9e609 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1641430230","widgets":[{"definition":{"requests":[{"apm_stats_query":{"env":"prod","name":"cassandra.query","primary_tag":"datacenter:dc1","row_type":"service","service":"cassandra"}}],"title":"","title_align":"left","title_size":"16","type":"distribution"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731611540","widgets":[{"definition":{"requests":[{"apm_stats_query":{"env":"prod","name":"cassandra.query","primary_tag":"datacenter:dc1","row_type":"service","service":"cassandra"}}],"title":"","title_align":"left","title_size":"16","type":"distribution"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"7yq-u4p-9qh","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1641430230","url":"/dashboard/7yq-u4p-9qh/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1641430230","created_at":"2022-01-06T00:50:30.283828+00:00","modified_at":"2022-01-06T00:50:30.283828+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"distribution","requests":[{"apm_stats_query":{"primary_tag":"datacenter:dc1","row_type":"service","name":"cassandra.query","service":"cassandra","env":"prod"}}],"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":4,"x":0,"height":4},"id":6766921978730305}],"layout_type":"ordered"}' + body: '{"id":"hvz-a5v-6fx","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731611540","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/hvz-a5v-6fx/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1731611540","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"apm_stats_query":{"env":"prod","name":"cassandra.query","primary_tag":"datacenter:dc1","row_type":"service","service":"cassandra"}}],"title":"","title_align":"left","title_size":"16","type":"distribution"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":893124335643854}],"notify_list":null,"created_at":"2024-11-14T19:12:20.407882+00:00","modified_at":"2024-11-14T19:12:20.407882+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7yq-u4p-9qh + url: https://api.datadoghq.com/api/v1/dashboard/hvz-a5v-6fx response: - body: '{"deleted_dashboard_id":"7yq-u4p-9qh"}' + body: '{"deleted_dashboard_id":"hvz-a5v-6fx"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze index b5d81941fc0..b18304cea4c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-02-08T16:18:06.266Z \ No newline at end of file +2024-11-14T19:12:20.645Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.yaml index 1fd4f1f074d..16f3e64e75c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1675873086 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1731611540 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"zmh-rud-g4b","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1675873086 - with list_stream widget","url":"/dashboard/zmh-rud-g4b/test-createanewdashboardwitheventstreamliststreamwidget-1675873086-with-liststre","created_at":"2023-02-08T16:18:06.512655+00:00","modified_at":"2023-02-08T16:18:06.512655+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"event_stream","event_size":"l"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":3303593204363469}],"layout_type":"ordered"} + body: '{"id":"isx-9sv-axt","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1731611540 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/isx-9sv-axt/test-createanewdashboardwitheventstreamliststreamwidget-1731611540-with-liststre","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":633928899210629}],"notify_list":null,"created_at":"2024-11-14T19:12:20.796146+00:00","modified_at":"2024-11-14T19:12:20.796146+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zmh-rud-g4b + url: https://api.datadoghq.com/api/v1/dashboard/isx-9sv-axt response: - body: '{"deleted_dashboard_id":"zmh-rud-g4b"} + body: '{"deleted_dashboard_id":"isx-9sv-axt"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.freeze index 50f40ed1164..bd4dca0739f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:30.857Z \ No newline at end of file +2024-11-14T19:12:21.032Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.yaml index f9c27aa2083..de0a7901288 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_stream_widget-1641430230","widgets":[{"definition":{"event_size":"s","query":"example-query","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_stream"},"layout":{"height":38,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_stream_widget-1731611541","widgets":[{"definition":{"event_size":"s","query":"example-query","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_stream"},"layout":{"height":38,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"2dc-bzm-gzi","title":"Test-Create_a_new_dashboard_with_event_stream_widget-1641430230","url":"/dashboard/2dc-bzm-gzi/test-createanewdashboardwitheventstreamwidget-1641430230","created_at":"2022-01-06T00:50:31.037679+00:00","modified_at":"2022-01-06T00:50:31.037679+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","tags_execution":"and","query":"example-query","type":"event_stream","event_size":"s"},"layout":{"y":0,"width":47,"x":0,"height":38},"id":5676594590872385}],"layout_type":"free"}' + body: '{"id":"j92-23a-929","title":"Test-Create_a_new_dashboard_with_event_stream_widget-1731611541","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/j92-23a-929/test-createanewdashboardwitheventstreamwidget-1731611541","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"event_size":"s","query":"example-query","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_stream"},"layout":{"height":38,"width":47,"x":0,"y":0},"id":5404510043206419}],"notify_list":[],"created_at":"2024-11-14T19:12:21.167451+00:00","modified_at":"2024-11-14T19:12:21.167451+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2dc-bzm-gzi + url: https://api.datadoghq.com/api/v1/dashboard/j92-23a-929 response: - body: '{"deleted_dashboard_id":"2dc-bzm-gzi"}' + body: '{"deleted_dashboard_id":"j92-23a-929"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.freeze index 59fa4a8ce42..2a484b2180c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:31.520Z \ No newline at end of file +2024-11-14T19:12:21.382Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.yaml index fe971a3d4e8..88bf8b70618 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_event_timeline_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1641430231","widgets":[{"definition":{"query":"status:error priority:all","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_timeline"},"layout":{"height":9,"width":47,"x":0,"y":0}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1731611541","widgets":[{"definition":{"query":"status:error priority:all","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_timeline"},"layout":{"height":9,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"8zb-e23-rdn","title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1641430231","url":"/dashboard/8zb-e23-rdn/test-createanewdashboardwitheventtimelinewidget-1641430231","created_at":"2022-01-06T00:50:31.676223+00:00","modified_at":"2022-01-06T00:50:31.676223+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","tags_execution":"and","query":"status:error - priority:all","type":"event_timeline"},"layout":{"y":0,"width":47,"x":0,"height":9},"id":3161433541540683}],"layout_type":"free"}' + body: '{"id":"i3x-7cz-cn3","title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1731611541","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/i3x-7cz-cn3/test-createanewdashboardwitheventtimelinewidget-1731611541","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"query":"status:error + priority:all","tags_execution":"and","title":"","title_align":"left","title_size":"16","type":"event_timeline"},"layout":{"height":9,"width":47,"x":0,"y":0},"id":2993493904946935}],"notify_list":[],"created_at":"2024-11-14T19:12:21.485271+00:00","modified_at":"2024-11-14T19:12:21.485271+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8zb-e23-rdn + url: https://api.datadoghq.com/api/v1/dashboard/i3x-7cz-cn3 response: - body: '{"deleted_dashboard_id":"8zb-e23-rdn"}' + body: '{"deleted_dashboard_id":"i3x-7cz-cn3"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze index 98f62dfd9b4..5dc1866ffb8 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze @@ -1 +1 @@ -2023-09-12T19:51:40.932Z \ No newline at end of file +2024-11-14T19:12:21.749Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.yaml index e41b65e7dc2..b49b13fce2a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formula_and_function_heatmap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1694548300","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1731611541","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"agm-reh-km8","title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1694548300","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/agm-reh-km8/test-createanewdashboardwithformulaandfunctionheatmapwidget-1694548300","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":658874190518028}],"notify_list":[],"created_at":"2023-09-12T19:51:41.163760+00:00","modified_at":"2023-09-12T19:51:41.163760+00:00","restricted_roles":[]} + body: '{"id":"pn9-3xt-h79","title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1731611541","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/pn9-3xt-h79/test-createanewdashboardwithformulaandfunctionheatmapwidget-1731611541","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":479413654119352}],"notify_list":[],"created_at":"2024-11-14T19:12:21.909777+00:00","modified_at":"2024-11-14T19:12:21.909777+00:00","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/agm-reh-km8 + url: https://api.datadoghq.com/api/v1/dashboard/pn9-3xt-h79 response: - body: '{"deleted_dashboard_id":"agm-reh-km8"} + body: '{"deleted_dashboard_id":"pn9-3xt-h79"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze index e53ed8444f2..79d95d78807 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:31.952Z \ No newline at end of file +2024-11-14T19:12:22.186Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.yaml index 71d66224fef..762cbcf5f29 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1641430231","widgets":[{"definition":{"requests":{"table":{"formulas":[{"alias":"my-query1","dimension":"x","formula":"query1"},{"alias":"my-query2","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} by {service}"}],"response_format":"scalar"}},"title":"","title_align":"left","title_size":"16","type":"scatterplot"},"id":5346764334358972,"layout":{"height":2,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731611542","widgets":[{"definition":{"requests":{"table":{"formulas":[{"alias":"my-query1","dimension":"x","formula":"query1"},{"alias":"my-query2","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} by {service}"}],"response_format":"scalar"}},"title":"","title_align":"left","title_size":"16","type":"scatterplot"},"id":5346764334358972,"layout":{"height":2,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"zct-37r-af2","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1641430231","url":"/dashboard/zct-37r-af2/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1641430231","created_at":"2022-01-06T00:50:32.173771+00:00","modified_at":"2022-01-06T00:50:32.173771+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"scatterplot","requests":{"table":{"formulas":[{"alias":"my-query1","dimension":"x","formula":"query1"},{"alias":"my-query2","dimension":"y","formula":"query2"}],"response_format":"scalar","queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + body: '{"id":"pve-j2y-xxt","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731611542","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/pve-j2y-xxt/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1731611542","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":{"table":{"formulas":[{"alias":"my-query1","dimension":"x","formula":"query1"},{"alias":"my-query2","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} - by {service}"}]}},"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":4,"x":0,"height":2},"id":5346764334358972}],"layout_type":"ordered"}' + by {service}"}],"response_format":"scalar"}},"title":"","title_align":"left","title_size":"16","type":"scatterplot"},"id":5346764334358972,"layout":{"height":2,"width":4,"x":0,"y":0}}],"notify_list":null,"created_at":"2024-11-14T19:12:22.422938+00:00","modified_at":"2024-11-14T19:12:22.422938+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -29,9 +32,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zct-37r-af2 + url: https://api.datadoghq.com/api/v1/dashboard/pve-j2y-xxt response: - body: '{"deleted_dashboard_id":"zct-37r-af2"}' + body: '{"deleted_dashboard_id":"pve-j2y-xxt"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.freeze index 11ca259e700..62739b46432 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:32.461Z \ No newline at end of file +2024-11-14T19:12:22.672Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.yaml index 79d5864a474..44ee7d0cd77 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_free_text_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_free_text_widget-1641430232","widgets":[{"definition":{"color":"#4d4d4d","font_size":"auto","text":"Example free text","text_align":"left","type":"free_text"},"layout":{"height":6,"width":24,"x":0,"y":0}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_free_text_widget-1731611542","widgets":[{"definition":{"color":"#4d4d4d","font_size":"auto","text":"Example free text","text_align":"left","type":"free_text"},"layout":{"height":6,"width":24,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"d55-4cs-38k","title":"Test-Create_a_new_dashboard_with_free_text_widget-1641430232","url":"/dashboard/d55-4cs-38k/test-createanewdashboardwithfreetextwidget-1641430232","created_at":"2022-01-06T00:50:32.631852+00:00","modified_at":"2022-01-06T00:50:32.631852+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"color":"#4d4d4d","text":"Example - free text","font_size":"auto","text_align":"left","type":"free_text"},"layout":{"y":0,"width":24,"x":0,"height":6},"id":5625839222691607}],"layout_type":"free"}' + body: '{"id":"th4-kf6-2wb","title":"Test-Create_a_new_dashboard_with_free_text_widget-1731611542","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/th4-kf6-2wb/test-createanewdashboardwithfreetextwidget-1731611542","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"color":"#4d4d4d","font_size":"auto","text":"Example + free text","text_align":"left","type":"free_text"},"layout":{"height":6,"width":24,"x":0,"y":0},"id":3975450487298464}],"notify_list":[],"created_at":"2024-11-14T19:12:22.794244+00:00","modified_at":"2024-11-14T19:12:22.794244+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/d55-4cs-38k + url: https://api.datadoghq.com/api/v1/dashboard/th4-kf6-2wb response: - body: '{"deleted_dashboard_id":"d55-4cs-38k"}' + body: '{"deleted_dashboard_id":"th4-kf6-2wb"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.freeze index 575dd36dea6..02e0753556e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:32.911Z \ No newline at end of file +2024-11-14T19:12:23.046Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.yaml index ebb3373c049..44b91cf2294 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_funnel_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_funnel_widget-1641430232 with funnel widget","widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","query_string":"","steps":[]},"request_type":"funnel"}],"type":"funnel"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_funnel_widget-1731611543 with funnel widget","widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","query_string":"","steps":[]},"request_type":"funnel"}],"type":"funnel"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"2n6-br7-kwr","title":"Test-Create_a_new_dashboard_with_funnel_widget-1641430232 - with funnel widget","url":"/dashboard/2n6-br7-kwr/test-createanewdashboardwithfunnelwidget-1641430232-with-funnel-widget","created_at":"2022-01-06T00:50:33.082701+00:00","modified_at":"2022-01-06T00:50:33.082701+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"rum","steps":[]},"request_type":"funnel"}],"type":"funnel"},"id":5380342825148909}],"layout_type":"ordered"}' + body: '{"id":"zta-rqr-z7r","title":"Test-Create_a_new_dashboard_with_funnel_widget-1731611543 + with funnel widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/zta-rqr-z7r/test-createanewdashboardwithfunnelwidget-1731611543-with-funnel-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","query_string":"","steps":[]},"request_type":"funnel"}],"type":"funnel"},"id":3177333241748468}],"notify_list":null,"created_at":"2024-11-14T19:12:23.172576+00:00","modified_at":"2024-11-14T19:12:23.172576+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2n6-br7-kwr + url: https://api.datadoghq.com/api/v1/dashboard/zta-rqr-z7r response: - body: '{"deleted_dashboard_id":"2n6-br7-kwr"}' + body: '{"deleted_dashboard_id":"zta-rqr-z7r"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.freeze index 41f51372bbb..9b4feb601ec 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.freeze @@ -1 +1 @@ -2024-05-15T20:07:40.997Z \ No newline at end of file +2024-11-14T19:12:23.432Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.yaml index ab17f29fb06..314cc0ded09 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_geomap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_geomap_widget-1715803660","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","group_by":[{"facet":"@geo.country_iso_code","limit":250,"sort":{"aggregation":"count","order":"desc"}}],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar","sort":{"count":250,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":30,"width":47,"x":0,"y":0}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_geomap_widget-1731611543","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","group_by":[{"facet":"@geo.country_iso_code","limit":250,"sort":{"aggregation":"count","order":"desc"}}],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar","sort":{"count":250,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":30,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"38d-vt6-cf9","title":"Test-Create_a_new_dashboard_with_geomap_widget-1715803660","description":null,"author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"free","url":"/dashboard/38d-vt6-cf9/test-createanewdashboardwithgeomapwidget-1715803660","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","group_by":[{"facet":"@geo.country_iso_code","limit":250,"sort":{"aggregation":"count","order":"desc"}}],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar","sort":{"count":250,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":30,"width":47,"x":0,"y":0},"id":2497706086149326}],"notify_list":[],"created_at":"2024-05-15T20:07:41.236839+00:00","modified_at":"2024-05-15T20:07:41.236839+00:00","restricted_roles":[]} + body: '{"id":"zfg-33v-zgb","title":"Test-Create_a_new_dashboard_with_geomap_widget-1731611543","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/zfg-33v-zgb/test-createanewdashboardwithgeomapwidget-1731611543","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"rum","group_by":[{"facet":"@geo.country_iso_code","limit":250,"sort":{"aggregation":"count","order":"desc"}}],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar","sort":{"count":250,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"palette":"hostmap_blues","palette_flip":false},"time":{},"title":"","title_align":"left","title_size":"16","type":"geomap","view":{"focus":"WORLD"}},"layout":{"height":30,"width":47,"x":0,"y":0},"id":5382084722873723}],"notify_list":[],"created_at":"2024-11-14T19:12:23.594185+00:00","modified_at":"2024-11-14T19:12:23.594185+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/38d-vt6-cf9 + url: https://api.datadoghq.com/api/v1/dashboard/zfg-33v-zgb response: - body: '{"deleted_dashboard_id":"38d-vt6-cf9"} + body: '{"deleted_dashboard_id":"zfg-33v-zgb"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.freeze index febf72a1dd5..ea2e812f90a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:33.850Z \ No newline at end of file +2024-11-14T19:12:23.844Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.yaml index 574fe8da023..38d16eb5eab 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_heatmap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_heatmap_widget-1641430233","widgets":[{"definition":{"requests":[{"q":"avg:system.cpu.user{*} by {service}","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_heatmap_widget-1731611543","widgets":[{"definition":{"requests":[{"q":"avg:system.cpu.user{*} by {service}","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"itn-x76-j9p","title":"Test-Create_a_new_dashboard_with_heatmap_widget-1641430233","url":"/dashboard/itn-x76-j9p/test-createanewdashboardwithheatmapwidget-1641430233","created_at":"2022-01-06T00:50:34.035679+00:00","modified_at":"2022-01-06T00:50:34.035679+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","time":{},"requests":[{"q":"avg:system.cpu.user{*} - by {service}","style":{"palette":"dog_classic"}}],"type":"heatmap"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":3967109255591210}],"layout_type":"free"}' + body: '{"id":"m55-nbe-fb2","title":"Test-Create_a_new_dashboard_with_heatmap_widget-1731611543","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/m55-nbe-fb2/test-createanewdashboardwithheatmapwidget-1731611543","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"q":"avg:system.cpu.user{*} + by {service}","style":{"palette":"dog_classic"}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"heatmap"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":3468862583321901}],"notify_list":[],"created_at":"2024-11-14T19:12:24.011974+00:00","modified_at":"2024-11-14T19:12:24.011974+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/itn-x76-j9p + url: https://api.datadoghq.com/api/v1/dashboard/m55-nbe-fb2 response: - body: '{"deleted_dashboard_id":"itn-x76-j9p"}' + body: '{"deleted_dashboard_id":"m55-nbe-fb2"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.freeze index 0f5d3b4327b..f71f21be5f5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:34.331Z \ No newline at end of file +2024-11-14T19:12:24.261Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.yaml index ba1d4436e2b..0bb5124fd38 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_hostmap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_hostmap_widget-1641430234","widgets":[{"definition":{"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.user{*} by {host}"}},"style":{"palette":"green_to_orange","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"hostmap"},"layout":{"height":22,"width":47,"x":0,"y":0}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_hostmap_widget-1731611544","widgets":[{"definition":{"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.user{*} by {host}"}},"style":{"palette":"green_to_orange","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"hostmap"},"layout":{"height":22,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"sjt-c5e-sir","title":"Test-Create_a_new_dashboard_with_hostmap_widget-1641430234","url":"/dashboard/sjt-c5e-sir/test-createanewdashboardwithhostmapwidget-1641430234","created_at":"2022-01-06T00:50:34.551060+00:00","modified_at":"2022-01-06T00:50:34.551060+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"style":{"palette":"green_to_orange","palette_flip":false},"title_size":"16","title":"","title_align":"left","node_type":"host","no_metric_hosts":true,"requests":{"fill":{"q":"avg:system.cpu.user{*} - by {host}"}},"no_group_hosts":true,"type":"hostmap"},"layout":{"y":0,"width":47,"x":0,"height":22},"id":7704723778867726}],"layout_type":"free"}' + body: '{"id":"m3c-vup-t7s","title":"Test-Create_a_new_dashboard_with_hostmap_widget-1731611544","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/m3c-vup-t7s/test-createanewdashboardwithhostmapwidget-1731611544","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"no_group_hosts":true,"no_metric_hosts":true,"node_type":"host","requests":{"fill":{"q":"avg:system.cpu.user{*} + by {host}"}},"style":{"palette":"green_to_orange","palette_flip":false},"title":"","title_align":"left","title_size":"16","type":"hostmap"},"layout":{"height":22,"width":47,"x":0,"y":0},"id":142423722512604}],"notify_list":[],"created_at":"2024-11-14T19:12:24.459149+00:00","modified_at":"2024-11-14T19:12:24.459149+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/sjt-c5e-sir + url: https://api.datadoghq.com/api/v1/dashboard/m3c-vup-t7s response: - body: '{"deleted_dashboard_id":"sjt-c5e-sir"}' + body: '{"deleted_dashboard_id":"m3c-vup-t7s"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.freeze index d68f1b0cfd6..d686165468d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:34.842Z \ No newline at end of file +2024-11-14T19:12:24.735Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.yaml index 20d48e91bb9..520f2e0104e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_iframe_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_iframe_widget-1641430234","widgets":[{"definition":{"type":"iframe","url":"https://docs.datadoghq.com/api/latest/"},"layout":{"height":12,"width":12,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_iframe_widget-1731611544","widgets":[{"definition":{"type":"iframe","url":"https://docs.datadoghq.com/api/latest/"},"layout":{"height":12,"width":12,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"udq-5td-jif","title":"Test-Create_a_new_dashboard_with_iframe_widget-1641430234","url":"/dashboard/udq-5td-jif/test-createanewdashboardwithiframewidget-1641430234","created_at":"2022-01-06T00:50:35.006333+00:00","modified_at":"2022-01-06T00:50:35.006333+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"url":"https://docs.datadoghq.com/api/latest/","type":"iframe"},"layout":{"y":0,"width":12,"x":0,"height":12},"id":4318913911937946}],"layout_type":"free"}' + body: '{"id":"az3-9m4-ywf","title":"Test-Create_a_new_dashboard_with_iframe_widget-1731611544","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/az3-9m4-ywf/test-createanewdashboardwithiframewidget-1731611544","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"type":"iframe","url":"https://docs.datadoghq.com/api/latest/"},"layout":{"height":12,"width":12,"x":0,"y":0},"id":3286517205333846}],"notify_list":[],"created_at":"2024-11-14T19:12:24.844136+00:00","modified_at":"2024-11-14T19:12:24.844136+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/udq-5td-jif + url: https://api.datadoghq.com/api/v1/dashboard/az3-9m4-ywf response: - body: '{"deleted_dashboard_id":"udq-5td-jif"}' + body: '{"deleted_dashboard_id":"az3-9m4-ywf"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.freeze index 0bf41f9a7b5..a2fa3554f5c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:35.872Z \ No newline at end of file +2024-11-14T19:12:25.098Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.yaml index f7fd92a1571..32fdc6c4681 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_image_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_image_widget-1641430235","widgets":[{"definition":{"sizing":"cover","type":"image","url":"https://example.com/image.png"},"layout":{"height":12,"width":12,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_image_widget-1731611545","widgets":[{"definition":{"sizing":"cover","type":"image","url":"https://example.com/image.png"},"layout":{"height":12,"width":12,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"6qb-v3p-rrv","title":"Test-Create_a_new_dashboard_with_image_widget-1641430235","url":"/dashboard/6qb-v3p-rrv/test-createanewdashboardwithimagewidget-1641430235","created_at":"2022-01-06T00:50:36.031687+00:00","modified_at":"2022-01-06T00:50:36.031687+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"sizing":"cover","url":"https://example.com/image.png","type":"image"},"layout":{"y":0,"width":12,"x":0,"height":12},"id":4480145637940282}],"layout_type":"free"}' + body: '{"id":"kau-9fb-ghy","title":"Test-Create_a_new_dashboard_with_image_widget-1731611545","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/kau-9fb-ghy/test-createanewdashboardwithimagewidget-1731611545","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"sizing":"cover","type":"image","url":"https://example.com/image.png"},"layout":{"height":12,"width":12,"x":0,"y":0},"id":4997431125308733}],"notify_list":[],"created_at":"2024-11-14T19:12:26.585068+00:00","modified_at":"2024-11-14T19:12:26.585068+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/6qb-v3p-rrv + url: https://api.datadoghq.com/api/v1/dashboard/kau-9fb-ghy response: - body: '{"deleted_dashboard_id":"6qb-v3p-rrv"}' + body: '{"deleted_dashboard_id":"kau-9fb-ghy"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze index f42aca7bd61..0394c4ff437 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2023-03-08T22:44:59.472Z \ No newline at end of file +2024-11-14T19:12:26.860Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.yaml index 219ab62929d..42bd04858ed 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","tags":["tm:foobar"],"title":"Test-Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response-1678315499","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","tags":["tm:foobar"],"title":"Test-Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response-1731611546","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.freeze index 6b74fa7c9dc..79c6d99bbed 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.freeze @@ -1 +1 @@ -2022-04-19T09:27:28.961Z \ No newline at end of file +2024-11-14T19:12:26.943Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.yaml index 47c27cabbe3..58bb1805953 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1650360448 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1731611546 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"8qi-cen-xbg","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1650360448 - with list_stream widget","url":"/dashboard/8qi-cen-xbg/test-createanewdashboardwithliststreamwidget-1650360448-with-liststream-widget","created_at":"2022-04-19T09:27:29.277529+00:00","modified_at":"2022-04-19T09:27:29.277529+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"apm_issue_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":8256654551182209}],"layout_type":"ordered"}' + body: '{"id":"ma4-5ie-2j7","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1731611546 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/ma4-5ie-2j7/test-createanewdashboardwithliststreamwidget-1731611546-with-liststream-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":6991546772131646}],"notify_list":null,"created_at":"2024-11-14T19:12:27.070407+00:00","modified_at":"2024-11-14T19:12:27.070407+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8qi-cen-xbg + url: https://api.datadoghq.com/api/v1/dashboard/ma4-5ie-2j7 response: - body: '{"deleted_dashboard_id":"8qi-cen-xbg"}' + body: '{"deleted_dashboard_id":"ma4-5ie-2j7"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze index 8c38607db9a..3c9d4d248ae 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze @@ -1 +1 @@ -2023-05-31T17:12:24.532Z \ No newline at end of file +2024-11-14T19:12:27.325Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.yaml index e4b7c818a9d..c926ee0dae1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1685553144 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"asc"}},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1731611547 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"asc"}},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"td2-he3-3vj","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1685553144 - with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/td2-he3-3vj/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterasc-168555314","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"asc"}},"response_format":"event_list"}],"type":"list_stream"},"id":4579982797049164}],"notify_list":null,"created_at":"2023-05-31T17:12:24.700217+00:00","modified_at":"2023-05-31T17:12:24.700217+00:00","restricted_roles":[]} + body: '{"id":"n3x-b6f-m4t","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1731611547 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/n3x-b6f-m4t/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterasc-173161154","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"asc"}},"response_format":"event_list"}],"type":"list_stream"},"id":7419137925938597}],"notify_list":null,"created_at":"2024-11-14T19:12:27.456034+00:00","modified_at":"2024-11-14T19:12:27.456034+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/td2-he3-3vj + url: https://api.datadoghq.com/api/v1/dashboard/n3x-b6f-m4t response: - body: '{"deleted_dashboard_id":"td2-he3-3vj"} + body: '{"deleted_dashboard_id":"n3x-b6f-m4t"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze index e69b46cc674..0b1410ad375 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze @@ -1 +1 @@ -2023-05-31T17:12:24.923Z \ No newline at end of file +2024-11-14T19:12:27.718Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.yaml index fd9b42b6619..6ea29fc0f6c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1685553144 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"desc"}},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1731611547 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"desc"}},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"mwn-7ph-8z8","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1685553144 - with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/mwn-7ph-8z8/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterdesc-16855531","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"desc"}},"response_format":"event_list"}],"type":"list_stream"},"id":8830087860290510}],"notify_list":null,"created_at":"2023-05-31T17:12:25.020023+00:00","modified_at":"2023-05-31T17:12:25.020023+00:00","restricted_roles":[]} + body: '{"id":"2sk-pz4-gv6","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1731611547 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/2sk-pz4-gv6/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterdesc-17316115","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"event_stream","event_size":"l","query_string":"","sort":{"column":"timestamp","order":"desc"}},"response_format":"event_list"}],"type":"list_stream"},"id":7607126425701824}],"notify_list":null,"created_at":"2024-11-14T19:12:27.856660+00:00","modified_at":"2024-11-14T19:12:27.856660+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/mwn-7ph-8z8 + url: https://api.datadoghq.com/api/v1/dashboard/2sk-pz4-gv6 response: - body: '{"deleted_dashboard_id":"mwn-7ph-8z8"} + body: '{"deleted_dashboard_id":"2sk-pz4-gv6"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze index 379a35d8336..5cc6e477bcc 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze @@ -1 +1 @@ -2024-10-15T21:46:06.749Z \ No newline at end of file +2024-11-14T19:12:28.087Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.yaml index 779891528c2..368152bb813 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1729028766 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"@status","width":"compact"},{"field":"@content.prompt","width":"auto"},{"field":"@content.response.content","width":"auto"},{"field":"timestamp","width":"auto"},{"field":"@ml_app","width":"auto"},{"field":"service","width":"auto"},{"field":"@meta.evaluations.quality","width":"auto"},{"field":"@meta.evaluations.security","width":"auto"},{"field":"@duration","width":"auto"}],"query":{"data_source":"llm_observability_stream","indexes":[],"query_string":"@event_type:span @parent_id:undefined"},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1731611548 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"@status","width":"compact"},{"field":"@content.prompt","width":"auto"},{"field":"@content.response.content","width":"auto"},{"field":"timestamp","width":"auto"},{"field":"@ml_app","width":"auto"},{"field":"service","width":"auto"},{"field":"@meta.evaluations.quality","width":"auto"},{"field":"@meta.evaluations.security","width":"auto"},{"field":"@duration","width":"auto"}],"query":{"data_source":"llm_observability_stream","indexes":[],"query_string":"@event_type:span @parent_id:undefined"},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,10 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"k3w-qcg-ug8","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1729028766 - with list_stream widget","description":null,"author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"ordered","url":"/dashboard/k3w-qcg-ug8/test-createanewdashboardwithllmobservabilitystreamliststreamwidget-1729028766-wi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"@status","width":"compact"},{"field":"@content.prompt","width":"auto"},{"field":"@content.response.content","width":"auto"},{"field":"timestamp","width":"auto"},{"field":"@ml_app","width":"auto"},{"field":"service","width":"auto"},{"field":"@meta.evaluations.quality","width":"auto"},{"field":"@meta.evaluations.security","width":"auto"},{"field":"@duration","width":"auto"}],"query":{"data_source":"llm_observability_stream","indexes":[],"query_string":"@event_type:span - @parent_id:undefined"},"response_format":"event_list"}],"type":"list_stream"},"id":8221646523831060}],"notify_list":null,"created_at":"2024-10-15T21:46:06.954265+00:00","modified_at":"2024-10-15T21:46:06.954265+00:00","restricted_roles":[]} + body: '{"id":"q5w-24v-wij","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1731611548 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/q5w-24v-wij/test-createanewdashboardwithllmobservabilitystreamliststreamwidget-1731611548-wi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"@status","width":"compact"},{"field":"@content.prompt","width":"auto"},{"field":"@content.response.content","width":"auto"},{"field":"timestamp","width":"auto"},{"field":"@ml_app","width":"auto"},{"field":"service","width":"auto"},{"field":"@meta.evaluations.quality","width":"auto"},{"field":"@meta.evaluations.security","width":"auto"},{"field":"@duration","width":"auto"}],"query":{"data_source":"llm_observability_stream","indexes":[],"query_string":"@event_type:span + @parent_id:undefined"},"response_format":"event_list"}],"type":"list_stream"},"id":4030641646825660}],"notify_list":null,"created_at":"2024-11-14T19:12:28.223657+00:00","modified_at":"2024-11-14T19:12:28.223657+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +32,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/k3w-qcg-ug8 + url: https://api.datadoghq.com/api/v1/dashboard/q5w-24v-wij response: - body: '{"deleted_dashboard_id":"k3w-qcg-ug8"} + body: '{"deleted_dashboard_id":"q5w-24v-wij"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.freeze index 373a2345e4e..ae73074e04a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:36.787Z \ No newline at end of file +2024-11-14T19:12:28.541Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.yaml index 972dbf00c93..087e7cce063 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_log_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_log_stream_widget-1641430236","widgets":[{"definition":{"columns":["host","service"],"indexes":["main"],"message_display":"expanded-md","query":"","show_date_column":true,"show_message_column":true,"sort":{"column":"time","order":"desc"},"title":"","title_align":"left","title_size":"16","type":"log_stream"},"layout":{"height":36,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_log_stream_widget-1731611548","widgets":[{"definition":{"columns":["host","service"],"indexes":["main"],"message_display":"expanded-md","query":"","show_date_column":true,"show_message_column":true,"sort":{"column":"time","order":"desc"},"title":"","title_align":"left","title_size":"16","type":"log_stream"},"layout":{"height":36,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"ge2-n5p-cnd","title":"Test-Create_a_new_dashboard_with_log_stream_widget-1641430236","url":"/dashboard/ge2-n5p-cnd/test-createanewdashboardwithlogstreamwidget-1641430236","created_at":"2022-01-06T00:50:36.957558+00:00","modified_at":"2022-01-06T00:50:36.957558+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"sort":{"column":"time","order":"desc"},"show_message_column":true,"title_size":"16","title":"","title_align":"left","message_display":"expanded-md","indexes":["main"],"show_date_column":true,"query":"","type":"log_stream","columns":["host","service"]},"layout":{"y":0,"width":47,"x":0,"height":36},"id":853406405411463}],"layout_type":"free"}' + body: '{"id":"ehu-t86-88d","title":"Test-Create_a_new_dashboard_with_log_stream_widget-1731611548","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/ehu-t86-88d/test-createanewdashboardwithlogstreamwidget-1731611548","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"columns":["host","service"],"indexes":["main"],"message_display":"expanded-md","query":"","show_date_column":true,"show_message_column":true,"sort":{"column":"time","order":"desc"},"title":"","title_align":"left","title_size":"16","type":"log_stream"},"layout":{"height":36,"width":47,"x":0,"y":0},"id":3386822752996121}],"notify_list":[],"created_at":"2024-11-14T19:12:28.641489+00:00","modified_at":"2024-11-14T19:12:28.641489+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ge2-n5p-cnd + url: https://api.datadoghq.com/api/v1/dashboard/ehu-t86-88d response: - body: '{"deleted_dashboard_id":"ge2-n5p-cnd"}' + body: '{"deleted_dashboard_id":"ehu-t86-88d"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze index 2c74d6243dd..04536bca733 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-01-13T16:43:57.804Z \ No newline at end of file +2024-11-14T19:12:29.279Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.yaml index ef2c5b903a8..d13e88ed26a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1673628237 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_pattern_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1731611549 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_pattern_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"vqp-zrn-fki","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1673628237 - with list_stream widget","url":"/dashboard/vqp-zrn-fki/test-createanewdashboardwithlogspatternstreamliststreamwidget-1673628237-with-li","created_at":"2023-01-13T16:43:57.974008+00:00","modified_at":"2023-01-13T16:43:57.974008+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","group_by":[{"facet":"service"}],"data_source":"logs_pattern_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":8006246428423069}],"layout_type":"ordered"} + body: '{"id":"xht-7tn-3si","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1731611549 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/xht-7tn-3si/test-createanewdashboardwithlogspatternstreamliststreamwidget-1731611549-with-li","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_pattern_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":3825798675008332}],"notify_list":null,"created_at":"2024-11-14T19:12:29.422196+00:00","modified_at":"2024-11-14T19:12:29.422196+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vqp-zrn-fki + url: https://api.datadoghq.com/api/v1/dashboard/xht-7tn-3si response: - body: '{"deleted_dashboard_id":"vqp-zrn-fki"} + body: '{"deleted_dashboard_id":"xht-7tn-3si"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze index b93cde46076..9fc5626d3b5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze @@ -1 +1 @@ -2024-05-15T20:07:41.518Z \ No newline at end of file +2024-11-14T19:12:28.873Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.yaml index b7ee9c50e26..7d826c7e314 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1715803661 with query table widget and storage parameter","widgets":[{"definition":{"requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""},"storage":"online_archives"}],"response_format":"scalar","sort":{"count":50,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"type":"query_table"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1731611548 with query table widget and storage parameter","widgets":[{"definition":{"requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""},"storage":"online_archives"}],"response_format":"scalar","sort":{"count":50,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"type":"query_table"}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"pps-yna-n2n","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1715803661 - with query table widget and storage parameter","description":null,"author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"ordered","url":"/dashboard/pps-yna-n2n/test-createanewdashboardwithlogsquerytablewidgetandstorageparameter-1715803661-w","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""},"storage":"online_archives"}],"response_format":"scalar","sort":{"count":50,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"type":"query_table"},"id":8781722139143844}],"notify_list":null,"created_at":"2024-05-15T20:07:41.693500+00:00","modified_at":"2024-05-15T20:07:41.693500+00:00","restricted_roles":[]} + body: '{"id":"cum-shp-mz2","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1731611548 + with query table widget and storage parameter","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/cum-shp-mz2/test-createanewdashboardwithlogsquerytablewidgetandstorageparameter-1731611548-w","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""},"storage":"online_archives"}],"response_format":"scalar","sort":{"count":50,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"type":"query_table"},"id":7464174593696253}],"notify_list":null,"created_at":"2024-11-14T19:12:29.025064+00:00","modified_at":"2024-11-14T19:12:29.025064+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pps-yna-n2n + url: https://api.datadoghq.com/api/v1/dashboard/cum-shp-mz2 response: - body: '{"deleted_dashboard_id":"pps-yna-n2n"} + body: '{"deleted_dashboard_id":"cum-shp-mz2"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze index 236115949d3..b400e730ba1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze @@ -1 +1 @@ -2022-09-22T15:06:54.976Z \ No newline at end of file +2024-11-14T19:12:29.695Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.yaml index dba6cc7f729..a6815a52856 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1663859214 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_stream","query_string":"","storage":"hot"},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1731611549 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_stream","query_string":"","storage":"hot"},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"4w4-hsv-5rr","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1663859214 - with list_stream widget","url":"/dashboard/4w4-hsv-5rr/test-createanewdashboardwithlogsstreamliststreamwidgetandstorageparameter-166385","created_at":"2022-09-22T15:06:55.408450+00:00","modified_at":"2022-09-22T15:06:55.408450+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"logs_stream","storage":"hot"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":4554037011373131}],"layout_type":"ordered"} + body: '{"id":"u2y-5dh-mxx","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1731611549 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/u2y-5dh-mxx/test-createanewdashboardwithlogsstreamliststreamwidgetandstorageparameter-173161","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"logs_stream","query_string":"","storage":"hot"},"response_format":"event_list"}],"type":"list_stream"},"id":2341700770963801}],"notify_list":null,"created_at":"2024-11-14T19:12:29.821235+00:00","modified_at":"2024-11-14T19:12:29.821235+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/4w4-hsv-5rr + url: https://api.datadoghq.com/api/v1/dashboard/u2y-5dh-mxx response: - body: '{"deleted_dashboard_id":"4w4-hsv-5rr"} + body: '{"deleted_dashboard_id":"u2y-5dh-mxx"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze index 58383d7a8be..0b7120dba79 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-01-13T16:43:58.213Z \ No newline at end of file +2024-11-14T19:12:30.139Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.yaml index b05be65b9a1..a1ce57bcb5e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1673628238 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"compute":[{"aggregation":"count","facet":"service"}],"data_source":"logs_transaction_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1731611550 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"compute":[{"aggregation":"count","facet":"service"}],"data_source":"logs_transaction_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"89c-p48-tve","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1673628238 - with list_stream widget","url":"/dashboard/89c-p48-tve/test-createanewdashboardwithlogstransactionstreamliststreamwidget-1673628238-wit","created_at":"2023-01-13T16:43:58.328143+00:00","modified_at":"2023-01-13T16:43:58.328143+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","group_by":[{"facet":"service"}],"data_source":"logs_transaction_stream","compute":[{"facet":"service","aggregation":"count"}]},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":4678220055282526}],"layout_type":"ordered"} + body: '{"id":"yp5-u4f-myz","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1731611550 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/yp5-u4f-myz/test-createanewdashboardwithlogstransactionstreamliststreamwidget-1731611550-wit","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"compute":[{"aggregation":"count","facet":"service"}],"data_source":"logs_transaction_stream","group_by":[{"facet":"service"}],"query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":7241154271346052}],"notify_list":null,"created_at":"2024-11-14T19:12:30.290344+00:00","modified_at":"2024-11-14T19:12:30.290344+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/89c-p48-tve + url: https://api.datadoghq.com/api/v1/dashboard/yp5-u4f-myz response: - body: '{"deleted_dashboard_id":"89c-p48-tve"} + body: '{"deleted_dashboard_id":"yp5-u4f-myz"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.freeze index 7215ae962f4..19f51beab76 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:37.248Z \ No newline at end of file +2024-11-14T19:12:30.526Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.yaml index a969f981a29..13fdc43127a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget-1641430237","widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"sort":"status,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget-1731611550","widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"sort":"status,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"6zr-swm-ex4","title":"Test-Create_a_new_dashboard_with_manage_status_widget-1641430237","url":"/dashboard/6zr-swm-ex4/test-createanewdashboardwithmanagestatuswidget-1641430237","created_at":"2022-01-06T00:50:37.426709+00:00","modified_at":"2022-01-06T00:50:37.426709+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"count":50,"sort":"status,asc","color_preference":"text","hide_zero_counts":true,"start":0,"summary_type":"monitors","show_last_triggered":false,"query":"","display_format":"countsAndList","type":"manage_status"},"layout":{"y":0,"width":50,"x":0,"height":25},"id":1230468048601368}],"layout_type":"free"}' + body: '{"id":"4gd-vwv-ksd","title":"Test-Create_a_new_dashboard_with_manage_status_widget-1731611550","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/4gd-vwv-ksd/test-createanewdashboardwithmanagestatuswidget-1731611550","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"sort":"status,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0},"id":7726390517396795}],"notify_list":[],"created_at":"2024-11-14T19:12:30.649609+00:00","modified_at":"2024-11-14T19:12:30.649609+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/6zr-swm-ex4 + url: https://api.datadoghq.com/api/v1/dashboard/4gd-vwv-ksd response: - body: '{"deleted_dashboard_id":"6zr-swm-ex4"}' + body: '{"deleted_dashboard_id":"4gd-vwv-ksd"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze index d4c93114e5d..d693baaa3d1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze @@ -1 +1 @@ -2022-08-12T17:10:43.185Z \ No newline at end of file +2024-11-14T19:12:30.924Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.yaml index 76580c8d424..1cf1c9ccc60 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1660324243","widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"show_priority":false,"sort":"priority,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1731611550","widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"show_priority":false,"sort":"priority,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"a28-2ea-xeq","title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1660324243","url":"/dashboard/a28-2ea-xeq/test-createanewdashboardwithmanagestatuswidgetandshowpriorityparameter-166032424","created_at":"2022-08-12T17:10:43.357911+00:00","modified_at":"2022-08-12T17:10:43.357911+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"count":50,"sort":"priority,asc","color_preference":"text","show_priority":false,"hide_zero_counts":true,"start":0,"summary_type":"monitors","show_last_triggered":false,"query":"","display_format":"countsAndList","type":"manage_status"},"layout":{"y":0,"width":50,"x":0,"height":25},"id":559045226435119}],"layout_type":"free"} + body: '{"id":"gx6-rx5-pm6","title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1731611550","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/gx6-rx5-pm6/test-createanewdashboardwithmanagestatuswidgetandshowpriorityparameter-173161155","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"color_preference":"text","count":50,"display_format":"countsAndList","hide_zero_counts":true,"query":"","show_last_triggered":false,"show_priority":false,"sort":"priority,asc","start":0,"summary_type":"monitors","type":"manage_status"},"layout":{"height":25,"width":50,"x":0,"y":0},"id":7049477000335202}],"notify_list":[],"created_at":"2024-11-14T19:12:31.037894+00:00","modified_at":"2024-11-14T19:12:31.037894+00:00","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/a28-2ea-xeq + url: https://api.datadoghq.com/api/v1/dashboard/gx6-rx5-pm6 response: - body: '{"deleted_dashboard_id":"a28-2ea-xeq"} + body: '{"deleted_dashboard_id":"gx6-rx5-pm6"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.freeze index 24a3b19ea35..898d8d7b94d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:37.700Z \ No newline at end of file +2024-11-14T19:12:31.278Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.yaml index b6e0bd1b607..d2c7890800e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_note_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_note_widget-1641430237","widgets":[{"definition":{"content":"# Example Note","type":"note"},"layout":{"height":24,"width":18,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_note_widget-1731611551","widgets":[{"definition":{"content":"# Example Note","type":"note"},"layout":{"height":24,"width":18,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"67s-sdf-cr7","title":"Test-Create_a_new_dashboard_with_note_widget-1641430237","url":"/dashboard/67s-sdf-cr7/test-createanewdashboardwithnotewidget-1641430237","created_at":"2022-01-06T00:50:37.865600+00:00","modified_at":"2022-01-06T00:50:37.865600+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"content":"# - Example Note","type":"note"},"layout":{"y":0,"width":18,"x":0,"height":24},"id":2976451902581497}],"layout_type":"free"}' + body: '{"id":"tsm-3qy-my2","title":"Test-Create_a_new_dashboard_with_note_widget-1731611551","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/tsm-3qy-my2/test-createanewdashboardwithnotewidget-1731611551","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"content":"# + Example Note","type":"note"},"layout":{"height":24,"width":18,"x":0,"y":0},"id":1906638315550440}],"notify_list":[],"created_at":"2024-11-14T19:12:31.403064+00:00","modified_at":"2024-11-14T19:12:31.403064+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/67s-sdf-cr7 + url: https://api.datadoghq.com/api/v1/dashboard/tsm-3qy-my2 response: - body: '{"deleted_dashboard_id":"67s-sdf-cr7"}' + body: '{"deleted_dashboard_id":"tsm-3qy-my2"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.freeze index 71c5a021e9d..99a183cc100 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.freeze @@ -1 +1 @@ -2023-10-24T18:32:08.933Z \ No newline at end of file +2024-11-14T19:12:31.697Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.yaml index 24dd343380d..0075147d96b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_powerpack_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"data":{"attributes":{"description":"Sample powerpack","group_widget":{"definition":{"layout_type":"ordered","show_title":true,"title":"Sample Powerpack","type":"group","widgets":[{"definition":{"content":"test","type":"note"}}]},"layout":{"height":3,"width":12,"x":0,"y":0},"live_span":"1h"},"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328","tags":["tag:sample"],"template_variables":[{"defaults":["*"],"name":"sample"}]},"type":"powerpack"}} + {"data":{"attributes":{"description":"Sample powerpack","group_widget":{"definition":{"layout_type":"ordered","show_title":true,"title":"Sample Powerpack","type":"group","widgets":[{"definition":{"content":"test","type":"note"}}]},"layout":{"height":3,"width":12,"x":0,"y":0},"live_span":"1h"},"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551","tags":["tag:sample"],"template_variables":[{"defaults":["*"],"name":"sample"}]},"type":"powerpack"}} form: {} headers: Accept: @@ -12,10 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v2/powerpacks response: - body: '{"data":{"type":"powerpack","id":"a3e591c8-729b-11ee-bde6-da7ad0900002","attributes":{"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328","description":"Sample + body: '{"data":{"type":"powerpack","id":"65d67c88-a2bc-11ef-8891-da7ad0900002","attributes":{"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551","description":"Sample powerpack","group_widget":{"definition":{"layout_type":"ordered","show_title":true,"title":"Sample - Powerpack","type":"group","widgets":[{"definition":{"content":"test","type":"note"},"id":1041433464205113}]},"layout":{"height":3,"width":12,"x":0,"y":0},"live_span":"1h"},"template_variables":[{"defaults":["*"],"name":"sample"}],"tags":["tag:sample"]},"relationships":{"author":{"data":{"type":"users","id":"9919ec9b-ebc7-49ee-8dc8-03626e717cca"}}}},"included":[{"type":"users","id":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","attributes":{"name":"CI - Account","email":"team-intg-tools-libs-spam@datadoghq.com"}}]} + Powerpack","type":"group","widgets":[{"definition":{"content":"test","type":"note"},"id":7590597140416618}]},"layout":{"height":3,"width":12,"x":0,"y":0},"live_span":"1h"},"template_variables":[{"defaults":["*"],"name":"sample"}],"tags":["tag:sample"]},"relationships":{"author":{"data":{"type":"users","id":"a20c7506-3e28-11ef-8b83-5264320c310a"}}}},"included":[{"type":"users","id":"a20c7506-3e28-11ef-8b83-5264320c310a","attributes":{"name":"Anika + Maskara","email":"anika.maskara@datadoghq.com"}}]} ' code: 200 @@ -26,7 +26,7 @@ interactions: status: 200 OK - request: body: | - {"description":"description","is_read_only":false,"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328 with powerpack widget","widgets":[{"definition":{"powerpack_id":"a3e591c8-729b-11ee-bde6-da7ad0900002","template_variables":{"controlled_by_powerpack":[{"name":"foo","prefix":"bar","values":["baz","qux","quuz"]}],"controlled_externally":[]},"type":"powerpack"},"layout":{"height":2,"is_column_break":false,"width":2,"x":1,"y":1}}]} + {"description":"description","layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551 with powerpack widget","widgets":[{"definition":{"powerpack_id":"65d67c88-a2bc-11ef-8891-da7ad0900002","template_variables":{"controlled_by_powerpack":[{"name":"foo","prefix":"bar","values":["baz","qux","quuz"]}],"controlled_externally":[]},"type":"powerpack"},"layout":{"height":2,"is_column_break":false,"width":2,"x":1,"y":1}}]} form: {} headers: Accept: @@ -37,9 +37,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"u4a-itq-xia","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328 - with powerpack widget","description":"description","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"ordered","url":"/dashboard/u4a-itq-xia/test-createanewdashboardwithpowerpackwidget-1698172328-with-powerpack-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"powerpack_id":"a3e591c8-729b-11ee-bde6-da7ad0900002","template_variables":{"controlled_by_powerpack":[{"name":"foo","prefix":"bar","values":["baz","qux","quuz"]}],"controlled_externally":[]},"type":"powerpack"},"layout":{"height":2,"is_column_break":false,"width":2,"x":1,"y":1},"id":1423357855337541}],"notify_list":null,"created_at":"2023-10-24T18:32:09.719784+00:00","modified_at":"2023-10-24T18:32:09.719784+00:00","restricted_roles":[]} + body: '{"id":"268-7rr-dpj","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551 + with powerpack widget","description":"description","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/268-7rr-dpj/test-createanewdashboardwithpowerpackwidget-1731611551-with-powerpack-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"powerpack_id":"65d67c88-a2bc-11ef-8891-da7ad0900002","template_variables":{"controlled_by_powerpack":[{"name":"foo","prefix":"bar","values":["baz","qux","quuz"]}],"controlled_externally":[]},"type":"powerpack"},"layout":{"height":2,"is_column_break":false,"width":2,"x":1,"y":1},"id":185636903135115}],"notify_list":null,"created_at":"2024-11-14T19:12:32.040409+00:00","modified_at":"2024-11-14T19:12:32.040409+00:00","restricted_roles":[]} ' code: 200 @@ -56,9 +56,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u4a-itq-xia + url: https://api.datadoghq.com/api/v1/dashboard/268-7rr-dpj response: - body: '{"deleted_dashboard_id":"u4a-itq-xia"} + body: '{"deleted_dashboard_id":"268-7rr-dpj"} ' code: 200 @@ -75,7 +75,7 @@ interactions: - '*/*' id: 3 method: DELETE - url: https://api.datadoghq.com/api/v2/powerpacks/a3e591c8-729b-11ee-bde6-da7ad0900002 + url: https://api.datadoghq.com/api/v2/powerpacks/65d67c88-a2bc-11ef-8891-da7ad0900002 response: body: '' code: 204 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.freeze index 12f16776248..54a8d2043df 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.freeze @@ -1 +1 @@ -2024-05-15T20:07:41.983Z \ No newline at end of file +2024-11-14T19:12:32.628Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.yaml index f4ae98b6786..d79ac904cc9 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget-1715803661","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {host}"}],"response_format":"scalar","sort":{"count":500,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":32,"width":54,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget-1731611552","widgets":[{"definition":{"has_search_bar":"auto","requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {host}"}],"response_format":"scalar","sort":{"count":500,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":32,"width":54,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"gau-v5i-xn9","title":"Test-Create_a_new_dashboard_with_query_table_widget-1715803661","description":"","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"free","url":"/dashboard/gau-v5i-xn9/test-createanewdashboardwithquerytablewidget-1715803661","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} - by {host}"}],"response_format":"scalar","sort":{"count":500,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":32,"width":54,"x":0,"y":0},"id":2055060354863184}],"notify_list":[],"created_at":"2024-05-15T20:07:42.157797+00:00","modified_at":"2024-05-15T20:07:42.157797+00:00","restricted_roles":[]} + body: '{"id":"vx3-uy4-r8e","title":"Test-Create_a_new_dashboard_with_query_table_widget-1731611552","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/vx3-uy4-r8e/test-createanewdashboardwithquerytablewidget-1731611552","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"auto","requests":[{"formulas":[{"cell_display_mode":"bar","conditional_formats":[],"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + by {host}"}],"response_format":"scalar","sort":{"count":500,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":32,"width":54,"x":0,"y":0},"id":3858788506982676}],"notify_list":[],"created_at":"2024-11-14T19:12:32.810607+00:00","modified_at":"2024-11-14T19:12:32.810607+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/gau-v5i-xn9 + url: https://api.datadoghq.com/api/v1/dashboard/vx3-uy4-r8e response: - body: '{"deleted_dashboard_id":"gau-v5i-xn9"} + body: '{"deleted_dashboard_id":"vx3-uy4-r8e"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze index 8c1436deff0..c49849aab5a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze @@ -1 +1 @@ -2024-09-11T14:33:18.508Z \ No newline at end of file +2024-11-14T19:12:33.073Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.yaml index 05cca32d529..49a2f3221f6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_table_widget_and_text_formatting.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1726065198","widgets":[{"definition":{"has_search_bar":"never","requests":[{"formulas":[],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}"}],"response_format":"scalar","text_formats":[[{"match":{"type":"is","value":"fruit"},"palette":"white_on_red","replace":{"type":"all","with":"vegetable"}},{"custom_bg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_bg"},{"match":{"type":"is","value":"robot"},"palette":"red_on_white"},{"match":{"type":"is","value":"ai"},"palette":"yellow_on_white"}],[{"match":{"type":"is_not","value":"xyz"},"palette":"white_on_yellow"}],[{"match":{"type":"contains","value":"test"},"palette":"white_on_green","replace":{"type":"all","with":"vegetable"}}],[{"match":{"type":"does_not_contain","value":"blah"},"palette":"black_on_light_red"}],[{"match":{"type":"starts_with","value":"abc"},"palette":"black_on_light_yellow"}],[{"match":{"type":"ends_with","value":"xyz"},"palette":"black_on_light_green"},{"match":{"type":"ends_with","value":"zzz"},"palette":"green_on_white"},{"custom_fg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_text"}]]}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731611553","widgets":[{"definition":{"has_search_bar":"never","requests":[{"formulas":[],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}"}],"response_format":"scalar","text_formats":[[{"match":{"type":"is","value":"fruit"},"palette":"white_on_red","replace":{"type":"all","with":"vegetable"}},{"custom_bg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_bg"},{"match":{"type":"is","value":"robot"},"palette":"red_on_white"},{"match":{"type":"is","value":"ai"},"palette":"yellow_on_white"}],[{"match":{"type":"is_not","value":"xyz"},"palette":"white_on_yellow"}],[{"match":{"type":"contains","value":"test"},"palette":"white_on_green","replace":{"type":"all","with":"vegetable"}}],[{"match":{"type":"does_not_contain","value":"blah"},"palette":"black_on_light_red"}],[{"match":{"type":"starts_with","value":"abc"},"palette":"black_on_light_yellow"}],[{"match":{"type":"ends_with","value":"xyz"},"palette":"black_on_light_green"},{"match":{"type":"ends_with","value":"zzz"},"palette":"green_on_white"},{"custom_fg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_text"}]]}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"462-puf-hkg","title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1726065198","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/462-puf-hkg/test-createanewdashboardwithquerytablewidgetandtextformatting-1726065198","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"never","requests":[{"formulas":[],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:aws.stream.globalaccelerator.processed_bytes_in{*} + body: '{"id":"cj4-7yg-224","title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731611553","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/cj4-7yg-224/test-createanewdashboardwithquerytablewidgetandtextformatting-1731611553","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_search_bar":"never","requests":[{"formulas":[],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:aws.stream.globalaccelerator.processed_bytes_out{*} - by {aws_account,acceleratoripaddress}"}],"response_format":"scalar","text_formats":[[{"match":{"type":"is","value":"fruit"},"palette":"white_on_red","replace":{"type":"all","with":"vegetable"}},{"custom_bg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_bg"},{"match":{"type":"is","value":"robot"},"palette":"red_on_white"},{"match":{"type":"is","value":"ai"},"palette":"yellow_on_white"}],[{"match":{"type":"is_not","value":"xyz"},"palette":"white_on_yellow"}],[{"match":{"type":"contains","value":"test"},"palette":"white_on_green","replace":{"type":"all","with":"vegetable"}}],[{"match":{"type":"does_not_contain","value":"blah"},"palette":"black_on_light_red"}],[{"match":{"type":"starts_with","value":"abc"},"palette":"black_on_light_yellow"}],[{"match":{"type":"ends_with","value":"xyz"},"palette":"black_on_light_green"},{"match":{"type":"ends_with","value":"zzz"},"palette":"green_on_white"},{"custom_fg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_text"}]]}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":3373154044387493}],"notify_list":[],"created_at":"2024-09-11T14:33:18.843540+00:00","modified_at":"2024-09-11T14:33:18.843540+00:00","experience_type":"default","restricted_roles":[]} + by {aws_account,acceleratoripaddress}"}],"response_format":"scalar","text_formats":[[{"match":{"type":"is","value":"fruit"},"palette":"white_on_red","replace":{"type":"all","with":"vegetable"}},{"custom_bg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_bg"},{"match":{"type":"is","value":"robot"},"palette":"red_on_white"},{"match":{"type":"is","value":"ai"},"palette":"yellow_on_white"}],[{"match":{"type":"is_not","value":"xyz"},"palette":"white_on_yellow"}],[{"match":{"type":"contains","value":"test"},"palette":"white_on_green","replace":{"type":"all","with":"vegetable"}}],[{"match":{"type":"does_not_contain","value":"blah"},"palette":"black_on_light_red"}],[{"match":{"type":"starts_with","value":"abc"},"palette":"black_on_light_yellow"}],[{"match":{"type":"ends_with","value":"xyz"},"palette":"black_on_light_green"},{"match":{"type":"ends_with","value":"zzz"},"palette":"green_on_white"},{"custom_fg_color":"#632ca6","match":{"type":"is","value":"animal"},"palette":"custom_text"}]]}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":7865447342603067}],"notify_list":[],"created_at":"2024-11-14T19:12:33.236493+00:00","modified_at":"2024-11-14T19:12:33.236493+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +32,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/462-puf-hkg + url: https://api.datadoghq.com/api/v1/dashboard/cj4-7yg-224 response: - body: '{"deleted_dashboard_id":"462-puf-hkg"} + body: '{"deleted_dashboard_id":"cj4-7yg-224"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.freeze index 9e1468a4998..1081b6aceaa 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:38.650Z \ No newline at end of file +2024-11-14T19:12:33.522Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.yaml index 9e1f1be8fa4..049be636254 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_query_value_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_value_widget-1641430238","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_value_widget-1731611553","widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"y4a-dqu-ifi","title":"Test-Create_a_new_dashboard_with_query_value_widget-1641430238","url":"/dashboard/y4a-dqu-ifi/test-createanewdashboardwithqueryvaluewidget-1641430238","created_at":"2022-01-06T00:50:38.839043+00:00","modified_at":"2022-01-06T00:50:38.839043+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"autoscale":true,"title":"","title_align":"left","precision":2,"time":{},"title_size":"16","requests":[{"response_format":"scalar","queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}]}],"type":"query_value"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":6979331889627275}],"layout_type":"free"}' + body: '{"id":"s4k-uc2-3r7","title":"Test-Create_a_new_dashboard_with_query_value_widget-1731611553","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/s4k-uc2-3r7/test-createanewdashboardwithqueryvaluewidget-1731611553","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"autoscale":true,"precision":2,"requests":[{"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"query_value"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":8754978144956095}],"notify_list":[],"created_at":"2024-11-14T19:12:33.695545+00:00","modified_at":"2024-11-14T19:12:33.695545+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/y4a-dqu-ifi + url: https://api.datadoghq.com/api/v1/dashboard/s4k-uc2-3r7 response: - body: '{"deleted_dashboard_id":"y4a-dqu-ifi"}' + body: '{"deleted_dashboard_id":"s4k-uc2-3r7"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze index 07701c9a4e6..6cb23c5c2f2 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze @@ -1 +1 @@ -2022-04-05T17:19:05.343Z \ No newline at end of file +2024-11-14T19:12:33.950Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.yaml index f683882ecdc..10a7aa815de 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1649179145 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"rum_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731611553 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"rum_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"847-9hf-ftb","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1649179145 - with list_stream widget","url":"/dashboard/847-9hf-ftb/test-createanewdashboardwithrumissuestreamliststreamwidget-1649179145-with-lists","created_at":"2022-04-05T17:19:05.444942+00:00","modified_at":"2022-04-05T17:19:05.444942+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"rum_issue_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":7299581017937461}],"layout_type":"ordered"}' + body: '{"id":"cg8-yhk-bw6","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731611553 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/cg8-yhk-bw6/test-createanewdashboardwithrumissuestreamliststreamwidget-1731611553-with-lists","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"rum_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":4087077140268311}],"notify_list":null,"created_at":"2024-11-14T19:12:34.322600+00:00","modified_at":"2024-11-14T19:12:34.322600+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/847-9hf-ftb + url: https://api.datadoghq.com/api/v1/dashboard/cg8-yhk-bw6 response: - body: '{"deleted_dashboard_id":"847-9hf-ftb"}' + body: '{"deleted_dashboard_id":"cg8-yhk-bw6"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.freeze index 0442a1a3c88..fc57fa46c21 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.freeze @@ -1 +1 @@ -2023-01-26T10:05:59.820Z \ No newline at end of file +2024-11-14T19:12:34.656Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.yaml index bc3cb9e0ae3..e1b22b3db07 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_run-workflow_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1674727559","widgets":[{"definition":{"inputs":[{"name":"environment","value":"$env.value"}],"time":{},"title":"Run workflow title","title_align":"left","title_size":"16","type":"run_workflow","workflow_id":"2e055f16-8b6a-4cdd-b452-17a34c44b160"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1731611554","widgets":[{"definition":{"inputs":[{"name":"environment","value":"$env.value"}],"time":{},"title":"Run workflow title","title_align":"left","title_size":"16","type":"run_workflow","workflow_id":"2e055f16-8b6a-4cdd-b452-17a34c44b160"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"pnw-fkv-n4x","title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1674727559","url":"/dashboard/pnw-fkv-n4x/test-createanewdashboardwithrunworkflowwidget-1674727559","created_at":"2023-01-26T10:06:00.011221+00:00","modified_at":"2023-01-26T10:06:00.011221+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"inputs":[{"name":"environment","value":"$env.value"}],"title_size":"16","title":"Run - workflow title","title_align":"left","workflow_id":"2e055f16-8b6a-4cdd-b452-17a34c44b160","time":{},"type":"run_workflow"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":737363147915504}],"layout_type":"free"} + body: '{"id":"7jz-n57-595","title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1731611554","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/7jz-n57-595/test-createanewdashboardwithrunworkflowwidget-1731611554","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"inputs":[{"name":"environment","value":"$env.value"}],"time":{},"title":"Run + workflow title","title_align":"left","title_size":"16","type":"run_workflow","workflow_id":"2e055f16-8b6a-4cdd-b452-17a34c44b160"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":5610878758364938}],"notify_list":[],"created_at":"2024-11-14T19:12:34.770757+00:00","modified_at":"2024-11-14T19:12:34.770757+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pnw-fkv-n4x + url: https://api.datadoghq.com/api/v1/dashboard/7jz-n57-595 response: - body: '{"deleted_dashboard_id":"pnw-fkv-n4x"} + body: '{"deleted_dashboard_id":"7jz-n57-595"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.freeze index ceb2532c321..bbe1ad83de6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:39.140Z \ No newline at end of file +2024-11-14T19:12:35.019Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.yaml index 1567bd6a44d..19fd6153aa0 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_scatterplot_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1641430239","widgets":[{"definition":{"color_by_groups":[],"requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} by {service}"}],"response_format":"scalar"}},"time":{},"title":"","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1731611555","widgets":[{"definition":{"color_by_groups":[],"requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} by {service}"}],"response_format":"scalar"}},"time":{},"title":"","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"kif-ema-sua","title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1641430239","url":"/dashboard/kif-ema-sua/test-createanewdashboardwithscatterplotwidget-1641430239","created_at":"2022-01-06T00:50:39.358282+00:00","modified_at":"2022-01-06T00:50:39.358282+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","yaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"title_align":"left","color_by_groups":[],"xaxis":{"include_zero":true,"scale":"linear","min":"auto","max":"auto"},"time":{},"title":"","requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"response_format":"scalar","queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + body: '{"id":"s9j-nm3-tvr","title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1731611555","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/s9j-nm3-tvr/test-createanewdashboardwithscatterplotwidget-1731611555","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"color_by_groups":[],"requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*} - by {service}"}]}},"type":"scatterplot"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":1267307721120974}],"layout_type":"free"}' + by {service}"}],"response_format":"scalar"}},"time":{},"title":"","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":0,"y":0},"id":3009893352352683}],"notify_list":[],"created_at":"2024-11-14T19:12:35.247972+00:00","modified_at":"2024-11-14T19:12:35.247972+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -29,9 +32,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/kif-ema-sua + url: https://api.datadoghq.com/api/v1/dashboard/s9j-nm3-tvr response: - body: '{"deleted_dashboard_id":"kif-ema-sua"}' + body: '{"deleted_dashboard_id":"s9j-nm3-tvr"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.freeze index 5ff4c9fa55f..175deba2339 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:39.664Z \ No newline at end of file +2024-11-14T19:12:35.598Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.yaml index 9ac275cac0e..223775c30c9 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_servicemap_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_servicemap_widget-1641430239","widgets":[{"definition":{"filters":["env:none","environment:*"],"service":"","title":"","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_servicemap_widget-1731611555","widgets":[{"definition":{"filters":["env:none","environment:*"],"service":"","title":"","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"9b3-emh-qe4","title":"Test-Create_a_new_dashboard_with_servicemap_widget-1641430239","url":"/dashboard/9b3-emh-qe4/test-createanewdashboardwithservicemapwidget-1641430239","created_at":"2022-01-06T00:50:39.841716+00:00","modified_at":"2022-01-06T00:50:39.841716+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"title_size":"16","service":"","title":"","title_align":"left","filters":["env:none","environment:*"],"type":"servicemap"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":2823265998914096}],"layout_type":"free"}' + body: '{"id":"g7c-rdn-m36","title":"Test-Create_a_new_dashboard_with_servicemap_widget-1731611555","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/g7c-rdn-m36/test-createanewdashboardwithservicemapwidget-1731611555","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"filters":["env:none","environment:*"],"service":"","title":"","title_align":"left","title_size":"16","type":"servicemap"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":4603681015487781}],"notify_list":[],"created_at":"2024-11-14T19:12:35.752272+00:00","modified_at":"2024-11-14T19:12:35.752272+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -27,9 +30,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9b3-emh-qe4 + url: https://api.datadoghq.com/api/v1/dashboard/g7c-rdn-m36 response: - body: '{"deleted_dashboard_id":"9b3-emh-qe4"}' + body: '{"deleted_dashboard_id":"g7c-rdn-m36"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.freeze index 3175b16b31e..4f102fc766b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.freeze @@ -1 +1 @@ -2022-09-21T14:58:35.783Z \ No newline at end of file +2024-11-14T19:12:36.037Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.yaml index ae5e6c358a4..9d0645cbf21 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"name":"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} + {"name":"Test-Create_a_new_dashboard_with_slo_list_widget-1731611556","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - body: '{"data":[{"description":"","monitor_tags":[],"creator":{"handle":"frog@datadoghq.com","name":null,"email":"frog@datadoghq.com"},"thresholds":[{"warning":98.0,"warning_display":"98.","target":95.0,"target_display":"95.","timeframe":"7d"}],"type_id":1,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"id":"7f88381afe5f5c1e987664e7057253fd","name":"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315","created_at":1663772316,"tags":[],"modified_at":1663772316,"type":"metric"}],"error":null} + body: '{"data":[{"id":"883996caaca65291adf88e32705cbe67","name":"Test-Create_a_new_dashboard_with_slo_list_widget-1731611556","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":"Anika + Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com"},"created_at":1731611556,"modified_at":1731611556}],"error":null} ' code: 200 @@ -23,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315","widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod AND service:my-app"},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget-1731611556","widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod AND service:my-app"},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} form: {} headers: Accept: @@ -34,8 +35,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"xf3-y64-ib5","title":"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315","url":"/dashboard/xf3-y64-ib5/test-createanewdashboardwithslolistwidget-1663772315","created_at":"2022-09-21T14:58:36.648616+00:00","modified_at":"2022-09-21T14:58:36.648616+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"slo_list","requests":[{"query":{"query_string":"env:prod - AND service:my-app","limit":75},"request_type":"slo_list"}],"title_align":"left","title_size":"16"},"layout":{"y":0,"width":60,"x":0,"height":21},"id":434825034616209}],"layout_type":"free"} + body: '{"id":"iwm-46e-6pb","title":"Test-Create_a_new_dashboard_with_slo_list_widget-1731611556","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/iwm-46e-6pb/test-createanewdashboardwithslolistwidget-1731611556","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod + AND service:my-app"},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0},"id":3285014530749905}],"notify_list":[],"created_at":"2024-11-14T19:12:36.417146+00:00","modified_at":"2024-11-14T19:12:36.417146+00:00","restricted_roles":[]} ' code: 200 @@ -52,9 +54,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/xf3-y64-ib5 + url: https://api.datadoghq.com/api/v1/dashboard/iwm-46e-6pb response: - body: '{"deleted_dashboard_id":"xf3-y64-ib5"} + body: '{"deleted_dashboard_id":"iwm-46e-6pb"} ' code: 200 @@ -71,9 +73,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/7f88381afe5f5c1e987664e7057253fd + url: https://api.datadoghq.com/api/v1/slo/883996caaca65291adf88e32705cbe67 response: - body: '{"data":["7f88381afe5f5c1e987664e7057253fd"],"error":null} + body: '{"data":["883996caaca65291adf88e32705cbe67"],"error":null} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze index cc4a9a55b1b..916fb6b70c6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze @@ -1 +1 @@ -2023-02-14T18:54:56.599Z \ No newline at end of file +2024-11-14T19:12:36.994Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.yaml index adf5b4a4ba2..d59746ccb44 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_list_widget_with_sort.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} + {"name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731611556","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - body: '{"data":[{"id":"80091437d0165587a0831040981e44f9","name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"created_at":1676400896,"modified_at":1676400896}],"error":null} + body: '{"data":[{"id":"beb306f6ef6a51398811e8d638e443d9","name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731611556","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":"Anika + Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com"},"created_at":1731611557,"modified_at":1731611557}],"error":null} ' code: 200 @@ -23,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896","widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod AND service:my-app","sort":[{"column":"status.sli","order":"asc"}]},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731611556","widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod AND service:my-app","sort":[{"column":"status.sli","order":"asc"}]},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} form: {} headers: Accept: @@ -34,8 +35,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"6hq-ih3-tzg","title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/6hq-ih3-tzg/test-createanewdashboardwithslolistwidgetwithsort-1676400896","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod - AND service:my-app","sort":[{"column":"status.sli","order":"asc"}]},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0},"id":1642439378480719}],"notify_list":[],"created_at":"2023-02-14T18:54:57.012649+00:00","modified_at":"2023-02-14T18:54:57.012649+00:00","restricted_roles":[]} + body: '{"id":"8dz-sjg-vcn","title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731611556","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/8dz-sjg-vcn/test-createanewdashboardwithslolistwidgetwithsort-1731611556","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"limit":75,"query_string":"env:prod + AND service:my-app","sort":[{"column":"status.sli","order":"asc"}]},"request_type":"slo_list"}],"title_align":"left","title_size":"16","type":"slo_list"},"layout":{"height":21,"width":60,"x":0,"y":0},"id":8215880919668555}],"notify_list":[],"created_at":"2024-11-14T19:12:37.270942+00:00","modified_at":"2024-11-14T19:12:37.270942+00:00","restricted_roles":[]} ' code: 200 @@ -52,9 +54,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/6hq-ih3-tzg + url: https://api.datadoghq.com/api/v1/dashboard/8dz-sjg-vcn response: - body: '{"deleted_dashboard_id":"6hq-ih3-tzg"} + body: '{"deleted_dashboard_id":"8dz-sjg-vcn"} ' code: 200 @@ -71,9 +73,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/80091437d0165587a0831040981e44f9 + url: https://api.datadoghq.com/api/v1/slo/beb306f6ef6a51398811e8d638e443d9 response: - body: '{"data":["80091437d0165587a0831040981e44f9"],"error":null} + body: '{"data":["beb306f6ef6a51398811e8d638e443d9"],"error":null} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.freeze index 422ceb22087..af7a5bfbb64 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.freeze @@ -1 +1 @@ -2023-05-01T17:17:36.249Z \ No newline at end of file +2024-11-14T19:12:37.759Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.yaml index f6917af0aae..725c7d0f892 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_slo_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"name":"Test-Create_a_new_dashboard_with_slo_widget-1682961456","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} + {"name":"Test-Create_a_new_dashboard_with_slo_widget-1731611557","query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"thresholds":[{"target":95,"timeframe":"7d","warning":98}],"type":"metric"} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - body: '{"data":[{"id":"91c07f67612e5483b52e566f81ef101c","name":"Test-Create_a_new_dashboard_with_slo_widget-1682961456","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com"},"created_at":1682961456,"modified_at":1682961456}],"error":null} + body: '{"data":[{"id":"dd4731783bfb5c97b01e19a5c3224429","name":"Test-Create_a_new_dashboard_with_slo_widget-1731611557","tags":[],"monitor_tags":[],"thresholds":[{"timeframe":"7d","target":95.0,"target_display":"95.","warning":98.0,"warning_display":"98."}],"type":"metric","type_id":1,"description":"","timeframe":"7d","warning_threshold":98,"target_threshold":95,"query":{"denominator":"sum:httpservice.hits{!code:3xx}.as_count()","numerator":"sum:httpservice.hits{code:2xx}.as_count()"},"creator":{"name":"Anika + Maskara","handle":"anika.maskara@datadoghq.com","email":"anika.maskara@datadoghq.com"},"created_at":1731611557,"modified_at":1731611557}],"error":null} ' code: 200 @@ -23,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_widget-1682961456","widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"91c07f67612e5483b52e566f81ef101c","time_windows":["7d"],"title_align":"left","title_size":"16","type":"slo","view_mode":"overall","view_type":"detail"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_widget-1731611557","widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"dd4731783bfb5c97b01e19a5c3224429","time_windows":["7d"],"title_align":"left","title_size":"16","type":"slo","view_mode":"overall","view_type":"detail"},"layout":{"height":21,"width":60,"x":0,"y":0}}]} form: {} headers: Accept: @@ -34,7 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"s2k-6ak-vwz","title":"Test-Create_a_new_dashboard_with_slo_widget-1682961456","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/s2k-6ak-vwz/test-createanewdashboardwithslowidget-1682961456","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"91c07f67612e5483b52e566f81ef101c","time_windows":["7d"],"title_align":"left","title_size":"16","type":"slo","view_mode":"overall","view_type":"detail"},"layout":{"height":21,"width":60,"x":0,"y":0},"id":5115893324048055}],"notify_list":[],"created_at":"2023-05-01T17:17:36.970593+00:00","modified_at":"2023-05-01T17:17:36.970593+00:00","restricted_roles":[]} + body: '{"id":"xaz-u6q-et4","title":"Test-Create_a_new_dashboard_with_slo_widget-1731611557","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/xaz-u6q-et4/test-createanewdashboardwithslowidget-1731611557","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"dd4731783bfb5c97b01e19a5c3224429","time_windows":["7d"],"title_align":"left","title_size":"16","type":"slo","view_mode":"overall","view_type":"detail"},"layout":{"height":21,"width":60,"x":0,"y":0},"id":7303989423042166}],"notify_list":[],"created_at":"2024-11-14T19:12:38.037003+00:00","modified_at":"2024-11-14T19:12:38.037003+00:00","restricted_roles":[]} ' code: 200 @@ -51,9 +53,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/s2k-6ak-vwz + url: https://api.datadoghq.com/api/v1/dashboard/xaz-u6q-et4 response: - body: '{"deleted_dashboard_id":"s2k-6ak-vwz"} + body: '{"deleted_dashboard_id":"xaz-u6q-et4"} ' code: 200 @@ -70,9 +72,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/91c07f67612e5483b52e566f81ef101c + url: https://api.datadoghq.com/api/v1/slo/dd4731783bfb5c97b01e19a5c3224429 response: - body: '{"data":["91c07f67612e5483b52e566f81ef101c"],"error":null} + body: '{"data":["dd4731783bfb5c97b01e19a5c3224429"],"error":null} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.freeze index 6e7aa326def..f0705f03a6e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.freeze @@ -1 +1 @@ -2023-09-14T14:04:40.364Z \ No newline at end of file +2024-11-14T19:12:38.603Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.yaml index bcd44e32514..7f4a34535f5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_split_graph_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"ordered","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_split_graph_widget-1694700280","widgets":[{"definition":{"has_uniform_y_axes":true,"size":"md","source_widget_definition":{"requests":[{"display_type":"line","queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"timeseries"},"split_config":{"limit":24,"sort":{"compute":{"aggregation":"sum","metric":"system.cpu.user"},"order":"desc"},"split_dimensions":[{"one_graph_per":"service"}],"static_splits":[[{"tag_key":"service","tag_values":["cassandra"]},{"tag_key":"datacenter","tag_values":[]}],[{"tag_key":"demo","tag_values":["env"]}]]},"title":"","type":"split_group"},"layout":{"height":8,"width":12,"x":0,"y":0}}]} + {"description":"","layout_type":"ordered","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_split_graph_widget-1731611558","widgets":[{"definition":{"has_uniform_y_axes":true,"size":"md","source_widget_definition":{"requests":[{"display_type":"line","queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"timeseries"},"split_config":{"limit":24,"sort":{"compute":{"aggregation":"sum","metric":"system.cpu.user"},"order":"desc"},"split_dimensions":[{"one_graph_per":"service"}],"static_splits":[[{"tag_key":"service","tag_values":["cassandra"]},{"tag_key":"datacenter","tag_values":[]}],[{"tag_key":"demo","tag_values":["env"]}]]},"title":"","type":"split_group"},"layout":{"height":8,"width":12,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"cjw-gqa-mgu","title":"Test-Create_a_new_dashboard_with_split_graph_widget-1694700280","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/cjw-gqa-mgu/test-createanewdashboardwithsplitgraphwidget-1694700280","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_uniform_y_axes":true,"size":"md","source_widget_definition":{"requests":[{"display_type":"line","queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"timeseries"},"split_config":{"limit":24,"sort":{"compute":{"aggregation":"sum","metric":"system.cpu.user"},"order":"desc"},"split_dimensions":[{"one_graph_per":"service"}],"static_splits":[[{"tag_key":"service","tag_values":["cassandra"]},{"tag_key":"datacenter","tag_values":[]}],[{"tag_key":"demo","tag_values":["env"]}]]},"title":"","type":"split_group"},"layout":{"height":8,"width":12,"x":0,"y":0},"id":130983163053076}],"notify_list":[],"created_at":"2023-09-14T14:04:40.913735+00:00","modified_at":"2023-09-14T14:04:40.913735+00:00","restricted_roles":[]} + body: '{"id":"482-izf-9gi","title":"Test-Create_a_new_dashboard_with_split_graph_widget-1731611558","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/482-izf-9gi/test-createanewdashboardwithsplitgraphwidget-1731611558","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"has_uniform_y_axes":true,"size":"md","source_widget_definition":{"requests":[{"display_type":"line","queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"timeseries"},"split_config":{"limit":24,"sort":{"compute":{"aggregation":"sum","metric":"system.cpu.user"},"order":"desc"},"split_dimensions":[{"one_graph_per":"service"}],"static_splits":[[{"tag_key":"service","tag_values":["cassandra"]},{"tag_key":"datacenter","tag_values":[]}],[{"tag_key":"demo","tag_values":["env"]}]]},"title":"","type":"split_group"},"layout":{"height":8,"width":12,"x":0,"y":0},"id":5338128994941864}],"notify_list":[],"created_at":"2024-11-14T19:12:39.293000+00:00","modified_at":"2024-11-14T19:12:39.293000+00:00","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cjw-gqa-mgu + url: https://api.datadoghq.com/api/v1/dashboard/482-izf-9gi response: - body: '{"deleted_dashboard_id":"cjw-gqa-mgu"} + body: '{"deleted_dashboard_id":"482-izf-9gi"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze index 71716ff9e29..07d57eec7fd 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze @@ -1 +1 @@ -2023-08-29T23:33:40.928Z \ No newline at end of file +2024-11-14T19:12:39.604Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.yaml index f63583ba710..6a3804be235 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1693352020","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"sum:system.mem.used{*} by {service}"}],"response_format":"scalar","style":{"palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"sunburst"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1731611559","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"sum:system.mem.used{*} by {service}"}],"response_format":"scalar","style":{"palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"sunburst"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"p9p-tab-wa7","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1693352020","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/p9p-tab-wa7/test-createanewdashboardwithsunburstwidgetandmetricsdata-1693352020","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"sum:system.mem.used{*} - by {service}"}],"response_format":"scalar","style":{"palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"sunburst"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":4956604535424180}],"notify_list":null,"created_at":"2023-08-29T23:33:41.087237+00:00","modified_at":"2023-08-29T23:33:41.087237+00:00","restricted_roles":[]} + body: '{"id":"w74-sg2-g2b","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1731611559","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/w74-sg2-g2b/test-createanewdashboardwithsunburstwidgetandmetricsdata-1731611559","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"sum","data_source":"metrics","name":"query1","query":"sum:system.mem.used{*} + by {service}"}],"response_format":"scalar","style":{"palette":"dog_classic"}}],"title":"","title_align":"left","title_size":"16","type":"sunburst"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":4368317924299162}],"notify_list":null,"created_at":"2024-11-14T19:12:39.757201+00:00","modified_at":"2024-11-14T19:12:39.757201+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/p9p-tab-wa7 + url: https://api.datadoghq.com/api/v1/dashboard/w74-sg2-g2b response: - body: '{"deleted_dashboard_id":"p9p-tab-wa7"} + body: '{"deleted_dashboard_id":"w74-sg2-g2b"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze index 1d5de377733..16d647ef7be 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-08T20:53:52.326Z \ No newline at end of file +2024-11-14T19:12:40.053Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.yaml index 1a34eeeafbd..d96d989a35d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_team_tags_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","tags":["team:foobar"],"title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1678308832","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} + {"layout_type":"ordered","tags":["team:foobar"],"title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1731611560","widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"cvx-m2c-ntf","title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1678308832","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/cvx-m2c-ntf/test-createanewdashboardwithteamtagsreturnsokresponse-1678308832","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":3494387223047491}],"notify_list":null,"created_at":"2023-03-08T20:53:52.690739+00:00","modified_at":"2023-03-08T20:53:52.690739+00:00","tags":["team:foobar"],"restricted_roles":[]} + body: '{"id":"7r9-76m-7cg","title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1731611560","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/7r9-76m-7cg/test-createanewdashboardwithteamtagsreturnsokresponse-1731611560","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"change_type":"absolute","compare_to":"hour_before","formulas":[{"formula":"hour_before(query1)"},{"formula":"query1"}],"increase_good":true,"order_by":"change","order_dir":"desc","queries":[{"compute":{"aggregation":"count"},"data_source":"logs","group_by":[],"indexes":["*"],"name":"query1","search":{"query":""}}],"response_format":"scalar"}],"time":{},"title":"","title_align":"left","title_size":"16","type":"change"},"layout":{"height":4,"width":4,"x":0,"y":0},"id":513356787555040}],"notify_list":null,"created_at":"2024-11-14T19:12:40.213397+00:00","modified_at":"2024-11-14T19:12:40.213397+00:00","tags":["team:foobar"],"restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cvx-m2c-ntf + url: https://api.datadoghq.com/api/v1/dashboard/7r9-76m-7cg response: - body: '{"deleted_dashboard_id":"cvx-m2c-ntf"} + body: '{"deleted_dashboard_id":"7r9-76m-7cg"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze index 78f1b346754..67e2a075f6f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:48.540Z \ No newline at end of file +2024-11-14T19:12:40.459Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.yaml index fed9bdf9051..7de6769f17c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"default":"my-host","defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} + {"description":null,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"default":"my-host","defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} form: {} headers: Accept: @@ -12,9 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"errors":["''template_variables'' is invalid"]} - - ' + body: '{"errors":["''template_variables'' is invalid"]}' code: 400 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze index 3c1ae32d5f6..9c512ec8ffe 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze @@ -1 +1 @@ -2023-02-16T21:39:58.391Z \ No newline at end of file +2024-11-14T19:12:40.550Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml index 0f9d19988c0..65103f47496 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} + {"description":null,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"h5n-j24-t82","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/h5n-j24-t82/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":355816329429238}],"notify_list":[],"created_at":"2023-02-16T21:39:58.588908+00:00","modified_at":"2023-02-16T21:39:58.588908+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"yf6-dzr-q5c","title":"","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/yf6-dzr-q5c/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":1555947222782912}],"notify_list":[],"created_at":"2024-11-14T19:12:40.753747+00:00","modified_at":"2024-11-14T19:12:40.753747+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/h5n-j24-t82 + url: https://api.datadoghq.com/api/v1/dashboard/yf6-dzr-q5c response: - body: '{"deleted_dashboard_id":"h5n-j24-t82"} + body: '{"deleted_dashboard_id":"yf6-dzr-q5c"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze index 3c19cc01451..895b181b5cd 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:50.024Z \ No newline at end of file +2024-11-14T19:12:41.067Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.yaml index eea2256cac1..71b2c624a88 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":[""],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} + {"description":null,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":[""],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} form: {} headers: Accept: @@ -12,9 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"errors":["Minimum length of parameter ''defaults'' should be 1"]} - - ' + body: '{"errors":["Minimum length of parameter ''defaults'' should be 1"]}' code: 400 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze index 36fc26e21a7..d766055334c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-14T15:56:53.597Z \ No newline at end of file +2024-11-14T19:12:41.157Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.yaml index abc97b64658..d7731a52560 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","value":"*","values":["*"]}]}],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} + {"description":null,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","value":"*","values":["*"]}]}],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} form: {} headers: Accept: @@ -12,8 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"errors":["''template_variables'' value ''{u''values'': [u''*''], u''name'': - u''datacenter'', u''value'': u''*''}'' is invalid"]}' + body: '{"errors":["''template_variables'' value ''{''name'': ''datacenter'', ''value'': + ''*'', ''values'': [''*'']}'' is invalid"]}' code: 400 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze index 25618da8e03..ead7a798e68 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze @@ -1 +1 @@ -2023-02-16T21:40:06.384Z \ No newline at end of file +2024-11-14T19:12:41.245Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml index 3ea1f652785..9b0f33d6630 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":null,"is_read_only":false,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","values":["*","my-host"]}]}],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} + {"description":null,"layout_type":"ordered","notify_list":[],"reflow_type":"auto","restricted_roles":[],"template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","values":["*","my-host"]}]}],"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"title":"","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"y9d-w7h-s59","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/y9d-w7h-s59/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":3953978643250660}],"notify_list":[],"created_at":"2023-02-16T21:40:06.587858+00:00","modified_at":"2023-02-16T21:40:06.587858+00:00","template_variable_presets":[{"name":"my + body: '{"id":"aea-ma4-izr","title":"","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/aea-ma4-izr/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":725916093061701}],"notify_list":[],"created_at":"2024-11-14T19:12:41.457782+00:00","modified_at":"2024-11-14T19:12:41.457782+00:00","template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","values":["*","my-host"]}]}],"reflow_type":"auto","restricted_roles":[]} ' @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/y9d-w7h-s59 + url: https://api.datadoghq.com/api/v1/dashboard/aea-ma4-izr response: - body: '{"deleted_dashboard_id":"y9d-w7h-s59"} + body: '{"deleted_dashboard_id":"aea-ma4-izr"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze index 02b39fab616..294f8718a04 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze @@ -1 +1 @@ -2022-12-13T17:13:10.406Z \ No newline at end of file +2024-11-14T19:12:41.727Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.yaml index 82966b6dc8d..6ac9b001be5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1670951590 with formula style","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1","style":{"palette":"classic","palette_index":4}}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"styled timeseries","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1731611561 with formula style","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1","style":{"palette":"classic","palette_index":4}}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"styled timeseries","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,9 +12,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"k2c-ici-a4c","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1670951590 - with formula style","url":"/dashboard/k2c-ici-a4c/test-createanewdashboardwithtimeserieswidgetandformulastyleattributes-1670951590","created_at":"2022-12-13T17:13:10.630153+00:00","modified_at":"2022-12-13T17:13:10.630153+00:00","reflow_type":"auto","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"title":"styled - timeseries","legend_layout":"auto","show_legend":true,"time":{},"requests":[{"formulas":[{"formula":"query1","style":{"palette_index":4,"palette":"classic"}}],"style":{"line_width":"normal","palette":"dog_classic","line_type":"solid"},"display_type":"line","response_format":"timeseries","queries":[{"query":"avg:system.cpu.user{*}","data_source":"metrics","name":"query1"}]}],"type":"timeseries"},"id":5980026334932933}],"layout_type":"ordered"} + body: '{"id":"4pu-5hi-9ap","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1731611561 + with formula style","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/4pu-5hi-9ap/test-createanewdashboardwithtimeserieswidgetandformulastyleattributes-1731611561","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1","style":{"palette":"classic","palette_index":4}}],"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}"}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"styled + timeseries","type":"timeseries"},"id":3400368429094420}],"notify_list":null,"created_at":"2024-11-14T19:12:41.887469+00:00","modified_at":"2024-11-14T19:12:41.887469+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +32,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/k2c-ici-a4c + url: https://api.datadoghq.com/api/v1/dashboard/4pu-5hi-9ap response: - body: '{"deleted_dashboard_id":"k2c-ici-a4c"} + body: '{"deleted_dashboard_id":"4pu-5hi-9ap"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze index e02cf8b5d2c..a0268693b71 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze @@ -1 +1 @@ -2022-01-06T00:50:41.533Z \ No newline at end of file +2024-11-14T19:12:42.123Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.yaml index fb5230d46f9..301db5955ed 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1641430241 with timeseries widget","widgets":[{"definition":{"requests":[{"display_type":"bars","on_right_yaxis":false,"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()","style":{"line_type":"solid","line_width":"normal","palette":"warm"}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731611562 with timeseries widget","widgets":[{"definition":{"requests":[{"display_type":"bars","on_right_yaxis":false,"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()","style":{"line_type":"solid","line_width":"normal","palette":"warm"}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,9 +12,12 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"asn-82x-2q5","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1641430241 - with timeseries widget","url":"/dashboard/asn-82x-2q5/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1641430241","created_at":"2022-01-06T00:50:41.722113+00:00","modified_at":"2022-01-06T00:50:41.722113+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec} - by {resource_name}.as_count()","on_right_yaxis":false,"style":{"line_width":"normal","palette":"warm","line_type":"solid"},"display_type":"bars"}],"type":"timeseries"},"id":8478940066341905}],"layout_type":"ordered"}' + body: '{"id":"d2u-a79-uqv","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731611562 + with timeseries widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/d2u-a79-uqv/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1731611562","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"display_type":"bars","on_right_yaxis":false,"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec} + by {resource_name}.as_count()","style":{"line_type":"solid","line_width":"normal","palette":"warm"}}],"type":"timeseries"},"id":123635508219251}],"notify_list":null,"created_at":"2024-11-14T19:12:42.289738+00:00","modified_at":"2024-11-14T19:12:42.289738+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -29,9 +32,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/asn-82x-2q5 + url: https://api.datadoghq.com/api/v1/dashboard/d2u-a79-uqv response: - body: '{"deleted_dashboard_id":"asn-82x-2q5"}' + body: '{"deleted_dashboard_id":"d2u-a79-uqv"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.freeze index 342b24a3fec..31018147d6b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.freeze @@ -1 +1 @@ -2024-09-06T12:10:51.099Z \ No newline at end of file +2024-11-14T19:12:42.537Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.yaml index 487ca86f4b5..f644b7bdd33 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_toplist_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_toplist_widget-1725624651","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_toplist_widget-1731611562","widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"q25-ie2-8p9","title":"Test-Create_a_new_dashboard_with_toplist_widget-1725624651","description":"","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI - Account","layout_type":"free","url":"/dashboard/q25-ie2-8p9/test-createanewdashboardwithtoplistwidget-1725624651","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} - by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":6898333964604098}],"notify_list":[],"created_at":"2024-09-06T12:10:51.371974+00:00","modified_at":"2024-09-06T12:10:51.371974+00:00","restricted_roles":[]} + body: '{"id":"ffe-udq-bak","title":"Test-Create_a_new_dashboard_with_toplist_widget-1731611562","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/ffe-udq-bak/test-createanewdashboardwithtoplistwidget-1731611562","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"formulas":[{"formula":"query1"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} + by {service}"}],"response_format":"scalar","sort":{"count":10,"order_by":[{"index":0,"order":"desc","type":"formula"}]}}],"style":{"display":{"legend":"inline","type":"stacked"},"palette":"dog_classic","scaling":"relative"},"time":{},"title":"","title_align":"left","title_size":"16","type":"toplist"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":3080030583008842}],"notify_list":[],"created_at":"2024-11-14T19:12:42.698270+00:00","modified_at":"2024-11-14T19:12:42.698270+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/q25-ie2-8p9 + url: https://api.datadoghq.com/api/v1/dashboard/ffe-udq-bak response: - body: '{"deleted_dashboard_id":"q25-ie2-8p9"} + body: '{"deleted_dashboard_id":"ffe-udq-bak"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.freeze index 32436c666f0..ad5fd650d3f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.freeze @@ -1 +1 @@ -2022-09-12T15:16:05.847Z \ No newline at end of file +2024-11-14T19:12:42.948Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.yaml index b0827bc2bfe..caa98a9a5ff 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_topology_map_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_topology_map_widget-1662995765","widgets":[{"definition":{"requests":[{"query":{"data_source":"service_map","filters":["env:none","environment:*"],"service":""},"request_type":"topology"}],"title":"","title_align":"left","title_size":"16","type":"topology_map"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_topology_map_widget-1731611562","widgets":[{"definition":{"requests":[{"query":{"data_source":"service_map","filters":["env:none","environment:*"],"service":""},"request_type":"topology"}],"title":"","title_align":"left","title_size":"16","type":"topology_map"},"layout":{"height":15,"width":47,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,7 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"8mx-5gx-wjm","title":"Test-Create_a_new_dashboard_with_topology_map_widget-1662995765","url":"/dashboard/8mx-5gx-wjm/test-createanewdashboardwithtopologymapwidget-1662995765","created_at":"2022-09-12T15:16:06.040625+00:00","modified_at":"2022-09-12T15:16:06.040625+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"type":"topology_map","requests":[{"query":{"data_source":"service_map","service":"","filters":["env:none","environment:*"]},"request_type":"topology"}],"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":47,"x":0,"height":15},"id":1383483616434400}],"layout_type":"free"} + body: '{"id":"4nx-4x7-4ft","title":"Test-Create_a_new_dashboard_with_topology_map_widget-1731611562","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/4nx-4x7-4ft/test-createanewdashboardwithtopologymapwidget-1731611562","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"requests":[{"query":{"data_source":"service_map","filters":["env:none","environment:*"],"service":""},"request_type":"topology"}],"title":"","title_align":"left","title_size":"16","type":"topology_map"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":4417217639321993}],"notify_list":[],"created_at":"2024-11-14T19:12:43.065479+00:00","modified_at":"2024-11-14T19:12:43.065479+00:00","restricted_roles":[]} ' code: 200 @@ -29,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8mx-5gx-wjm + url: https://api.datadoghq.com/api/v1/dashboard/4nx-4x7-4ft response: - body: '{"deleted_dashboard_id":"8mx-5gx-wjm"} + body: '{"deleted_dashboard_id":"4nx-4x7-4ft"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.freeze index 8ebeaa91084..6b659be6443 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:42.549Z \ No newline at end of file +2024-11-14T19:12:43.342Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.yaml index ce921530162..b81ff708d7f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_service_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_trace_service_widget-1641430242","widgets":[{"definition":{"display_format":"two_column","env":"none","service":"","show_breakdown":true,"show_distribution":true,"show_errors":true,"show_hits":true,"show_latency":true,"show_resource_list":false,"size_format":"medium","span_name":"","time":{},"title":"Service Summary","type":"trace_service"},"layout":{"height":72,"width":72,"x":0,"y":0}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_trace_service_widget-1731611563","widgets":[{"definition":{"display_format":"two_column","env":"none","service":"","show_breakdown":true,"show_distribution":true,"show_errors":true,"show_hits":true,"show_latency":true,"show_resource_list":false,"size_format":"medium","span_name":"","time":{},"title":"Service Summary","type":"trace_service"},"layout":{"height":72,"width":72,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"y2w-4ed-wj5","title":"Test-Create_a_new_dashboard_with_trace_service_widget-1641430242","url":"/dashboard/y2w-4ed-wj5/test-createanewdashboardwithtraceservicewidget-1641430242","created_at":"2022-01-06T00:50:42.720557+00:00","modified_at":"2022-01-06T00:50:42.720557+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"span_name":"","type":"trace_service","service":"","title":"Service - Summary","size_format":"medium","show_hits":true,"show_errors":true,"show_breakdown":true,"env":"none","time":{},"show_distribution":true,"display_format":"two_column","show_latency":true,"show_resource_list":false},"layout":{"y":0,"width":72,"x":0,"height":72},"id":8414814446486210}],"layout_type":"free"}' + body: '{"id":"82r-6xq-vn3","title":"Test-Create_a_new_dashboard_with_trace_service_widget-1731611563","description":"","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"free","url":"/dashboard/82r-6xq-vn3/test-createanewdashboardwithtraceservicewidget-1731611563","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"display_format":"two_column","env":"none","service":"","show_breakdown":true,"show_distribution":true,"show_errors":true,"show_hits":true,"show_latency":true,"show_resource_list":false,"size_format":"medium","span_name":"","time":{},"title":"Service + Summary","type":"trace_service"},"layout":{"height":72,"width":72,"x":0,"y":0},"id":8083039739576862}],"notify_list":[],"created_at":"2024-11-14T19:12:43.452285+00:00","modified_at":"2024-11-14T19:12:43.452285+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/y2w-4ed-wj5 + url: https://api.datadoghq.com/api/v1/dashboard/82r-6xq-vn3 response: - body: '{"deleted_dashboard_id":"y2w-4ed-wj5"}' + body: '{"deleted_dashboard_id":"82r-6xq-vn3"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.freeze index 59f5fa0f114..403f798bb02 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.freeze @@ -1 +1 @@ -2022-04-11T09:33:06.223Z \ No newline at end of file +2024-11-14T19:12:43.703Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.yaml index 316c2c78f80..89bfaa9c6d9 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_trace_stream_widget.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1649669586 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"},{"field":"service","width":"auto"}],"query":{"data_source":"trace_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1731611563 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"},{"field":"service","width":"auto"}],"query":{"data_source":"trace_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"hq5-hih-hbv","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1649669586 - with list_stream widget","url":"/dashboard/hq5-hih-hbv/test-createanewdashboardwithtracestreamwidget-1649669586-with-liststream-widget","created_at":"2022-04-11T09:33:06.331374+00:00","modified_at":"2022-04-11T09:33:06.331374+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"trace_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"},{"field":"service","width":"auto"}]}],"type":"list_stream"},"id":6190567117163115}],"layout_type":"ordered"}' + body: '{"id":"wnc-xse-sns","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1731611563 + with list_stream widget","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/wnc-xse-sns/test-createanewdashboardwithtracestreamwidget-1731611563-with-liststream-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"},{"field":"service","width":"auto"}],"query":{"data_source":"trace_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":6150580172370879}],"notify_list":null,"created_at":"2024-11-14T19:12:43.829004+00:00","modified_at":"2024-11-14T19:12:43.829004+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/hq5-hih-hbv + url: https://api.datadoghq.com/api/v1/dashboard/wnc-xse-sns response: - body: '{"deleted_dashboard_id":"hq5-hih-hbv"}' + body: '{"deleted_dashboard_id":"wnc-xse-sns"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze index 1d51e4782df..836b6bdd4cd 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze @@ -1 +1 @@ -2023-03-02T15:41:16.500Z \ No newline at end of file +2024-11-14T19:12:44.087Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.yaml index 2975303ec1c..be18676b5e0 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_pipelines_data_source.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1677771676 with ci_pipelines datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1731611564 with ci_pipelines datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"iu9-viw-buz","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1677771676 - with ci_pipelines datasource","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/iu9-viw-buz/test-createanewtimeserieswidgetwithcipipelinesdatasource-1677771676-with-cipipel","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"},"id":2105687409669278}],"notify_list":null,"created_at":"2023-03-02T15:41:16.697612+00:00","modified_at":"2023-03-02T15:41:16.697612+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"pjm-jv3-48u","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1731611564 + with ci_pipelines datasource","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/pjm-jv3-48u/test-createanewtimeserieswidgetwithcipipelinesdatasource-1731611564-with-cipipel","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"},"id":2715700701433922}],"notify_list":null,"created_at":"2024-11-14T19:12:44.239849+00:00","modified_at":"2024-11-14T19:12:44.239849+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/iu9-viw-buz + url: https://api.datadoghq.com/api/v1/dashboard/pjm-jv3-48u response: - body: '{"deleted_dashboard_id":"iu9-viw-buz"} + body: '{"deleted_dashboard_id":"pjm-jv3-48u"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze index 5b964cc4a85..07996dab86e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze @@ -1 +1 @@ -2022-08-22T19:31:16.232Z \ No newline at end of file +2024-11-14T19:12:44.499Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.yaml index 3dc65361b50..195ae425b98 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_ci_tests_data_source.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1661196676 with ci_tests datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"ci_tests","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1731611564 with ci_tests datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"ci_tests","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"ykp-mnk-euu","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1661196676 - with ci_tests datasource","url":"/dashboard/ykp-mnk-euu/test-createanewtimeserieswidgetwithcitestsdatasource-1661196676-with-citests-dat","created_at":"2022-08-22T19:31:16.421905+00:00","modified_at":"2022-08-22T19:31:16.421905+00:00","reflow_type":"auto","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"title":"","legend_layout":"auto","show_legend":true,"time":{},"requests":[{"formulas":[{"formula":"query1"}],"style":{"line_width":"normal","palette":"dog_classic","line_type":"solid"},"display_type":"line","response_format":"timeseries","queries":[{"search":{"query":"test_level:test"},"data_source":"ci_tests","compute":{"aggregation":"count"},"name":"query1","indexes":["*"],"group_by":[]}]}],"type":"timeseries"},"id":5710436152334347}],"layout_type":"ordered"} + body: '{"id":"cdv-aqf-wud","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1731611564 + with ci_tests datasource","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/cdv-aqf-wud/test-createanewtimeserieswidgetwithcitestsdatasource-1731611564-with-citests-dat","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"ci_tests","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"},"id":6269280786174487}],"notify_list":null,"created_at":"2024-11-14T19:12:44.657788+00:00","modified_at":"2024-11-14T19:12:44.657788+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ykp-mnk-euu + url: https://api.datadoghq.com/api/v1/dashboard/cdv-aqf-wud response: - body: '{"deleted_dashboard_id":"ykp-mnk-euu"} + body: '{"deleted_dashboard_id":"cdv-aqf-wud"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze index 4db9b8d383e..65755df7692 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze @@ -1 +1 @@ -2024-07-23T14:59:59.215Z \ No newline at end of file +2024-11-14T19:12:44.903Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.yaml index 270f5b089e5..965364a517b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_incident_analytics_data_source.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1721746799 with incident_analytics datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"incident_analytics","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1731611564 with incident_analytics datasource","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"incident_analytics","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"r29-a2b-nhh","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1721746799 - with incident_analytics datasource","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/r29-a2b-nhh/test-createanewtimeserieswidgetwithincidentanalyticsdatasource-1721746799-with-i","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"incident_analytics","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"},"id":4216078110414841}],"notify_list":null,"created_at":"2024-07-23T14:59:59.491800+00:00","modified_at":"2024-07-23T14:59:59.491800+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"d25-w5x-ehk","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1731611564 + with incident_analytics datasource","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/d25-w5x-ehk/test-createanewtimeserieswidgetwithincidentanalyticsdatasource-1731611564-with-i","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count"},"data_source":"incident_analytics","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"test_level:test"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{},"title":"","type":"timeseries"},"id":4201081844412552}],"notify_list":null,"created_at":"2024-11-14T19:12:45.054939+00:00","modified_at":"2024-11-14T19:12:45.054939+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -30,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/r29-a2b-nhh + url: https://api.datadoghq.com/api/v1/dashboard/d25-w5x-ehk response: - body: '{"deleted_dashboard_id":"r29-a2b-nhh"} + body: '{"deleted_dashboard_id":"d25-w5x-ehk"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze index 85c52092329..7315f4dc8b0 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:08:49.284Z \ No newline at end of file +2024-11-14T19:12:45.283Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.yaml index 93ed0069732..9c33659074f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_legacy_live_span_time_format.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 with legacy live span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"5m"},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1731611565 with legacy live span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"5m"},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"dfy-yby-e2c","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 - with legacy live span time","description":null,"author_handle":"d5459c54-9e9d-11ee-a5c9-ce6dc639753f","author_name":"CI - Service Account","layout_type":"ordered","url":"/dashboard/dfy-yby-e2c/test-createanewtimeserieswidgetwithlegacylivespantimeformat-1723133329-with-lega","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"5m"},"title":"","type":"timeseries"},"id":6745766981061097}],"notify_list":null,"created_at":"2024-08-08T16:08:49.543129+00:00","modified_at":"2024-08-08T16:08:49.543129+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"nsa-nv8-m5q","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1731611565 + with legacy live span time","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/nsa-nv8-m5q/test-createanewtimeserieswidgetwithlegacylivespantimeformat-1731611565-with-lega","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"live_span":"5m"},"title":"","type":"timeseries"},"id":4418624509298347}],"notify_list":null,"created_at":"2024-11-14T19:12:45.445247+00:00","modified_at":"2024-11-14T19:12:45.445247+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/dfy-yby-e2c + url: https://api.datadoghq.com/api/v1/dashboard/nsa-nv8-m5q response: - body: '{"deleted_dashboard_id":"dfy-yby-e2c"} + body: '{"deleted_dashboard_id":"nsa-nv8-m5q"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze index 038444cbe0f..b51338e8f50 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:09:04.492Z \ No newline at end of file +2024-11-14T19:12:45.751Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.yaml index a9454c344c9..2d02bf0b979 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_fixed_span_time_format.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 with new fixed span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"from":1712080128,"to":1712083128,"type":"fixed"},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1731611565 with new fixed span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"from":1712080128,"to":1712083128,"type":"fixed"},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"kvv-wiy-nsu","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 - with new fixed span time","description":null,"author_handle":"d5459c54-9e9d-11ee-a5c9-ce6dc639753f","author_name":"CI - Service Account","layout_type":"ordered","url":"/dashboard/kvv-wiy-nsu/test-createanewtimeserieswidgetwithnewfixedspantimeformat-1723133344-with-new-fi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"from":1712080128,"to":1712083128,"type":"fixed"},"title":"","type":"timeseries"},"id":1421131468062823}],"notify_list":null,"created_at":"2024-08-08T16:09:04.750457+00:00","modified_at":"2024-08-08T16:09:04.750457+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"aka-wb3-49f","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1731611565 + with new fixed span time","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/aka-wb3-49f/test-createanewtimeserieswidgetwithnewfixedspantimeformat-1731611565-with-new-fi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"from":1712080128,"to":1712083128,"type":"fixed"},"title":"","type":"timeseries"},"id":5500662317894512}],"notify_list":null,"created_at":"2024-11-14T19:12:45.921766+00:00","modified_at":"2024-11-14T19:12:45.921766+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/kvv-wiy-nsu + url: https://api.datadoghq.com/api/v1/dashboard/aka-wb3-49f response: - body: '{"deleted_dashboard_id":"kvv-wiy-nsu"} + body: '{"deleted_dashboard_id":"aka-wb3-49f"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze index 80af97252df..955af2958e3 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:09:15.828Z \ No newline at end of file +2024-11-14T19:12:46.156Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.yaml index 9c891e1f03d..2454c444e87 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_timeseries_widget_with_new_live_span_time_format.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1723133355 with new live span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"type":"live","unit":"minute","value":8},"title":"","type":"timeseries"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1731611566 with new live span time","widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"type":"live","unit":"minute","value":8},"title":"","type":"timeseries"}}]} form: {} headers: Accept: @@ -12,9 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"mew-pjn-ndm","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1723133355 - with new live span time","description":null,"author_handle":"d5459c54-9e9d-11ee-a5c9-ce6dc639753f","author_name":"CI - Service Account","layout_type":"ordered","url":"/dashboard/mew-pjn-ndm/test-createanewtimeserieswidgetwithnewlivespantimeformat-1723133355-with-new-liv","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"type":"live","unit":"minute","value":8},"title":"","type":"timeseries"},"id":6031010449478602}],"notify_list":null,"created_at":"2024-08-08T16:09:16.036773+00:00","modified_at":"2024-08-08T16:09:16.036773+00:00","reflow_type":"auto","restricted_roles":[]} + body: '{"id":"vtj-mcf-jsm","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1731611566 + with new live span time","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/vtj-mcf-jsm/test-createanewtimeserieswidgetwithnewlivespantimeformat-1731611566-with-new-liv","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"legend_columns":["avg","min","max","value","sum"],"legend_layout":"auto","requests":[{"display_type":"line","formulas":[{"formula":"query1"}],"queries":[{"compute":{"aggregation":"count","metric":"@ci.queue_time"},"data_source":"ci_pipelines","group_by":[],"indexes":["*"],"name":"query1","search":{"query":"ci_level:job"}}],"response_format":"timeseries","style":{"line_type":"solid","line_width":"normal","palette":"dog_classic"}}],"show_legend":true,"time":{"type":"live","unit":"minute","value":8},"title":"","type":"timeseries"},"id":5724867622312294}],"notify_list":null,"created_at":"2024-11-14T19:12:46.310420+00:00","modified_at":"2024-11-14T19:12:46.310420+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/mew-pjn-ndm + url: https://api.datadoghq.com/api/v1/dashboard/vtj-mcf-jsm response: - body: '{"deleted_dashboard_id":"mew-pjn-ndm"} + body: '{"deleted_dashboard_id":"vtj-mcf-jsm"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze index 89dac55f335..69b301ba042 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze @@ -1 +1 @@ -2023-03-31T21:01:49.932Z \ No newline at end of file +2024-11-14T19:12:46.557Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.freeze index 9de127c1f3f..da3a8ab12d1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-31T21:01:50.111Z \ No newline at end of file +2024-11-14T19:12:46.664Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.yaml index 3da5a14c3dc..8c83a9a8cf1 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_shared_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Create_a_shared_dashboard_returns_OK_response-1680296510 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731611566 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"ku9-p3f-2qu","title":"Test-Create_a_shared_dashboard_returns_OK_response-1680296510 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ku9-p3f-2qu/test-createashareddashboardreturnsokresponse-1680296510-with-profile-metrics-que","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":1709388709940781}],"notify_list":null,"created_at":"2023-03-31T21:01:50.263804+00:00","modified_at":"2023-03-31T21:01:50.263804+00:00","restricted_roles":[]} + body: '{"id":"zc8-ujq-5pw","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731611566 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/zc8-ujq-5pw/test-createashareddashboardreturnsokresponse-1731611566-with-profile-metrics-que","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":8629710172038882}],"notify_list":null,"created_at":"2024-11-14T19:12:46.843636+00:00","modified_at":"2024-11-14T19:12:46.843636+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"ku9-p3f-2qu","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_type":"open"} + {"dashboard_id":"zc8-ujq-5pw","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_type":"open"} form: {} headers: Accept: @@ -35,7 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"ku9-p3f-2qu","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3","created":"2023-03-31T21:01:50.643308+00:00","share_type":"open","share_list":null} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"zc8-ujq-5pw","dashboard_type":"custom_timeboard","status":"active","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731611566 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4","created":"2024-11-14T19:12:47.159926+00:00","share_type":"open","share_list":null,"session_duration_in_days":null,"invitees":[]} ' code: 200 @@ -52,9 +54,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4 response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4"} ' code: 200 @@ -71,9 +73,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ku9-p3f-2qu + url: https://api.datadoghq.com/api/v1/dashboard/zc8-ujq-5pw response: - body: '{"deleted_dashboard_id":"ku9-p3f-2qu"} + body: '{"deleted_dashboard_id":"zc8-ujq-5pw"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.freeze index f5d03f98429..d80bc1bcd29 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-02-25T08:54:59.728Z \ No newline at end of file +2024-11-14T19:12:47.633Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.yaml index c10c99ea146..19947781fd5 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_a_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Delete_a_dashboard_returns_OK_response-1645779299 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Delete_a_dashboard_returns_OK_response-1731611567 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"sbs-4fb-9dc","title":"Test-Delete_a_dashboard_returns_OK_response-1645779299 - with Profile Metrics Query","url":"/dashboard/sbs-4fb-9dc/test-deleteadashboardreturnsokresponse-1645779299-with-profile-metrics-query","created_at":"2022-02-25T08:55:00.681383+00:00","modified_at":"2022-02-25T08:55:00.681383+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":7246585146253581}],"layout_type":"ordered"}' + body: '{"id":"7g3-mu4-zqy","title":"Test-Delete_a_dashboard_returns_OK_response-1731611567 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/7g3-mu4-zqy/test-deleteadashboardreturnsokresponse-1731611567-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":3061455461089207}],"notify_list":null,"created_at":"2024-11-14T19:12:47.802885+00:00","modified_at":"2024-11-14T19:12:47.802885+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/sbs-4fb-9dc + url: https://api.datadoghq.com/api/v1/dashboard/7g3-mu4-zqy response: - body: '{"deleted_dashboard_id":"sbs-4fb-9dc"}' + body: '{"deleted_dashboard_id":"7g3-mu4-zqy"} + + ' code: 200 duration: 0ms headers: @@ -45,9 +50,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/sbs-4fb-9dc + url: https://api.datadoghq.com/api/v1/dashboard/7g3-mu4-zqy response: - body: '{"errors": ["Dashboard with ID sbs-4fb-9dc not found"]}' + body: '{"errors":["Dashboard with ID 7g3-mu4-zqy not found"]}' code: 404 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.freeze index 1725a43580e..2478cb8050f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.freeze @@ -1 +1 @@ -2022-05-12T09:49:49.741Z \ No newline at end of file +2024-11-14T19:12:48.160Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.yaml index 24c7976236e..b1515a85a2d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Delete_dashboards_returns_No_Content_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Delete_dashboards_returns_No_Content_response-1652348989 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Delete_dashboards_returns_No_Content_response-1731611568 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"u68-sze-n8e","title":"Test-Delete_dashboards_returns_No_Content_response-1652348989 - with Profile Metrics Query","url":"/dashboard/u68-sze-n8e/test-deletedashboardsreturnsnocontentresponse-1652348989-with-profile-metrics-qu","created_at":"2022-05-12T09:49:50.272678+00:00","modified_at":"2022-05-12T09:49:50.272678+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":6438161043980974}],"layout_type":"ordered"}' + body: '{"id":"7r3-8uu-hh9","title":"Test-Delete_dashboards_returns_No_Content_response-1731611568 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/7r3-8uu-hh9/test-deletedashboardsreturnsnocontentresponse-1731611568-with-profile-metrics-qu","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":8097659346546797}],"notify_list":null,"created_at":"2024-11-14T19:12:48.318901+00:00","modified_at":"2024-11-14T19:12:48.318901+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -22,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"data":[{"id":"u68-sze-n8e","type":"dashboard"}]} + {"data":[{"id":"7r3-8uu-hh9","type":"dashboard"}]} form: {} headers: Accept: @@ -36,7 +39,9 @@ interactions: body: '' code: 204 duration: 0ms - headers: {} + headers: + Content-Type: + - text/html; charset=utf-8 status: 204 No Content - request: body: '' @@ -46,9 +51,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u68-sze-n8e + url: https://api.datadoghq.com/api/v1/dashboard/7r3-8uu-hh9 response: - body: '{"errors": ["Dashboard with ID u68-sze-n8e not found"]}' + body: '{"errors":["Dashboard with ID 7r3-8uu-hh9 not found"]}' code: 404 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.freeze index 8e5ea146c13..094aed4527f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-02-25T08:55:08.687Z \ No newline at end of file +2024-11-14T19:12:48.640Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.yaml index f36c1e68730..58c33b7b611 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Get_a_dashboard_returns_OK_response-1645779308 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Get_a_dashboard_returns_OK_response-1731611568 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"u9q-fdh-vhp","title":"Test-Get_a_dashboard_returns_OK_response-1645779308 - with Profile Metrics Query","url":"/dashboard/u9q-fdh-vhp/test-getadashboardreturnsokresponse-1645779308-with-profile-metrics-query","created_at":"2022-02-25T08:55:09.197511+00:00","modified_at":"2022-02-25T08:55:09.197511+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":4650197596442225}],"layout_type":"ordered"}' + body: '{"id":"8u7-9gr-rx9","title":"Test-Get_a_dashboard_returns_OK_response-1731611568 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/8u7-9gr-rx9/test-getadashboardreturnsokresponse-1731611568-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":942871578443424}],"notify_list":null,"created_at":"2024-11-14T19:12:48.809197+00:00","modified_at":"2024-11-14T19:12:48.809197+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,10 +31,13 @@ interactions: - application/json id: 1 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/u9q-fdh-vhp + url: https://api.datadoghq.com/api/v1/dashboard/8u7-9gr-rx9 response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"u9q-fdh-vhp","title":"Test-Get_a_dashboard_returns_OK_response-1645779308 - with Profile Metrics Query","url":"/dashboard/u9q-fdh-vhp/test-getadashboardreturnsokresponse-1645779308-with-profile-metrics-query","created_at":"2022-02-25T08:55:09.197511+00:00","modified_at":"2022-02-25T08:55:09.197511+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":4650197596442225}],"layout_type":"ordered"}' + body: '{"id":"8u7-9gr-rx9","title":"Test-Get_a_dashboard_returns_OK_response-1731611568 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/8u7-9gr-rx9/test-getadashboardreturnsokresponse-1731611568-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":942871578443424}],"notify_list":null,"created_at":"2024-11-14T19:12:48.809197+00:00","modified_at":"2024-11-14T19:12:48.809197+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -46,9 +52,11 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u9q-fdh-vhp + url: https://api.datadoghq.com/api/v1/dashboard/8u7-9gr-rx9 response: - body: '{"deleted_dashboard_id":"u9q-fdh-vhp"}' + body: '{"deleted_dashboard_id":"8u7-9gr-rx9"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.freeze index b877b6dbf69..ab68b32b6c2 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:13:43.155Z \ No newline at end of file +2024-11-14T19:12:49.266Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.yaml index be07acd4be3..362645e5cc6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_a_shared_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Get_a_shared_dashboard_returns_OK_response-1680884023 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731611569 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"zrc-p5j-6r5","title":"Test-Get_a_shared_dashboard_returns_OK_response-1680884023 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/zrc-p5j-6r5/test-getashareddashboardreturnsokresponse-1680884023-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":1984776941235348}],"notify_list":null,"created_at":"2023-04-07T16:13:43.596459+00:00","modified_at":"2023-04-07T16:13:43.596459+00:00","restricted_roles":[]} + body: '{"id":"zwb-m89-nt7","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731611569 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/zwb-m89-nt7/test-getashareddashboardreturnsokresponse-1731611569-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":6181630513564549}],"notify_list":null,"created_at":"2024-11-14T19:12:49.453819+00:00","modified_at":"2024-11-14T19:12:49.453819+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"zrc-p5j-6r5","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetashareddashboardreturnsokresponse1680884023@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"zwb-m89-nt7","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetashareddashboardreturnsokresponse1731611569@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -35,7 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"zrc-p5j-6r5","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467","created":"2023-04-07T16:13:44.162867+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1680884023@datadoghq.com"]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"zwb-m89-nt7","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731611569 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1","created":"2024-11-14T19:12:49.788461+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1731611569@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetashareddashboardreturnsokresponse1731611569@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-14T19:12:49.820935+00:00"}]} ' code: 200 @@ -52,9 +54,10 @@ interactions: - application/json id: 2 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1 response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"zrc-p5j-6r5","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467","created":"2023-04-07T16:13:44.162867+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1680884023@datadoghq.com"]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"zwb-m89-nt7","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731611569 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1","created":"2024-11-14T19:12:49.788461+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1731611569@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetashareddashboardreturnsokresponse1731611569@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-14T19:12:49.820935+00:00"}]} ' code: 200 @@ -71,9 +74,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1 response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1"} ' code: 200 @@ -90,9 +93,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zrc-p5j-6r5 + url: https://api.datadoghq.com/api/v1/dashboard/zwb-m89-nt7 response: - body: '{"deleted_dashboard_id":"zrc-p5j-6r5"} + body: '{"deleted_dashboard_id":"zwb-m89-nt7"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze index 4fab458599f..d48ca7e2065 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:13:45.509Z \ No newline at end of file +2024-11-14T19:12:50.331Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.yaml index 247b18d09d2..391ed0488b7 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_invitations_for_a_shared_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1680884025 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731611570 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"ggv-zp5-2r8","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1680884025 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ggv-zp5-2r8/test-getallinvitationsforashareddashboardreturnsokresponse-1680884025-with-profi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":6124782451549434}],"notify_list":null,"created_at":"2023-04-07T16:13:45.869264+00:00","modified_at":"2023-04-07T16:13:45.869264+00:00","restricted_roles":[]} + body: '{"id":"fkc-v6q-qze","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731611570 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/fkc-v6q-qze/test-getallinvitationsforashareddashboardreturnsokresponse-1731611570-with-profi","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":366760305923022}],"notify_list":null,"created_at":"2024-11-14T19:12:50.495987+00:00","modified_at":"2024-11-14T19:12:50.495987+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"ggv-zp5-2r8","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1680884025@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"fkc-v6q-qze","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1731611570@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -35,7 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"ggv-zp5-2r8","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be","created":"2023-04-07T16:13:46.433503+00:00","share_type":"invite","share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1680884025@datadoghq.com"]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"fkc-v6q-qze","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731611570 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da","created":"2024-11-14T19:12:50.829214+00:00","share_type":"invite","share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1731611570@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetallinvitationsforashareddashboardreturnsokresponse1731611570@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-14T19:12:50.855355+00:00"}]} ' code: 200 @@ -52,7 +54,7 @@ interactions: - application/json id: 2 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da/invitation response: body: '{"data":[],"meta":{"page":{"total_count":0}}} @@ -71,9 +73,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da"} ' code: 200 @@ -90,9 +92,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ggv-zp5-2r8 + url: https://api.datadoghq.com/api/v1/dashboard/fkc-v6q-qze response: - body: '{"deleted_dashboard_id":"ggv-zp5-2r8"} + body: '{"deleted_dashboard_id":"fkc-v6q-qze"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.freeze index eb75e492363..782c991a59b 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.freeze @@ -1 +1 @@ -2022-05-12T09:49:51.385Z \ No newline at end of file +2024-11-14T19:12:51.450Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.yaml index 4487ed5f1e7..55f4ccd9924 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Restore_deleted_dashboards_returns_No_Content_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1652348991 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1731611571 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"9tx-gsv-z5x","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1652348991 - with Profile Metrics Query","url":"/dashboard/9tx-gsv-z5x/test-restoredeleteddashboardsreturnsnocontentresponse-1652348991-with-profile-me","created_at":"2022-05-12T09:49:51.831214+00:00","modified_at":"2022-05-12T09:49:51.831214+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":4207265436765014}],"layout_type":"ordered"}' + body: '{"id":"vmk-awa-gje","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1731611571 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/vmk-awa-gje/test-restoredeleteddashboardsreturnsnocontentresponse-1731611571-with-profile-me","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":1217565763013822}],"notify_list":null,"created_at":"2024-11-14T19:12:51.626570+00:00","modified_at":"2024-11-14T19:12:51.626570+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -28,9 +31,11 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9tx-gsv-z5x + url: https://api.datadoghq.com/api/v1/dashboard/vmk-awa-gje response: - body: '{"deleted_dashboard_id":"9tx-gsv-z5x"}' + body: '{"deleted_dashboard_id":"vmk-awa-gje"} + + ' code: 200 duration: 0ms headers: @@ -39,7 +44,7 @@ interactions: status: 200 OK - request: body: | - {"data":[{"id":"9tx-gsv-z5x","type":"dashboard"}]} + {"data":[{"id":"vmk-awa-gje","type":"dashboard"}]} form: {} headers: Accept: @@ -53,7 +58,9 @@ interactions: body: '' code: 204 duration: 0ms - headers: {} + headers: + Content-Type: + - text/html; charset=utf-8 status: 204 No Content - request: body: '' @@ -63,9 +70,11 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9tx-gsv-z5x + url: https://api.datadoghq.com/api/v1/dashboard/vmk-awa-gje response: - body: '{"deleted_dashboard_id":"9tx-gsv-z5x"}' + body: '{"deleted_dashboard_id":"vmk-awa-gje"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.freeze index a4feec1f533..b52234e3c48 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:10:11.930Z \ No newline at end of file +2024-11-14T19:12:52.187Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.yaml index a1da1ff2086..b9d1c91a62e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Send_shared_dashboard_invitation_email_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1680883811 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731611572 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"raa-btt-uqs","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1680883811 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/raa-btt-uqs/test-sendshareddashboardinvitationemailreturnsokresponse-1680883811-with-profile","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":2455557193881497}],"notify_list":null,"created_at":"2023-04-07T16:10:12.130578+00:00","modified_at":"2023-04-07T16:10:12.130578+00:00","restricted_roles":[]} + body: '{"id":"gut-f87-dcm","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731611572 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/gut-f87-dcm/test-sendshareddashboardinvitationemailreturnsokresponse-1731611572-with-profile","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":4948380477762847}],"notify_list":null,"created_at":"2024-11-14T19:12:52.340660+00:00","modified_at":"2024-11-14T19:12:52.340660+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"raa-btt-uqs","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"gut-f87-dcm","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -35,7 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"raa-btt-uqs","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e","created":"2023-04-07T16:10:12.476162+00:00","share_type":"invite","share_list":["testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com"]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"gut-f87-dcm","dashboard_type":"custom_timeboard","status":"active","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731611572 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c","created":"2024-11-14T19:12:52.652942+00:00","share_type":"invite","share_list":["testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-14T19:12:52.686291+00:00"}]} ' code: 200 @@ -46,7 +48,7 @@ interactions: status: 200 OK - request: body: | - {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com"},"type":"public_dashboard_invitation"}} + {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"},"type":"public_dashboard_invitation"}} form: {} headers: Accept: @@ -55,9 +57,9 @@ interactions: - application/json id: 2 method: POST - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation response: - body: '{"data":{"type":"public_dashboard_invitation","attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com","share_token":"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e","created_at":"2023-04-07T16:10:12.708843+00:00","invitation_expiry":"2023-04-07T17:10:12.707450+00:00","has_session":false,"session_expiry":null}}} + body: '{"data":{"type":"public_dashboard_invitation","attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com","share_token":"fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c","created_at":"2024-11-14T19:12:52.852357+00:00","invitation_expiry":"2024-11-14T20:12:52.847878+00:00","has_session":false,"session_expiry":null}}} ' code: 201 @@ -68,7 +70,7 @@ interactions: status: 201 Created - request: body: | - {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com"},"type":"public_dashboard_invitation"}} + {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"},"type":"public_dashboard_invitation"}} form: {} headers: Accept: @@ -77,7 +79,7 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation response: body: '' code: 204 @@ -94,9 +96,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c"} ' code: 200 @@ -113,9 +115,9 @@ interactions: - application/json id: 5 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/raa-btt-uqs + url: https://api.datadoghq.com/api/v1/dashboard/gut-f87-dcm response: - body: '{"deleted_dashboard_id":"raa-btt-uqs"} + body: '{"deleted_dashboard_id":"gut-f87-dcm"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.freeze index 7ef474129a1..9b016bffb8e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-04-19T09:27:29.726Z \ No newline at end of file +2024-11-14T19:12:53.526Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.yaml index d8a7298f6f0..cb4f43d026d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1650360449 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1731611573 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,11 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"f9b-648-ep9","title":"Test-Update_a_dashboard_returns_OK_response-1650360449 - with Profile Metrics Query","url":"/dashboard/f9b-648-ep9/test-updateadashboardreturnsokresponse-1650360449-with-profile-metrics-query","created_at":"2022-04-19T09:27:29.963904+00:00","modified_at":"2022-04-19T09:27:29.963904+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":130613274141546}],"layout_type":"ordered"}' + body: '{"id":"5xn-4yt-3vj","title":"Test-Update_a_dashboard_returns_OK_response-1731611573 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/5xn-4yt-3vj/test-updateadashboardreturnsokresponse-1731611573-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":326375296924581}],"notify_list":null,"created_at":"2024-11-14T19:12:53.681001+00:00","modified_at":"2024-11-14T19:12:53.681001+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -22,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"description":"Updated description","layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1650360449 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"description":"Updated description","layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1731611573 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -31,10 +34,13 @@ interactions: - application/json id: 1 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/f9b-648-ep9 + url: https://api.datadoghq.com/api/v1/dashboard/5xn-4yt-3vj response: - body: '{"notify_list":null,"description":"Updated description","restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"f9b-648-ep9","title":"Test-Update_a_dashboard_returns_OK_response-1650360449 - with list_stream widget","url":"/dashboard/f9b-648-ep9/test-updateadashboardreturnsokresponse-1650360449-with-liststream-widget","created_at":"2022-04-19T09:27:29.963904+00:00","modified_at":"2022-04-19T09:27:30.331830+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"query":{"query_string":"","data_source":"apm_issue_stream"},"response_format":"event_list","columns":[{"field":"timestamp","width":"auto"}]}],"type":"list_stream"},"id":7235388013669172}],"layout_type":"ordered"}' + body: '{"id":"5xn-4yt-3vj","title":"Test-Update_a_dashboard_returns_OK_response-1731611573 + with list_stream widget","description":"Updated description","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/5xn-4yt-3vj/test-updateadashboardreturnsokresponse-1731611573-with-liststream-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":2243312871402041}],"notify_list":null,"created_at":"2024-11-14T19:12:53.681001+00:00","modified_at":"2024-11-14T19:12:53.919704+00:00","restricted_roles":[]} + + ' code: 200 duration: 0ms headers: @@ -49,9 +55,11 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/f9b-648-ep9 + url: https://api.datadoghq.com/api/v1/dashboard/5xn-4yt-3vj response: - body: '{"deleted_dashboard_id":"f9b-648-ep9"}' + body: '{"deleted_dashboard_id":"5xn-4yt-3vj"} + + ' code: 200 duration: 0ms headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.freeze index 09bab8b8312..a9783311d3e 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-10T23:23:35.716Z \ No newline at end of file +2024-11-14T19:12:54.203Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.yaml index 1c2bb35304d..64018ebfc0a 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_dashboard_with_tags_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731611574 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"ad2-8ch-y8s","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ad2-8ch-y8s/test-updateadashboardwithtagsreturnsokresponse-1678490615-with-profile-metrics-q","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":6897153580739865}],"notify_list":null,"created_at":"2023-03-10T23:23:35.908079+00:00","modified_at":"2023-03-10T23:23:35.908079+00:00","tags":[],"restricted_roles":[]} + body: '{"id":"czi-xdb-s6p","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731611574 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/czi-xdb-s6p/test-updateadashboardwithtagsreturnsokresponse-1731611574-with-profile-metrics-q","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":3237823039056245}],"notify_list":null,"created_at":"2024-11-14T19:12:54.366180+00:00","modified_at":"2024-11-14T19:12:54.366180+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"description":"Updated description","layout_type":"ordered","tags":["team:foo","team:bar"],"title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} + {"description":"Updated description","layout_type":"ordered","tags":["team:foo","team:bar"],"title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731611574 with list_stream widget","widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"}}]} form: {} headers: Accept: @@ -33,10 +34,11 @@ interactions: - application/json id: 1 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/ad2-8ch-y8s + url: https://api.datadoghq.com/api/v1/dashboard/czi-xdb-s6p response: - body: '{"id":"ad2-8ch-y8s","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 - with list_stream widget","description":"Updated description","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ad2-8ch-y8s/test-updateadashboardwithtagsreturnsokresponse-1678490615-with-liststream-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":4545330920817753}],"notify_list":null,"created_at":"2023-03-10T23:23:35.908079+00:00","modified_at":"2023-03-10T23:23:36.124521+00:00","tags":["team:foo","team:bar"],"restricted_roles":[]} + body: '{"id":"czi-xdb-s6p","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731611574 + with list_stream widget","description":"Updated description","author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/czi-xdb-s6p/test-updateadashboardwithtagsreturnsokresponse-1731611574-with-liststream-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"columns":[{"field":"timestamp","width":"auto"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}],"type":"list_stream"},"id":21493426206915}],"notify_list":null,"created_at":"2024-11-14T19:12:54.366180+00:00","modified_at":"2024-11-14T19:12:54.607510+00:00","tags":["team:foo","team:bar"],"restricted_roles":[]} ' code: 200 @@ -53,9 +55,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ad2-8ch-y8s + url: https://api.datadoghq.com/api/v1/dashboard/czi-xdb-s6p response: - body: '{"deleted_dashboard_id":"ad2-8ch-y8s"} + body: '{"deleted_dashboard_id":"czi-xdb-s6p"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.freeze index eea423a1370..54de005803c 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-12T20:55:44.574Z \ No newline at end of file +2024-11-14T19:12:54.907Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.yaml index 57b1c3367bc..61f6c416289 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Update_a_shared_dashboard_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Update_a_shared_dashboard_returns_OK_response-1681332944 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731611574 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -12,8 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"id":"n4p-ymg-wjf","title":"Test-Update_a_shared_dashboard_returns_OK_response-1681332944 - with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/n4p-ymg-wjf/test-updateashareddashboardreturnsokresponse-1681332944-with-profile-metrics-que","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":8334852074489292}],"notify_list":null,"created_at":"2023-04-12T20:55:45.157005+00:00","modified_at":"2023-04-12T20:55:45.157005+00:00","restricted_roles":[]} + body: '{"id":"88w-xn2-mij","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731611574 + with Profile Metrics Query","description":null,"author_handle":"anika.maskara@datadoghq.com","author_name":"Anika + Maskara","layout_type":"ordered","url":"/dashboard/88w-xn2-mij/test-updateashareddashboardreturnsokresponse-1731611574-with-profile-metrics-que","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":6560132249388355}],"notify_list":null,"created_at":"2024-11-14T19:12:55.067902+00:00","modified_at":"2024-11-14T19:12:55.067902+00:00","restricted_roles":[]} ' code: 200 @@ -24,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"n4p-ymg-wjf","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testupdateashareddashboardreturnsokresponse1681332944@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"88w-xn2-mij","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testupdateashareddashboardreturnsokresponse1731611574@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -35,7 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"n4p-ymg-wjf","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7","created":"2023-04-12T20:55:45.513088+00:00","share_type":"invite","share_list":["testupdateashareddashboardreturnsokresponse1681332944@datadoghq.com"]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"88w-xn2-mij","dashboard_type":"custom_timeboard","status":"active","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731611574 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"1h"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec","created":"2024-11-14T19:12:55.398738+00:00","share_type":"invite","share_list":["testupdateashareddashboardreturnsokresponse1731611574@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testupdateashareddashboardreturnsokresponse1731611574@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-14T19:12:55.430476+00:00"}]} ' code: 200 @@ -55,9 +57,10 @@ interactions: - application/json id: 2 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec response: - body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"n4p-ymg-wjf","dashboard_type":"custom_timeboard","global_time_selectable_enabled":false,"global_time":{"live_span":"15m"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7","created":"2023-04-12T20:55:45.513088+00:00","share_type":"open","share_list":[]} + body: '{"author":{"handle":"anika.maskara@datadoghq.com","name":"Anika Maskara"},"dashboard_id":"88w-xn2-mij","dashboard_type":"custom_timeboard","status":"active","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731611574 + with Profile Metrics Query","viewing_preferences":{},"expiration":null,"last_accessed":null,"global_time_selectable_enabled":false,"global_time":{"live_span":"15m"},"selectable_template_vars":null,"token":"fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec","created":"2024-11-14T19:12:55.398738+00:00","share_type":"open","share_list":[],"session_duration_in_days":null,"invitees":[]} ' code: 200 @@ -74,9 +77,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec"} ' code: 200 @@ -93,9 +96,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/n4p-ymg-wjf + url: https://api.datadoghq.com/api/v1/dashboard/88w-xn2-mij response: - body: '{"deleted_dashboard_id":"n4p-ymg-wjf"} + body: '{"deleted_dashboard_id":"88w-xn2-mij"} ' code: 200 diff --git a/tests/scenarios/features/v1/dashboards.feature b/tests/scenarios/features/v1/dashboards.feature index 0b4d397030a..8d1a1bb8aca 100644 --- a/tests/scenarios/features/v1/dashboards.feature +++ b/tests/scenarios/features/v1/dashboards.feature @@ -198,7 +198,7 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with a toplist widget sorted by group Given new "CreateDashboard" request - And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked","legend": "inline"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","is_read_only":false,"notify_list":[]} + And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked","legend": "inline"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","notify_list":[]} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "toplist" @@ -209,7 +209,7 @@ Feature: Dashboards @skip-typescript @team:DataDog/dashboards-backend Scenario: Create a new dashboard with a toplist widget with stacked type and no legend specified Given new "CreateDashboard" request - And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","is_read_only":false,"notify_list":[]} + And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","notify_list":[]} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "toplist" @@ -360,7 +360,7 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with formula and function heatmap widget Given new "CreateDashboard" request - And body with value {"title": "{{ unique }}", "widgets": [{"layout": {"x": 0, "y": 0, "width": 47, "height": 15}, "definition": {"title": "", "title_size": "16", "title_align": "left", "time": {}, "type": "heatmap", "requests": [{"response_format": "timeseries", "queries": [{"data_source": "metrics", "name": "query1", "query": "avg:system.cpu.user{*}"}], "formulas": [{"formula": "query1"}], "style": {"palette": "dog_classic"}}]}}], "template_variables": [], "layout_type": "free", "is_read_only": false, "notify_list": []} + And body with value {"title": "{{ unique }}", "widgets": [{"layout": {"x": 0, "y": 0, "width": 47, "height": 15}, "definition": {"title": "", "title_size": "16", "title_align": "left", "time": {}, "type": "heatmap", "requests": [{"response_format": "timeseries", "queries": [{"data_source": "metrics", "name": "query1", "query": "avg:system.cpu.user{*}"}], "formulas": [{"formula": "query1"}], "style": {"palette": "dog_classic"}}]}}], "template_variables": [], "layout_type": "free", "notify_list": []} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "heatmap" @@ -757,14 +757,14 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults and default returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults returns "OK" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK And the response "template_variables[0].name" is equal to "host1" @@ -774,21 +774,21 @@ Feature: Dashboards @skip-validation @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults whose value has no length returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": [""], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": [""], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable presets using values and value returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "value": "*", "values": [ "*" ]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "value": "*", "values": [ "*" ]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable presets using values returns "OK" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "values": ["*", "my-host"]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "values": ["*", "my-host"]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK And the response "template_variable_presets[0].name" is equal to "my saved view" diff --git a/tests/scenarios/features/v1/dashboards_json_payload/alert_graph_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/alert_graph_widget.json index e1777b33802..9cc8d7b6c54 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/alert_graph_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/alert_graph_widget.json @@ -26,7 +26,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/alert_value_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/alert_value_widget.json index bd941285d7d..3eec7d23319 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/alert_value_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/alert_value_widget.json @@ -25,7 +25,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/check_status_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/check_status_widget.json index 8e346f95952..fc450c60fe9 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/check_status_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/check_status_widget.json @@ -25,7 +25,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/event_stream_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/event_stream_widget.json index db582c77448..02ed43088e0 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/event_stream_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/event_stream_widget.json @@ -24,7 +24,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/event_timeline_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/event_timeline_widget.json index 16d84984eba..f3be7c13a54 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/event_timeline_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/event_timeline_widget.json @@ -23,7 +23,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/free_text_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/free_text_widget.json index 25b242531b3..8a26bdac03f 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/free_text_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/free_text_widget.json @@ -22,7 +22,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/geomap_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/geomap_widget.json index 240094d4532..4221e91db9f 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/geomap_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/geomap_widget.json @@ -76,7 +76,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/heatmap_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/heatmap_widget.json index 9f31756deb6..f7aed11f905 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/heatmap_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/heatmap_widget.json @@ -32,7 +32,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/hostmap_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/hostmap_widget.json index 1318ee4e751..d2674f3e013 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/hostmap_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/hostmap_widget.json @@ -33,7 +33,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/iframe_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/iframe_widget.json index c6f0e167dfb..ea24da3ead7 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/iframe_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/iframe_widget.json @@ -19,7 +19,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/image_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/image_widget.json index ca60ce72dc8..7e235eb0e66 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/image_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/image_widget.json @@ -20,7 +20,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/log_stream_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/log_stream_widget.json index 0505c3d3adb..a2e0fda0d85 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/log_stream_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/log_stream_widget.json @@ -36,7 +36,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget.json index 086054cb4a6..c0b2ef166d1 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget.json @@ -27,7 +27,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget_priority_sort.json b/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget_priority_sort.json index daf815145b8..9001902ca6b 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget_priority_sort.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/manage_status_widget_priority_sort.json @@ -28,7 +28,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/note_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/note_widget.json index 4b8abf1de84..fef8bca60cd 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/note_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/note_widget.json @@ -19,7 +19,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/powerpack_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/powerpack_widget.json index de34784a687..a17b4049b21 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/powerpack_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/powerpack_widget.json @@ -24,6 +24,5 @@ } } ], - "description": "description", - "is_read_only": false + "description": "description" } \ No newline at end of file diff --git a/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget.json index d68b21f5c9a..5baa7c1d5de 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget.json @@ -57,7 +57,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget_text_formatting.json b/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget_text_formatting.json index 16ab243051d..db00df90962 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget_text_formatting.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/query_table_widget_text_formatting.json @@ -142,6 +142,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/tests/scenarios/features/v1/dashboards_json_payload/query_value_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/query_value_widget.json index 4d02afe6d8f..35f1b25f819 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/query_value_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/query_value_widget.json @@ -39,7 +39,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/run_workflow_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/run_workflow_widget.json index 8f03275935f..ec2be233b22 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/run_workflow_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/run_workflow_widget.json @@ -27,6 +27,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/tests/scenarios/features/v1/dashboards_json_payload/scatterplot_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/scatterplot_widget.json index 44bec999333..65bcc2ff3cd 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/scatterplot_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/scatterplot_widget.json @@ -70,7 +70,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/servicemap_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/servicemap_widget.json index ac958dfe1e0..627af2b786d 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/servicemap_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/servicemap_widget.json @@ -26,7 +26,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget.json index 74b5916587f..b8f36370a10 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget.json @@ -27,6 +27,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget_with_sort.json b/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget_with_sort.json index 2cfb87cf068..6db2ea4a7ee 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget_with_sort.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/slo_list_widget_with_sort.json @@ -33,6 +33,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/tests/scenarios/features/v1/dashboards_json_payload/slo_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/slo_widget.json index ae88c387a0b..14ad0cd1ba6 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/slo_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/slo_widget.json @@ -29,7 +29,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/split_graph_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/split_graph_widget.json index b3d6c44293a..574f5243f03 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/split_graph_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/split_graph_widget.json @@ -44,6 +44,5 @@ ], "template_variables":[], "layout_type":"ordered", - "is_read_only":false, "notify_list":[] } \ No newline at end of file diff --git a/tests/scenarios/features/v1/dashboards_json_payload/toplist_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/toplist_widget.json index bb07133d5f1..aacc72102a5 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/toplist_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/toplist_widget.json @@ -60,7 +60,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/tests/scenarios/features/v1/dashboards_json_payload/topology_map_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/topology_map_widget.json index e3cf8835182..1a9bae4f697 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/topology_map_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/topology_map_widget.json @@ -29,6 +29,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/tests/scenarios/features/v1/dashboards_json_payload/trace_service_widget.json b/tests/scenarios/features/v1/dashboards_json_payload/trace_service_widget.json index 62b7bcaf002..3e137fe649c 100644 --- a/tests/scenarios/features/v1/dashboards_json_payload/trace_service_widget.json +++ b/tests/scenarios/features/v1/dashboards_json_payload/trace_service_widget.json @@ -33,7 +33,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ]