From 04ba886450298723854c6dd9783c9dd907604eed Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 19:46:21 +0000 Subject: [PATCH] rerecord dashboards tests (#2792) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++--- ...mulas_and_functions_APM_Stats_query.freeze | 2 +- ...ormulas_and_functions_APM_Stats_query.yaml | 11 +++---- ...formulas_and_functions_events_query.freeze | 2 +- ...a_formulas_and_functions_events_query.yaml | 11 +++---- ...ormulas_and_functions_metrics_query.freeze | 2 +- ..._formulas_and_functions_metrics_query.yaml | 11 +++---- ..._widget_using_an_event_list_request.freeze | 2 +- ...ap_widget_using_an_event_list_request.yaml | 9 +++--- ...a_new_dashboard_returns_OK_response.freeze | 2 +- ...e_a_new_dashboard_returns_OK_response.yaml | 11 +++---- ...ng_formulas_and_functions_slo_query.freeze | 2 +- ...sing_formulas_and_functions_slo_query.yaml | 18 +++++------ ...ormulas_and_functions_change_widget.freeze | 2 +- ..._formulas_and_functions_change_widget.yaml | 9 +++--- ...rmulas_and_functions_treemap_widget.freeze | 2 +- ...formulas_and_functions_treemap_widget.yaml | 9 +++--- ...get_using_the_percentile_aggregator.freeze | 2 +- ...idget_using_the_percentile_aggregator.yaml | 11 +++---- ..._widget_using_timeseries_background.freeze | 2 +- ...ue_widget_using_timeseries_background.yaml | 11 +++---- ...eries_widget_and_an_overlay_request.freeze | 2 +- ...eseries_widget_and_an_overlay_request.yaml | 9 +++--- ...ulas_and_functions_cloud_cost_query.freeze | 2 +- ...rmulas_and_functions_cloud_cost_query.yaml | 11 +++---- ...th_a_toplist_widget_sorted_by_group.freeze | 2 +- ...with_a_toplist_widget_sorted_by_group.yaml | 11 +++---- ...tacked_type_and_no_legend_specified.freeze | 2 +- ..._stacked_type_and_no_legend_specified.yaml | 11 +++---- ...w_dashboard_with_alert_graph_widget.freeze | 2 +- ...new_dashboard_with_alert_graph_widget.yaml | 23 +++++++------- ...w_dashboard_with_alert_value_widget.freeze | 2 +- ...new_dashboard_with_alert_value_widget.yaml | 23 +++++++------- ..._dashboard_with_an_audit_logs_query.freeze | 2 +- ...ew_dashboard_with_an_audit_logs_query.yaml | 11 +++---- ...rd_with_apm_dependency_stats_widget.freeze | 2 +- ...oard_with_apm_dependency_stats_widget.yaml | 11 +++---- ...apm_issue_stream_list_stream_widget.freeze | 2 +- ...h_apm_issue_stream_list_stream_widget.yaml | 11 +++---- ...oard_with_apm_resource_stats_widget.freeze | 2 +- ...hboard_with_apm_resource_stats_widget.yaml | 9 +++--- ..._dashboard_with_check_status_widget.freeze | 2 +- ...ew_dashboard_with_check_status_widget.yaml | 9 +++--- ...h_ci_test_stream_list_stream_widget.freeze | 2 +- ...ith_ci_test_stream_list_stream_widget.yaml | 11 +++---- ...tribution_widget_and_apm_stats_data.freeze | 2 +- ...istribution_widget_and_apm_stats_data.yaml | 9 +++--- ...ith_event_stream_list_stream_widget.freeze | 2 +- ..._with_event_stream_list_stream_widget.yaml | 11 +++---- ..._dashboard_with_event_stream_widget.freeze | 2 +- ...ew_dashboard_with_event_stream_widget.yaml | 9 +++--- ...ashboard_with_event_timeline_widget.freeze | 2 +- ..._dashboard_with_event_timeline_widget.yaml | 11 +++---- ...formula_and_function_heatmap_widget.freeze | 2 +- ...h_formula_and_function_heatmap_widget.yaml | 9 +++--- ...as_and_functions_scatterplot_widget.freeze | 2 +- ...ulas_and_functions_scatterplot_widget.yaml | 11 +++---- ...new_dashboard_with_free_text_widget.freeze | 2 +- ...a_new_dashboard_with_free_text_widget.yaml | 11 +++---- ..._a_new_dashboard_with_funnel_widget.freeze | 2 +- ...te_a_new_dashboard_with_funnel_widget.yaml | 11 +++---- ..._a_new_dashboard_with_geomap_widget.freeze | 2 +- ...te_a_new_dashboard_with_geomap_widget.yaml | 9 +++--- ...a_new_dashboard_with_heatmap_widget.freeze | 2 +- ...e_a_new_dashboard_with_heatmap_widget.yaml | 11 +++---- ...a_new_dashboard_with_hostmap_widget.freeze | 2 +- ...e_a_new_dashboard_with_hostmap_widget.yaml | 11 +++---- ..._a_new_dashboard_with_iframe_widget.freeze | 2 +- ...te_a_new_dashboard_with_iframe_widget.yaml | 9 +++--- ...e_a_new_dashboard_with_image_widget.freeze | 2 +- ...ate_a_new_dashboard_with_image_widget.yaml | 9 +++--- ...m_tags_returns_Bad_Request_response.freeze | 2 +- ...eam_tags_returns_Bad_Request_response.yaml | 2 +- ...w_dashboard_with_list_stream_widget.freeze | 2 +- ...new_dashboard_with_list_stream_widget.yaml | 11 +++---- ...get_with_a_valid_sort_parameter_ASC.freeze | 2 +- ...idget_with_a_valid_sort_parameter_ASC.yaml | 11 +++---- ...et_with_a_valid_sort_parameter_DESC.freeze | 2 +- ...dget_with_a_valid_sort_parameter_DESC.yaml | 11 +++---- ...rvability_stream_list_stream_widget.freeze | 2 +- ...servability_stream_list_stream_widget.yaml | 13 ++++---- ...ew_dashboard_with_log_stream_widget.freeze | 2 +- ..._new_dashboard_with_log_stream_widget.yaml | 9 +++--- ...s_pattern_stream_list_stream_widget.freeze | 2 +- ...ogs_pattern_stream_list_stream_widget.yaml | 11 +++---- ..._table_widget_and_storage_parameter.freeze | 2 +- ...ry_table_widget_and_storage_parameter.yaml | 11 +++---- ...stream_widget_and_storage_parameter.freeze | 2 +- ...t_stream_widget_and_storage_parameter.yaml | 11 +++---- ...ansaction_stream_list_stream_widget.freeze | 2 +- ...transaction_stream_list_stream_widget.yaml | 11 +++---- ...dashboard_with_manage_status_widget.freeze | 2 +- ...w_dashboard_with_manage_status_widget.yaml | 9 +++--- ..._widget_and_show_priority_parameter.freeze | 2 +- ...us_widget_and_show_priority_parameter.yaml | 9 +++--- ...te_a_new_dashboard_with_note_widget.freeze | 2 +- ...eate_a_new_dashboard_with_note_widget.yaml | 11 +++---- ...new_dashboard_with_powerpack_widget.freeze | 2 +- ...a_new_dashboard_with_powerpack_widget.yaml | 20 ++++++------ ...w_dashboard_with_query_table_widget.freeze | 2 +- ...new_dashboard_with_query_table_widget.yaml | 11 +++---- ...ry_table_widget_and_text_formatting.freeze | 2 +- ...uery_table_widget_and_text_formatting.yaml | 11 +++---- ...w_dashboard_with_query_value_widget.freeze | 2 +- ...new_dashboard_with_query_value_widget.yaml | 9 +++--- ...rum_issue_stream_list_stream_widget.freeze | 2 +- ...h_rum_issue_stream_list_stream_widget.yaml | 11 +++---- ..._dashboard_with_run-workflow_widget.freeze | 2 +- ...ew_dashboard_with_run-workflow_widget.yaml | 11 +++---- ...w_dashboard_with_scatterplot_widget.freeze | 2 +- ...new_dashboard_with_scatterplot_widget.yaml | 11 +++---- ...ew_dashboard_with_servicemap_widget.freeze | 2 +- ..._new_dashboard_with_servicemap_widget.yaml | 9 +++--- ..._new_dashboard_with_slo_list_widget.freeze | 2 +- ..._a_new_dashboard_with_slo_list_widget.yaml | 20 ++++++------ ...oard_with_slo_list_widget_with_sort.freeze | 2 +- ...hboard_with_slo_list_widget_with_sort.yaml | 20 ++++++------ ...ate_a_new_dashboard_with_slo_widget.freeze | 2 +- ...reate_a_new_dashboard_with_slo_widget.yaml | 18 +++++------ ...w_dashboard_with_split_graph_widget.freeze | 2 +- ...new_dashboard_with_split_graph_widget.yaml | 9 +++--- ...th_sunburst_widget_and_metrics_data.freeze | 2 +- ...with_sunburst_widget_and_metrics_data.yaml | 11 +++---- ..._with_team_tags_returns_OK_response.freeze | 2 +- ...rd_with_team_tags_returns_OK_response.yaml | 9 +++--- ...efault_returns_Bad_Request_response.freeze | 2 +- ...riable_defaults_returns_OK_response.freeze | 2 +- ...variable_defaults_returns_OK_response.yaml | 7 ++--- ...length_returns_Bad_Request_response.freeze | 2 +- ..._value_returns_Bad_Request_response.freeze | 2 +- ...ts_using_values_returns_OK_response.freeze | 2 +- ...sets_using_values_returns_OK_response.yaml | 7 ++--- ...widget_and_formula_style_attributes.freeze | 2 +- ...s_widget_and_formula_style_attributes.yaml | 13 ++++---- ..._widget_containing_style_attributes.freeze | 2 +- ...es_widget_containing_style_attributes.yaml | 13 ++++---- ...a_new_dashboard_with_toplist_widget.freeze | 2 +- ...e_a_new_dashboard_with_toplist_widget.yaml | 11 +++---- ..._dashboard_with_topology_map_widget.freeze | 2 +- ...ew_dashboard_with_topology_map_widget.yaml | 9 +++--- ...dashboard_with_trace_service_widget.freeze | 2 +- ...w_dashboard_with_trace_service_widget.yaml | 11 +++---- ..._dashboard_with_trace_stream_widget.freeze | 2 +- ...ew_dashboard_with_trace_stream_widget.yaml | 11 +++---- ...idget_with_ci_pipelines_data_source.freeze | 2 +- ..._widget_with_ci_pipelines_data_source.yaml | 11 +++---- ...es_widget_with_ci_tests_data_source.freeze | 2 +- ...ries_widget_with_ci_tests_data_source.yaml | 11 +++---- ...with_incident_analytics_data_source.freeze | 2 +- ...t_with_incident_analytics_data_source.yaml | 11 +++---- ...t_with_legacy_live_span_time_format.freeze | 2 +- ...get_with_legacy_live_span_time_format.yaml | 11 +++---- ...get_with_new_fixed_span_time_format.freeze | 2 +- ...idget_with_new_fixed_span_time_format.yaml | 11 +++---- ...dget_with_new_live_span_time_format.freeze | 2 +- ...widget_with_new_live_span_time_format.yaml | 11 +++---- ...eturns_Dashboard_Not_Found_response.freeze | 2 +- ...hared_dashboard_returns_OK_response.freeze | 2 +- ..._shared_dashboard_returns_OK_response.yaml | 21 ++++++------- ...ete_a_dashboard_returns_OK_response.freeze | 2 +- ...elete_a_dashboard_returns_OK_response.yaml | 15 +++++---- ...hboards_returns_No_Content_response.freeze | 2 +- ...ashboards_returns_No_Content_response.yaml | 13 ++++---- ...Get_a_dashboard_returns_OK_response.freeze | 2 +- ...o_Get_a_dashboard_returns_OK_response.yaml | 18 +++++------ ...hared_dashboard_returns_OK_response.freeze | 2 +- ..._shared_dashboard_returns_OK_response.yaml | 27 ++++++++-------- ...hared_dashboard_returns_OK_response.freeze | 2 +- ..._shared_dashboard_returns_OK_response.yaml | 23 +++++++------- ...hboards_returns_No_Content_response.freeze | 2 +- ...ashboards_returns_No_Content_response.yaml | 17 +++++----- ...nvitation_email_returns_OK_response.freeze | 2 +- ..._invitation_email_returns_OK_response.yaml | 31 +++++++++---------- ...ate_a_dashboard_returns_OK_response.freeze | 2 +- ...pdate_a_dashboard_returns_OK_response.yaml | 20 ++++++------ ...board_with_tags_returns_OK_response.freeze | 2 +- ...shboard_with_tags_returns_OK_response.yaml | 20 ++++++------ ...hared_dashboard_returns_OK_response.freeze | 2 +- ..._shared_dashboard_returns_OK_response.yaml | 27 ++++++++-------- 179 files changed, 589 insertions(+), 683 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 5bc396b9096..8600692cffc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 19:25:59.614937", - "spec_repo_commit": "03f60dd8" + "regenerated": "2024-11-15 19:35:10.684002", + "spec_repo_commit": "ad80112e" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 19:25:59.634127", - "spec_repo_commit": "03f60dd8" + "regenerated": "2024-11-15 19:35:10.703150", + "spec_repo_commit": "ad80112e" } } } \ 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.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 31af4c83ecd..05088712880 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 @@ -2024-11-14T19:12:06.088Z \ No newline at end of file +2024-11-15T19:32:26.867Z \ 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 3b9dd020e5e..5fadd7abf2e 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-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}}]} + {"description":"","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731699146","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"cp9-wz6-rpj","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731699146","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/cp9-wz6-rpj/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":4972373445820650}],"notify_list":null,"created_at":"2024-11-15T19:32:27.081537+00:00","modified_at":"2024-11-15T19:32:27.081537+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/nsh-v4v-nmq + url: https://api.datadoghq.com/api/v1/dashboard/cp9-wz6-rpj response: - body: '{"deleted_dashboard_id":"nsh-v4v-nmq"} + body: '{"deleted_dashboard_id":"cp9-wz6-rpj"} ' code: 200 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 52ebe1608c5..c35a420f434 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 @@ -2024-11-14T19:12:06.617Z \ No newline at end of file +2024-11-15T19:32:27.384Z \ 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 35c2b890fa3..7a1f3ad1e14 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-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}}]} + {"description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147","layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"p6k-cxc-g8m","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147","description":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731699147","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/p6k-cxc-g8m/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":8624507873468872}],"notify_list":null,"created_at":"2024-11-15T19:32:27.570354+00:00","modified_at":"2024-11-15T19:32:27.570354+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/tys-evq-k25 + url: https://api.datadoghq.com/api/v1/dashboard/p6k-cxc-g8m response: - body: '{"deleted_dashboard_id":"tys-evq-k25"} + body: '{"deleted_dashboard_id":"p6k-cxc-g8m"} ' code: 200 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 490466ea238..5c9f910cad7 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 @@ -2024-11-14T19:12:07.115Z \ No newline at end of file +2024-11-15T19:32:27.923Z \ 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 bc70880e672..5fb32171d5e 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1731699147","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"ydy-5hn-vib","title":"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1731699147","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ydy-5hn-vib/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":4914950205969851}],"notify_list":null,"created_at":"2024-11-15T19:32:28.073069+00:00","modified_at":"2024-11-15T19:32:28.073069+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2fs-dz8-tdz + url: https://api.datadoghq.com/api/v1/dashboard/ydy-5hn-vib response: - body: '{"deleted_dashboard_id":"2fs-dz8-tdz"} + body: '{"deleted_dashboard_id":"ydy-5hn-vib"} ' 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 8976ffd6ff6..de72b0e4918 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 @@ -2024-11-14T19:12:07.559Z \ No newline at end of file +2024-11-15T19:32:28.361Z \ 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 414e7283922..f0d489bc80c 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-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}}]} + {"description":"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148","layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[],"template_variables":[],"title":"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"85y-teg-6gs","title":"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148","description":"Test-Create_a_geomap_widget_using_an_event_list_request-1731699148","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/85y-teg-6gs/test-createageomapwidgetusinganeventlistrequest-1731699148","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":303965122186527}],"notify_list":[],"created_at":"2024-11-15T19:32:28.542191+00:00","modified_at":"2024-11-15T19:32:28.542191+00:00","reflow_type":"fixed","tags":[],"restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/kfv-qnp-4tg + url: https://api.datadoghq.com/api/v1/dashboard/85y-teg-6gs response: - body: '{"deleted_dashboard_id":"kfv-qnp-4tg"} + body: '{"deleted_dashboard_id":"85y-teg-6gs"} ' 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 8380ebf006a..051d55a1d49 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 @@ -2024-11-14T19:12:07.994Z \ No newline at end of file +2024-11-15T19:32:29.001Z \ 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 b67c723d65b..e8a3ed36594 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_returns_OK_response-1731699149 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"8a5-8x9-spj","title":"Test-Create_a_new_dashboard_returns_OK_response-1731699149 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/8a5-8x9-spj/test-createanewdashboardreturnsokresponse-1731699149-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":4674703282750231}],"notify_list":null,"created_at":"2024-11-15T19:32:29.171735+00:00","modified_at":"2024-11-15T19:32:29.171735+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ffs-qse-3ra + url: https://api.datadoghq.com/api/v1/dashboard/8a5-8x9-spj response: - body: '{"deleted_dashboard_id":"ffs-qse-3ra"} + body: '{"deleted_dashboard_id":"8a5-8x9-spj"} ' code: 200 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 caa7b658f45..f0b9b61547b 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 @@ -2024-11-14T19:12:08.436Z \ No newline at end of file +2024-11-15T19:32:29.446Z \ 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 31403ca7d6d..42cac824c02 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-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"} + {"name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - 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} + body: '{"data":[{"id":"425d71bc3445599f92d7c3848731d220","name":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149","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":1731699149,"modified_at":1731699149}],"error":null} ' code: 200 @@ -24,7 +23,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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149","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":"425d71bc3445599f92d7c3848731d220","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: @@ -35,8 +34,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"49z-5ib-fcx","title":"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1731699149","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/49z-5ib-fcx/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":"425d71bc3445599f92d7c3848731d220","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":6718329595147214}],"notify_list":null,"created_at":"2024-11-15T19:32:29.774299+00:00","modified_at":"2024-11-15T19:32:29.774299+00:00","restricted_roles":[]} ' code: 200 @@ -53,9 +51,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/3cn-g4m-h9z + url: https://api.datadoghq.com/api/v1/dashboard/49z-5ib-fcx response: - body: '{"deleted_dashboard_id":"3cn-g4m-h9z"} + body: '{"deleted_dashboard_id":"49z-5ib-fcx"} ' code: 200 @@ -72,9 +70,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/d0ead38560c15643877e9feee728bed5 + url: https://api.datadoghq.com/api/v1/slo/425d71bc3445599f92d7c3848731d220 response: - body: '{"data":["d0ead38560c15643877e9feee728bed5"],"error":null} + body: '{"data":["425d71bc3445599f92d7c3848731d220"],"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 f408822cf43..15ab4cd26e0 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 @@ -2024-11-14T19:12:09.244Z \ No newline at end of file +2024-11-15T19:32:30.413Z \ 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 9088c3ee341..62dd020d209 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731699150","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"pwu-pqa-fin","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731699150","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/pwu-pqa-fin/test-createanewdashboardwithaformulasandfunctionschangewidget-1731699150","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":4495141746383449}],"notify_list":null,"created_at":"2024-11-15T19:32:30.566816+00:00","modified_at":"2024-11-15T19:32:30.566816+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8ap-qaz-qge + url: https://api.datadoghq.com/api/v1/dashboard/pwu-pqa-fin response: - body: '{"deleted_dashboard_id":"8ap-qaz-qge"} + body: '{"deleted_dashboard_id":"pwu-pqa-fin"} ' code: 200 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 e406eeefb78..2186983177e 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 @@ -2024-11-14T19:12:09.673Z \ No newline at end of file +2024-11-15T19:32:30.862Z \ 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 a3139e7417f..d534874dbbe 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731699150","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"sa5-czr-uat","title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731699150","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/sa5-czr-uat/test-createanewdashboardwithaformulasandfunctionstreemapwidget-1731699150","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":2892895408255139}],"notify_list":null,"created_at":"2024-11-15T19:32:31.032272+00:00","modified_at":"2024-11-15T19:32:31.032272+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/83d-i5u-m3v + url: https://api.datadoghq.com/api/v1/dashboard/sa5-czr-uat response: - body: '{"deleted_dashboard_id":"83d-i5u-m3v"} + body: '{"deleted_dashboard_id":"sa5-czr-uat"} ' code: 200 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 4d1c2ec39ac..228988f8370 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 @@ -2024-11-14T19:12:10.125Z \ No newline at end of file +2024-11-15T19:32:31.326Z \ 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 80d0dbe1329..b948f5b196c 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731699151 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"u3x-4y8-hiy","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731699151 + with QVW Percentile Aggregator","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/u3x-4y8-hiy/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-173169","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":662978730586709}],"notify_list":null,"created_at":"2024-11-15T19:32:31.492216+00:00","modified_at":"2024-11-15T19:32:31.492216+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/5e6-uwt-hiw + url: https://api.datadoghq.com/api/v1/dashboard/u3x-4y8-hiy response: - body: '{"deleted_dashboard_id":"5e6-uwt-hiw"} + body: '{"deleted_dashboard_id":"u3x-4y8-hiy"} ' code: 200 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 bca43343fe5..ded0064aa19 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 @@ -2024-11-14T19:12:10.545Z \ No newline at end of file +2024-11-15T19:32:31.758Z \ 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 97d8ee8e3e3..959e844e078 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731699151 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"t7h-dt9-gt6","title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731699151 + with QVW Timeseries Background","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/t7h-dt9-gt6/test-createanewdashboardwithaqueryvaluewidgetusingtimeseriesbackground-173169915","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":4861182812642966}],"notify_list":null,"created_at":"2024-11-15T19:32:31.929842+00:00","modified_at":"2024-11-15T19:32:31.929842+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/e79-3k8-wck + url: https://api.datadoghq.com/api/v1/dashboard/t7h-dt9-gt6 response: - body: '{"deleted_dashboard_id":"e79-3k8-wck"} + body: '{"deleted_dashboard_id":"t7h-dt9-gt6"} ' code: 200 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 7adc3c48a97..e2c886655ce 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 @@ -2024-11-14T19:12:11.109Z \ No newline at end of file +2024-11-15T19:32:32.218Z \ 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 c44279f9a22..0727be0d93e 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1731699152","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"9kn-skt-493","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1731699152","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/9kn-skt-493/test-createanewdashboardwithatimeserieswidgetandanoverlayrequest-1731699152","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":8425606312270690}],"notify_list":null,"created_at":"2024-11-15T19:32:32.390240+00:00","modified_at":"2024-11-15T19:32:32.390240+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/9dj-gpc-pve + url: https://api.datadoghq.com/api/v1/dashboard/9kn-skt-493 response: - body: '{"deleted_dashboard_id":"9dj-gpc-pve"} + body: '{"deleted_dashboard_id":"9kn-skt-493"} ' 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 55354eaa1f7..558e91e66c7 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 @@ -2024-11-14T19:12:11.542Z \ No newline at end of file +2024-11-15T19:32:32.665Z \ 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 57f9f3079b5..1252f977671 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731699152","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,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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{*} + body: '{"id":"vyw-yjx-s93","title":"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731699152","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/vyw-yjx-s93/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":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":[]} + Cloud Cost Query","title_align":"left","title_size":"16","type":"timeseries"},"id":2217465194290585}],"notify_list":null,"created_at":"2024-11-15T19:32:32.857554+00:00","modified_at":"2024-11-15T19:32:32.857554+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/kf9-5t7-m6u + url: https://api.datadoghq.com/api/v1/dashboard/vyw-yjx-s93 response: - body: '{"deleted_dashboard_id":"kf9-5t7-m6u"} + body: '{"deleted_dashboard_id":"vyw-yjx-s93"} ' 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 869814b280a..a80b2a4986a 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-11-14T19:12:11.966Z \ No newline at end of file +2024-11-15T19:32:33.159Z \ 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 83b0e3f3b7b..f90c7c9a3e7 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1731699153","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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"w98-fwu-ra3","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1731699153","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/w98-fwu-ra3/test-createanewdashboardwithatoplistwidgetsortedbygroup-1731699153","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":6367571628619554}],"notify_list":[],"created_at":"2024-11-15T19:32:33.336831+00:00","modified_at":"2024-11-15T19:32:33.336831+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vhe-xty-kr6 + url: https://api.datadoghq.com/api/v1/dashboard/w98-fwu-ra3 response: - body: '{"deleted_dashboard_id":"vhe-xty-kr6"} + body: '{"deleted_dashboard_id":"w98-fwu-ra3"} ' 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 88e67c2fd03..fcafe1b60a2 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-11-14T19:12:12.401Z \ No newline at end of file +2024-11-15T19:32:33.591Z \ 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 053b3957bf3..809697e5f45 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":"","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}}]} + {"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-1731699153","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"r8v-q4n-f95","title":"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1731699153","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/r8v-q4n-f95/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":4235118472410793}],"notify_list":[],"created_at":"2024-11-15T19:32:33.756567+00:00","modified_at":"2024-11-15T19:32:33.756567+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/w86-twq-ev8 + url: https://api.datadoghq.com/api/v1/dashboard/r8v-q4n-f95 response: - body: '{"deleted_dashboard_id":"w86-twq-ev8"} + body: '{"deleted_dashboard_id":"r8v-q4n-f95"} ' 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 8f7441e1a8f..9e2f2056c5c 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-11-14T19:12:14.472Z \ No newline at end of file +2024-11-15T19:32:34.239Z \ 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 6af86e63e71..ba4c9b719c6 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-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"} + {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154","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:testcreateanewdashboardwithalertgraphwidget1731699154","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":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 + body: '{"id":158348339,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154","message":"some + message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1731699154","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":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}} + 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":1731699154000,"created":"2024-11-15T19:32:34.396432+00:00","modified":"2024-11-15T19:32:34.396432+00:00","deleted":null,"priority":3,"restricted_roles":null,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No + Data","creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com","id":1445416}} ' code: 200 @@ -28,7 +28,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154","widgets":[{"definition":{"alert_id":"158348339","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,8 +39,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"4jv-jai-fe2","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1731699154","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/4jv-jai-fe2/test-createanewdashboardwithalertgraphwidget-1731699154","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"158348339","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":2987598208176646}],"notify_list":[],"created_at":"2024-11-15T19:32:34.601305+00:00","modified_at":"2024-11-15T19:32:34.601305+00:00","restricted_roles":[]} ' code: 200 @@ -57,9 +56,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7q4-96u-ti2 + url: https://api.datadoghq.com/api/v1/dashboard/4jv-jai-fe2 response: - body: '{"deleted_dashboard_id":"7q4-96u-ti2"} + body: '{"deleted_dashboard_id":"4jv-jai-fe2"} ' code: 200 @@ -76,9 +75,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/monitor/158261200 + url: https://api.datadoghq.com/api/v1/monitor/158348339 response: - body: '{"deleted_monitor_id":158261200} + body: '{"deleted_monitor_id":158348339} ' 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 0df93e0cbeb..fe364ab5c59 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-11-14T19:12:15.292Z \ No newline at end of file +2024-11-15T19:32:35.090Z \ 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 483b537eca5..d1d96f1fe8d 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-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"} + {"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155","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:testcreateanewdashboardwithalertvaluewidget1731699155","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":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 + body: '{"id":158348341,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155","message":"some + message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1731699155","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":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}} + 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":1731699155000,"created":"2024-11-15T19:32:35.343261+00:00","modified":"2024-11-15T19:32:35.343261+00:00","deleted":null,"priority":3,"restricted_roles":null,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No + Data","creator":{"name":null,"handle":"frog@datadoghq.com","email":"frog@datadoghq.com","id":1445416}} ' code: 200 @@ -28,7 +28,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155","widgets":[{"definition":{"alert_id":"158348341","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,8 +39,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"vi5-rq9-zfq","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1731699155","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/vi5-rq9-zfq/test-createanewdashboardwithalertvaluewidget-1731699155","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"158348341","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":1173877496665142}],"notify_list":[],"created_at":"2024-11-15T19:32:35.523350+00:00","modified_at":"2024-11-15T19:32:35.523350+00:00","restricted_roles":[]} ' code: 200 @@ -57,9 +56,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/qfp-5rn-svg + url: https://api.datadoghq.com/api/v1/dashboard/vi5-rq9-zfq response: - body: '{"deleted_dashboard_id":"qfp-5rn-svg"} + body: '{"deleted_dashboard_id":"vi5-rq9-zfq"} ' code: 200 @@ -76,9 +75,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/monitor/158261202 + url: https://api.datadoghq.com/api/v1/monitor/158348341 response: - body: '{"deleted_monitor_id":158261202} + body: '{"deleted_monitor_id":158348341} ' 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 4229fd902a7..f17762337a4 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 @@ -2024-11-14T19:12:16.099Z \ No newline at end of file +2024-11-15T19:32:36.010Z \ 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 a74b74ec910..f832a0aff93 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731699156 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"gu5-cq8-akb","title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731699156 + with Audit Logs Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/gu5-cq8-akb/test-createanewdashboardwithanauditlogsquery-1731699156-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":1074067237256022}],"notify_list":null,"created_at":"2024-11-15T19:32:36.200033+00:00","modified_at":"2024-11-15T19:32:36.200033+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/56n-3ai-i2r + url: https://api.datadoghq.com/api/v1/dashboard/gu5-cq8-akb response: - body: '{"deleted_dashboard_id":"56n-3ai-i2r"} + body: '{"deleted_dashboard_id":"gu5-cq8-akb"} ' code: 200 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 d832278ef70..f07e4789e75 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 @@ -2024-11-14T19:12:18.187Z \ No newline at end of file +2024-11-15T19:32:36.471Z \ 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 e92aa1410c1..4f26a82191e 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731699156","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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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 + body: '{"id":"vz4-7gw-y6a","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731699156","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/vz4-7gw-y6a/test-createanewdashboardwithapmdependencystatswidget-1731699156","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 = ?","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":[]} + 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":8028533185092499}],"notify_list":null,"created_at":"2024-11-15T19:32:36.632468+00:00","modified_at":"2024-11-15T19:32:36.632468+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u58-b3b-jgt + url: https://api.datadoghq.com/api/v1/dashboard/vz4-7gw-y6a response: - body: '{"deleted_dashboard_id":"u58-b3b-jgt"} + body: '{"deleted_dashboard_id":"vz4-7gw-y6a"} ' code: 200 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 043d27d642a..d4e9e33fe63 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 @@ -2024-11-14T19:12:19.128Z \ No newline at end of file +2024-11-15T19:32:37.303Z \ 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 dedb235671b..8daed7d589b 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1731699157 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"tak-bfc-f2k","title":"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1731699157 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/tak-bfc-f2k/test-createanewdashboardwithapmissuestreamliststreamwidget-1731699157-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":6801970282056588}],"notify_list":null,"created_at":"2024-11-15T19:32:37.429394+00:00","modified_at":"2024-11-15T19:32:37.429394+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/6qf-smy-7x5 + url: https://api.datadoghq.com/api/v1/dashboard/tak-bfc-f2k response: - body: '{"deleted_dashboard_id":"6qf-smy-7x5"} + body: '{"deleted_dashboard_id":"tak-bfc-f2k"} ' 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 7783b87e2b4..b0619e0bd17 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 @@ -2024-11-14T19:12:18.631Z \ No newline at end of file +2024-11-15T19:32:36.906Z \ 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 bce1f804d0c..f2675aed87c 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731699156","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"29d-cad-9rf","title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731699156","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/29d-cad-9rf/test-createanewdashboardwithapmresourcestatswidget-1731699156","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":150814161312733}],"notify_list":null,"created_at":"2024-11-15T19:32:37.062973+00:00","modified_at":"2024-11-15T19:32:37.062973+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/x8c-a59-up4 + url: https://api.datadoghq.com/api/v1/dashboard/29d-cad-9rf response: - body: '{"deleted_dashboard_id":"x8c-a59-up4"} + body: '{"deleted_dashboard_id":"29d-cad-9rf"} ' code: 200 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 491f9554ffa..bfb8b5b37b9 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 @@ -2024-11-14T19:12:19.499Z \ No newline at end of file +2024-11-15T19:32:37.699Z \ 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 d382b23eb5f..6cdd47ff5eb 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_check_status_widget-1731699157","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"h4u-ixe-ptt","title":"Test-Create_a_new_dashboard_with_check_status_widget-1731699157","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/h4u-ixe-ptt/test-createanewdashboardwithcheckstatuswidget-1731699157","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":3317310368131706}],"notify_list":[],"created_at":"2024-11-15T19:32:37.813499+00:00","modified_at":"2024-11-15T19:32:37.813499+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vbg-22a-h5q + url: https://api.datadoghq.com/api/v1/dashboard/h4u-ixe-ptt response: - body: '{"deleted_dashboard_id":"vbg-22a-h5q"} + body: '{"deleted_dashboard_id":"h4u-ixe-ptt"} ' code: 200 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 103c2a46245..2a36b979196 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 @@ -2024-11-14T19:12:19.870Z \ No newline at end of file +2024-11-15T19:32:38.067Z \ 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 bdfb2bca9d0..1928135de08 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1731699158 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"as4-cys-wwb","title":"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1731699158 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/as4-cys-wwb/test-createanewdashboardwithciteststreamliststreamwidget-1731699158-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":723670979268214}],"notify_list":null,"created_at":"2024-11-15T19:32:38.213091+00:00","modified_at":"2024-11-15T19:32:38.213091+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vbw-9z8-3n6 + url: https://api.datadoghq.com/api/v1/dashboard/as4-cys-wwb response: - body: '{"deleted_dashboard_id":"vbw-9z8-3n6"} + body: '{"deleted_dashboard_id":"as4-cys-wwb"} ' 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 37a1f4cb549..367ad1f3891 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 @@ -2024-11-14T19:12:20.235Z \ No newline at end of file +2024-11-15T19:32:38.489Z \ 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 53b3fa9e609..5e6472cd0fb 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731699158","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"jbq-s5a-g9h","title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731699158","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/jbq-s5a-g9h/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1731699158","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":1068260925995159}],"notify_list":null,"created_at":"2024-11-15T19:32:38.651425+00:00","modified_at":"2024-11-15T19:32:38.651425+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/hvz-a5v-6fx + url: https://api.datadoghq.com/api/v1/dashboard/jbq-s5a-g9h response: - body: '{"deleted_dashboard_id":"hvz-a5v-6fx"} + body: '{"deleted_dashboard_id":"jbq-s5a-g9h"} ' code: 200 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 b18304cea4c..5368b7c99e0 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 @@ -2024-11-14T19:12:20.645Z \ No newline at end of file +2024-11-15T19:32:38.933Z \ 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 16f3e64e75c..092974b40ee 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1731699158 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"vw4-by2-54m","title":"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1731699158 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/vw4-by2-54m/test-createanewdashboardwitheventstreamliststreamwidget-1731699158-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":7618408090059389}],"notify_list":null,"created_at":"2024-11-15T19:32:39.054775+00:00","modified_at":"2024-11-15T19:32:39.054775+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/isx-9sv-axt + url: https://api.datadoghq.com/api/v1/dashboard/vw4-by2-54m response: - body: '{"deleted_dashboard_id":"isx-9sv-axt"} + body: '{"deleted_dashboard_id":"vw4-by2-54m"} ' 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 bd4dca0739f..f3ffb02e8db 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 @@ -2024-11-14T19:12:21.032Z \ No newline at end of file +2024-11-15T19:32:39.304Z \ 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 de0a7901288..8973c5cea98 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_stream_widget-1731699159","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"uki-9bd-4fm","title":"Test-Create_a_new_dashboard_with_event_stream_widget-1731699159","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/uki-9bd-4fm/test-createanewdashboardwitheventstreamwidget-1731699159","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":7158238942702313}],"notify_list":[],"created_at":"2024-11-15T19:32:39.414884+00:00","modified_at":"2024-11-15T19:32:39.414884+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/j92-23a-929 + url: https://api.datadoghq.com/api/v1/dashboard/uki-9bd-4fm response: - body: '{"deleted_dashboard_id":"j92-23a-929"} + body: '{"deleted_dashboard_id":"uki-9bd-4fm"} ' code: 200 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 2a484b2180c..ab8e7428068 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 @@ -2024-11-14T19:12:21.382Z \ No newline at end of file +2024-11-15T19:32:39.893Z \ 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 88bf8b70618..78053b9c301 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,"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}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1731699159","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"y4s-pyq-y6k","title":"Test-Create_a_new_dashboard_with_event_timeline_widget-1731699159","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/y4s-pyq-y6k/test-createanewdashboardwitheventtimelinewidget-1731699159","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":1248560916532440}],"notify_list":[],"created_at":"2024-11-15T19:32:39.998921+00:00","modified_at":"2024-11-15T19:32:39.998921+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/i3x-7cz-cn3 + url: https://api.datadoghq.com/api/v1/dashboard/y4s-pyq-y6k response: - body: '{"deleted_dashboard_id":"i3x-7cz-cn3"} + body: '{"deleted_dashboard_id":"y4s-pyq-y6k"} ' code: 200 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 5dc1866ffb8..77e419cc8a1 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 @@ -2024-11-14T19:12:21.749Z \ No newline at end of file +2024-11-15T19:32:40.241Z \ 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 b49b13fce2a..620dde00d09 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: | - {"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}}]} + {"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1731699160","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"g5w-g59-qaw","title":"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1731699160","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/g5w-g59-qaw/test-createanewdashboardwithformulaandfunctionheatmapwidget-1731699160","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":7260882193896439}],"notify_list":[],"created_at":"2024-11-15T19:32:40.397908+00:00","modified_at":"2024-11-15T19:32:40.397908+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pn9-3xt-h79 + url: https://api.datadoghq.com/api/v1/dashboard/g5w-g59-qaw response: - body: '{"deleted_dashboard_id":"pn9-3xt-h79"} + body: '{"deleted_dashboard_id":"g5w-g59-qaw"} ' 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 79d95d78807..d7d586d87a4 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 @@ -2024-11-14T19:12:22.186Z \ No newline at end of file +2024-11-15T19:32:40.658Z \ 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 762cbcf5f29..e04e0b46d5c 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731699160","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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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{*} + body: '{"id":"s22-z4c-t53","title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731699160","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/s22-z4c-t53/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1731699160","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}"}],"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":[]} + 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-15T19:32:40.879414+00:00","modified_at":"2024-11-15T19:32:40.879414+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pve-j2y-xxt + url: https://api.datadoghq.com/api/v1/dashboard/s22-z4c-t53 response: - body: '{"deleted_dashboard_id":"pve-j2y-xxt"} + body: '{"deleted_dashboard_id":"s22-z4c-t53"} ' code: 200 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 62739b46432..ed6a8184806 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 @@ -2024-11-14T19:12:22.672Z \ No newline at end of file +2024-11-15T19:32:41.138Z \ 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 44ee7d0cd77..4c7c3057a2a 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,"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}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_free_text_widget-1731699161","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"gdm-q83-k4r","title":"Test-Create_a_new_dashboard_with_free_text_widget-1731699161","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/gdm-q83-k4r/test-createanewdashboardwithfreetextwidget-1731699161","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":3522001567186870}],"notify_list":[],"created_at":"2024-11-15T19:32:41.254783+00:00","modified_at":"2024-11-15T19:32:41.254783+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/th4-kf6-2wb + url: https://api.datadoghq.com/api/v1/dashboard/gdm-q83-k4r response: - body: '{"deleted_dashboard_id":"th4-kf6-2wb"} + body: '{"deleted_dashboard_id":"gdm-q83-k4r"} ' code: 200 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 02e0753556e..34b5bd31c18 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 @@ -2024-11-14T19:12:23.046Z \ No newline at end of file +2024-11-15T19:32:41.517Z \ 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 44b91cf2294..953447c1354 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-1731611543 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-1731699161 with funnel widget","widgets":[{"definition":{"requests":[{"query":{"data_source":"rum","query_string":"","steps":[]},"request_type":"funnel"}],"type":"funnel"}}]} form: {} headers: Accept: @@ -12,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"xfs-csi-vjh","title":"Test-Create_a_new_dashboard_with_funnel_widget-1731699161 + with funnel widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/xfs-csi-vjh/test-createanewdashboardwithfunnelwidget-1731699161-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":4755008273116868}],"notify_list":null,"created_at":"2024-11-15T19:32:41.625961+00:00","modified_at":"2024-11-15T19:32:41.625961+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zta-rqr-z7r + url: https://api.datadoghq.com/api/v1/dashboard/xfs-csi-vjh response: - body: '{"deleted_dashboard_id":"zta-rqr-z7r"} + body: '{"deleted_dashboard_id":"xfs-csi-vjh"} ' code: 200 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 9b4feb601ec..ca55155b53f 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-11-14T19:12:23.432Z \ No newline at end of file +2024-11-15T19:32:41.892Z \ 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 314cc0ded09..fd5f020a52e 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,"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}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_geomap_widget-1731699161","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,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"ccn-3vg-8fw","title":"Test-Create_a_new_dashboard_with_geomap_widget-1731699161","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/ccn-3vg-8fw/test-createanewdashboardwithgeomapwidget-1731699161","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":8863325267448971}],"notify_list":[],"created_at":"2024-11-15T19:32:42.087668+00:00","modified_at":"2024-11-15T19:32:42.087668+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zfg-33v-zgb + url: https://api.datadoghq.com/api/v1/dashboard/ccn-3vg-8fw response: - body: '{"deleted_dashboard_id":"zfg-33v-zgb"} + body: '{"deleted_dashboard_id":"ccn-3vg-8fw"} ' 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 ea2e812f90a..1b5906e790a 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 @@ -2024-11-14T19:12:23.844Z \ No newline at end of file +2024-11-15T19:32:42.369Z \ 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 38d16eb5eab..36f530b8da0 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,"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}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_heatmap_widget-1731699162","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"2vd-tnh-iwh","title":"Test-Create_a_new_dashboard_with_heatmap_widget-1731699162","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/2vd-tnh-iwh/test-createanewdashboardwithheatmapwidget-1731699162","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":3378279846394032}],"notify_list":[],"created_at":"2024-11-15T19:32:42.534303+00:00","modified_at":"2024-11-15T19:32:42.534303+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/m55-nbe-fb2 + url: https://api.datadoghq.com/api/v1/dashboard/2vd-tnh-iwh response: - body: '{"deleted_dashboard_id":"m55-nbe-fb2"} + body: '{"deleted_dashboard_id":"2vd-tnh-iwh"} ' code: 200 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 f71f21be5f5..30ffcd361f0 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 @@ -2024-11-14T19:12:24.261Z \ No newline at end of file +2024-11-15T19:32:42.832Z \ 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 0bb5124fd38..9c0f2d2e65b 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,"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}}]} + {"description":null,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_hostmap_widget-1731699162","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"cny-7s9-9di","title":"Test-Create_a_new_dashboard_with_hostmap_widget-1731699162","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/cny-7s9-9di/test-createanewdashboardwithhostmapwidget-1731699162","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":4242019856060698}],"notify_list":[],"created_at":"2024-11-15T19:32:43.028167+00:00","modified_at":"2024-11-15T19:32:43.028167+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/m3c-vup-t7s + url: https://api.datadoghq.com/api/v1/dashboard/cny-7s9-9di response: - body: '{"deleted_dashboard_id":"m3c-vup-t7s"} + body: '{"deleted_dashboard_id":"cny-7s9-9di"} ' code: 200 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 d686165468d..a4ebd12e65f 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 @@ -2024-11-14T19:12:24.735Z \ No newline at end of file +2024-11-15T19:32:43.296Z \ 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 520f2e0104e..9dbbedcf0b4 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_iframe_widget-1731699163","widgets":[{"definition":{"type":"iframe","url":"https://docs.datadoghq.com/api/latest/"},"layout":{"height":12,"width":12,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"y65-35v-xh5","title":"Test-Create_a_new_dashboard_with_iframe_widget-1731699163","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/y65-35v-xh5/test-createanewdashboardwithiframewidget-1731699163","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":1537588948372026}],"notify_list":[],"created_at":"2024-11-15T19:32:43.415569+00:00","modified_at":"2024-11-15T19:32:43.415569+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/az3-9m4-ywf + url: https://api.datadoghq.com/api/v1/dashboard/y65-35v-xh5 response: - body: '{"deleted_dashboard_id":"az3-9m4-ywf"} + body: '{"deleted_dashboard_id":"y65-35v-xh5"} ' code: 200 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 a2fa3554f5c..a9bd090a877 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 @@ -2024-11-14T19:12:25.098Z \ No newline at end of file +2024-11-15T19:32:43.681Z \ 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 32fdc6c4681..2d9b56640df 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_image_widget-1731699163","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"pep-4f2-6my","title":"Test-Create_a_new_dashboard_with_image_widget-1731699163","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/pep-4f2-6my/test-createanewdashboardwithimagewidget-1731699163","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":560642460565424}],"notify_list":[],"created_at":"2024-11-15T19:32:43.805437+00:00","modified_at":"2024-11-15T19:32:43.805437+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/kau-9fb-ghy + url: https://api.datadoghq.com/api/v1/dashboard/pep-4f2-6my response: - body: '{"deleted_dashboard_id":"kau-9fb-ghy"} + body: '{"deleted_dashboard_id":"pep-4f2-6my"} ' code: 200 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 0394c4ff437..6a7b25ee77a 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 @@ -2024-11-14T19:12:26.860Z \ No newline at end of file +2024-11-15T19:32:44.075Z \ 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 42bd04858ed..dfb22d70c37 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-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}}]} + {"layout_type":"ordered","tags":["tm:foobar"],"title":"Test-Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response-1731699164","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 79c6d99bbed..3634d7245fb 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 @@ -2024-11-14T19:12:26.943Z \ No newline at end of file +2024-11-15T19:32:44.164Z \ 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 58bb1805953..b47474ca5eb 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1731699164 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"p6y-umd-i2r","title":"Test-Create_a_new_dashboard_with_list_stream_widget-1731699164 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/p6y-umd-i2r/test-createanewdashboardwithliststreamwidget-1731699164-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":8526780473770766}],"notify_list":null,"created_at":"2024-11-15T19:32:44.310733+00:00","modified_at":"2024-11-15T19:32:44.310733+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ma4-5ie-2j7 + url: https://api.datadoghq.com/api/v1/dashboard/p6y-umd-i2r response: - body: '{"deleted_dashboard_id":"ma4-5ie-2j7"} + body: '{"deleted_dashboard_id":"p6y-umd-i2r"} ' 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_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 3c9d4d248ae..2f672f36885 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 @@ -2024-11-14T19:12:27.325Z \ No newline at end of file +2024-11-15T19:32:44.573Z \ 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 c926ee0dae1..dabd5cb1534 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1731699164 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"hmc-wyw-pru","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1731699164 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/hmc-wyw-pru/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterasc-173169916","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":7981858941071295}],"notify_list":null,"created_at":"2024-11-15T19:32:44.713178+00:00","modified_at":"2024-11-15T19:32:44.713178+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/n3x-b6f-m4t + url: https://api.datadoghq.com/api/v1/dashboard/hmc-wyw-pru response: - body: '{"deleted_dashboard_id":"n3x-b6f-m4t"} + body: '{"deleted_dashboard_id":"hmc-wyw-pru"} ' 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 0b1410ad375..a55ce98082f 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 @@ -2024-11-14T19:12:27.718Z \ No newline at end of file +2024-11-15T19:32:44.969Z \ 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 6ea29fc0f6c..79750ea6ae8 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1731699164 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"8er-jb3-ctv","title":"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1731699164 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/8er-jb3-ctv/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterdesc-17316991","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":6906120015083123}],"notify_list":null,"created_at":"2024-11-15T19:32:45.108245+00:00","modified_at":"2024-11-15T19:32:45.108245+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/2sk-pz4-gv6 + url: https://api.datadoghq.com/api/v1/dashboard/8er-jb3-ctv response: - body: '{"deleted_dashboard_id":"2sk-pz4-gv6"} + body: '{"deleted_dashboard_id":"8er-jb3-ctv"} ' 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 5cc6e477bcc..f8b63a50799 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-11-14T19:12:28.087Z \ No newline at end of file +2024-11-15T19:32:45.388Z \ 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 368152bb813..dffa4a156bf 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1731699165 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,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"m3z-v96-834","title":"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1731699165 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/m3z-v96-834/test-createanewdashboardwithllmobservabilitystreamliststreamwidget-1731699165-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":618569487157814}],"notify_list":null,"created_at":"2024-11-15T19:32:45.538148+00:00","modified_at":"2024-11-15T19:32:45.538148+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/q5w-24v-wij + url: https://api.datadoghq.com/api/v1/dashboard/m3z-v96-834 response: - body: '{"deleted_dashboard_id":"q5w-24v-wij"} + body: '{"deleted_dashboard_id":"m3z-v96-834"} ' 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 ae73074e04a..304f9b4d866 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 @@ -2024-11-14T19:12:28.541Z \ No newline at end of file +2024-11-15T19:32:45.816Z \ 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 087e7cce063..45a972f559b 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_log_stream_widget-1731699165","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"eb9-ta5-d6g","title":"Test-Create_a_new_dashboard_with_log_stream_widget-1731699165","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/eb9-ta5-d6g/test-createanewdashboardwithlogstreamwidget-1731699165","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":2405546418579587}],"notify_list":[],"created_at":"2024-11-15T19:32:45.939890+00:00","modified_at":"2024-11-15T19:32:45.939890+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ehu-t86-88d + url: https://api.datadoghq.com/api/v1/dashboard/eb9-ta5-d6g response: - body: '{"deleted_dashboard_id":"ehu-t86-88d"} + body: '{"deleted_dashboard_id":"eb9-ta5-d6g"} ' code: 200 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 04536bca733..d64ee9657a5 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 @@ -2024-11-14T19:12:29.279Z \ No newline at end of file +2024-11-15T19:32:46.627Z \ 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 d13e88ed26a..434aaec3ebd 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1731699166 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"hem-inu-je6","title":"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1731699166 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/hem-inu-je6/test-createanewdashboardwithlogspatternstreamliststreamwidget-1731699166-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":4012469646916199}],"notify_list":null,"created_at":"2024-11-15T19:32:46.772627+00:00","modified_at":"2024-11-15T19:32:46.772627+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/xht-7tn-3si + url: https://api.datadoghq.com/api/v1/dashboard/hem-inu-je6 response: - body: '{"deleted_dashboard_id":"xht-7tn-3si"} + body: '{"deleted_dashboard_id":"hem-inu-je6"} ' 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 9fc5626d3b5..e14f7424cff 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-11-14T19:12:28.873Z \ No newline at end of file +2024-11-15T19:32:46.182Z \ 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 7d826c7e314..f3c76043a30 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1731699166 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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"3bi-3is-gj3","title":"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1731699166 + with query table widget and storage parameter","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/3bi-3is-gj3/test-createanewdashboardwithlogsquerytablewidgetandstorageparameter-1731699166-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":6318589982774362}],"notify_list":null,"created_at":"2024-11-15T19:32:46.331888+00:00","modified_at":"2024-11-15T19:32:46.331888+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cum-shp-mz2 + url: https://api.datadoghq.com/api/v1/dashboard/3bi-3is-gj3 response: - body: '{"deleted_dashboard_id":"cum-shp-mz2"} + body: '{"deleted_dashboard_id":"3bi-3is-gj3"} ' 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 b400e730ba1..84b0221f3cd 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 @@ -2024-11-14T19:12:29.695Z \ No newline at end of file +2024-11-15T19:32:47.028Z \ 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 a6815a52856..d6bab572930 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1731699167 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"dbj-z8f-jps","title":"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1731699167 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/dbj-z8f-jps/test-createanewdashboardwithlogsstreamliststreamwidgetandstorageparameter-173169","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":4149027757234322}],"notify_list":null,"created_at":"2024-11-15T19:32:47.158374+00:00","modified_at":"2024-11-15T19:32:47.158374+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/u2y-5dh-mxx + url: https://api.datadoghq.com/api/v1/dashboard/dbj-z8f-jps response: - body: '{"deleted_dashboard_id":"u2y-5dh-mxx"} + body: '{"deleted_dashboard_id":"dbj-z8f-jps"} ' 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 0b7120dba79..f4fee5e0b25 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 @@ -2024-11-14T19:12:30.139Z \ No newline at end of file +2024-11-15T19:32:47.436Z \ 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 a1ce57bcb5e..ddfc9150abb 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1731699167 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"6dq-36y-p59","title":"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1731699167 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/6dq-36y-p59/test-createanewdashboardwithlogstransactionstreamliststreamwidget-1731699167-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":2144413846825527}],"notify_list":null,"created_at":"2024-11-15T19:32:47.601494+00:00","modified_at":"2024-11-15T19:32:47.601494+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/yp5-u4f-myz + url: https://api.datadoghq.com/api/v1/dashboard/6dq-36y-p59 response: - body: '{"deleted_dashboard_id":"yp5-u4f-myz"} + body: '{"deleted_dashboard_id":"6dq-36y-p59"} ' 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 19f51beab76..52905a48224 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 @@ -2024-11-14T19:12:30.526Z \ No newline at end of file +2024-11-15T19:32:47.864Z \ 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 13fdc43127a..1e92c0c7bba 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget-1731699167","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"5qz-2zt-tj6","title":"Test-Create_a_new_dashboard_with_manage_status_widget-1731699167","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/5qz-2zt-tj6/test-createanewdashboardwithmanagestatuswidget-1731699167","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":7923339019354632}],"notify_list":[],"created_at":"2024-11-15T19:32:47.979194+00:00","modified_at":"2024-11-15T19:32:47.979194+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/4gd-vwv-ksd + url: https://api.datadoghq.com/api/v1/dashboard/5qz-2zt-tj6 response: - body: '{"deleted_dashboard_id":"4gd-vwv-ksd"} + body: '{"deleted_dashboard_id":"5qz-2zt-tj6"} ' code: 200 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 d693baaa3d1..b1b84b3a589 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 @@ -2024-11-14T19:12:30.924Z \ No newline at end of file +2024-11-15T19:32:48.241Z \ 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 1cf1c9ccc60..0b5f0538df0 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1731699168","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"u5w-9hp-tch","title":"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1731699168","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/u5w-9hp-tch/test-createanewdashboardwithmanagestatuswidgetandshowpriorityparameter-173169916","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":2266858598981736}],"notify_list":[],"created_at":"2024-11-15T19:32:48.341884+00:00","modified_at":"2024-11-15T19:32:48.341884+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/gx6-rx5-pm6 + url: https://api.datadoghq.com/api/v1/dashboard/u5w-9hp-tch response: - body: '{"deleted_dashboard_id":"gx6-rx5-pm6"} + body: '{"deleted_dashboard_id":"u5w-9hp-tch"} ' 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 898d8d7b94d..fd18f5c1839 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 @@ -2024-11-14T19:12:31.278Z \ No newline at end of file +2024-11-15T19:32:48.573Z \ 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 d2c7890800e..c99a903548d 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_note_widget-1731699168","widgets":[{"definition":{"content":"# Example Note","type":"note"},"layout":{"height":24,"width":18,"x":0,"y":0}}]} form: {} headers: Accept: @@ -12,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"9e4-auv-jbr","title":"Test-Create_a_new_dashboard_with_note_widget-1731699168","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/9e4-auv-jbr/test-createanewdashboardwithnotewidget-1731699168","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"content":"# + Example Note","type":"note"},"layout":{"height":24,"width":18,"x":0,"y":0},"id":2240709340551044}],"notify_list":[],"created_at":"2024-11-15T19:32:48.693496+00:00","modified_at":"2024-11-15T19:32:48.693496+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/tsm-3qy-my2 + url: https://api.datadoghq.com/api/v1/dashboard/9e4-auv-jbr response: - body: '{"deleted_dashboard_id":"tsm-3qy-my2"} + body: '{"deleted_dashboard_id":"9e4-auv-jbr"} ' code: 200 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 99a183cc100..0ac11d7f94d 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 @@ -2024-11-14T19:12:31.697Z \ No newline at end of file +2024-11-15T19:32:48.941Z \ 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 0075147d96b..67c5553e76f 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-1731611551","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-1731699168","tags":["tag:sample"],"template_variables":[{"defaults":["*"],"name":"sample"}]},"type":"powerpack"}} form: {} headers: Accept: @@ -12,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v2/powerpacks response: - body: '{"data":{"type":"powerpack","id":"65d67c88-a2bc-11ef-8891-da7ad0900002","attributes":{"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551","description":"Sample + body: '{"data":{"type":"powerpack","id":"65c564d0-a388-11ef-a7cd-da7ad0900002","attributes":{"name":"Test-Create_a_new_dashboard_with_powerpack_widget-1731699168","description":"Sample powerpack","group_widget":{"definition":{"layout_type":"ordered","show_title":true,"title":"Sample - 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"}}]} + Powerpack","type":"group","widgets":[{"definition":{"content":"test","type":"note"},"id":5420081943814583}]},"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":"3ad549bf-eba0-11e9-a77a-0705486660d0"}}}},"included":[{"type":"users","id":"3ad549bf-eba0-11e9-a77a-0705486660d0","attributes":{"name":null,"email":"frog@datadoghq.com"}}]} ' code: 200 @@ -26,7 +25,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"description","layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1731699168 with powerpack widget","widgets":[{"definition":{"powerpack_id":"65c564d0-a388-11ef-a7cd-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 +36,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"zb2-4ez-tuk","title":"Test-Create_a_new_dashboard_with_powerpack_widget-1731699168 + with powerpack widget","description":"description","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/zb2-4ez-tuk/test-createanewdashboardwithpowerpackwidget-1731699168-with-powerpack-widget","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"powerpack_id":"65c564d0-a388-11ef-a7cd-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":648463768842724}],"notify_list":null,"created_at":"2024-11-15T19:32:49.465110+00:00","modified_at":"2024-11-15T19:32:49.465110+00:00","restricted_roles":[]} ' code: 200 @@ -56,9 +54,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/268-7rr-dpj + url: https://api.datadoghq.com/api/v1/dashboard/zb2-4ez-tuk response: - body: '{"deleted_dashboard_id":"268-7rr-dpj"} + body: '{"deleted_dashboard_id":"zb2-4ez-tuk"} ' code: 200 @@ -75,7 +73,7 @@ interactions: - '*/*' id: 3 method: DELETE - url: https://api.datadoghq.com/api/v2/powerpacks/65d67c88-a2bc-11ef-8891-da7ad0900002 + url: https://api.datadoghq.com/api/v2/powerpacks/65c564d0-a388-11ef-a7cd-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 54a8d2043df..db6c587397b 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-11-14T19:12:32.628Z \ No newline at end of file +2024-11-15T19:32:50.050Z \ 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 d79ac904cc9..6214210deda 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget-1731699170","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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"7q6-h26-j3u","title":"Test-Create_a_new_dashboard_with_query_table_widget-1731699170","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/7q6-h26-j3u/test-createanewdashboardwithquerytablewidget-1731699170","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":6518783990420616}],"notify_list":[],"created_at":"2024-11-15T19:32:50.203807+00:00","modified_at":"2024-11-15T19:32:50.203807+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vx3-uy4-r8e + url: https://api.datadoghq.com/api/v1/dashboard/7q6-h26-j3u response: - body: '{"deleted_dashboard_id":"vx3-uy4-r8e"} + body: '{"deleted_dashboard_id":"7q6-h26-j3u"} ' 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 c49849aab5a..956113bea8e 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-11-14T19:12:33.073Z \ No newline at end of file +2024-11-15T19:32:50.487Z \ 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 49a2f3221f6..b32c9a36294 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731699170","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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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{*} + body: '{"id":"aj4-ak4-dgu","title":"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731699170","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/aj4-ak4-dgu/test-createanewdashboardwithquerytablewidgetandtextformatting-1731699170","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":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":[]} + 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":2029648185914619}],"notify_list":[],"created_at":"2024-11-15T19:32:50.640850+00:00","modified_at":"2024-11-15T19:32:50.640850+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cj4-7yg-224 + url: https://api.datadoghq.com/api/v1/dashboard/aj4-ak4-dgu response: - body: '{"deleted_dashboard_id":"cj4-7yg-224"} + body: '{"deleted_dashboard_id":"aj4-ak4-dgu"} ' 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 1081b6aceaa..99bf8b85bde 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 @@ -2024-11-14T19:12:33.522Z \ No newline at end of file +2024-11-15T19:32:50.953Z \ 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 049be636254..d3aedb082df 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_query_value_widget-1731699170","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"jks-c6t-r8e","title":"Test-Create_a_new_dashboard_with_query_value_widget-1731699170","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/jks-c6t-r8e/test-createanewdashboardwithqueryvaluewidget-1731699170","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":7789696284248060}],"notify_list":[],"created_at":"2024-11-15T19:32:51.196390+00:00","modified_at":"2024-11-15T19:32:51.196390+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/s4k-uc2-3r7 + url: https://api.datadoghq.com/api/v1/dashboard/jks-c6t-r8e response: - body: '{"deleted_dashboard_id":"s4k-uc2-3r7"} + body: '{"deleted_dashboard_id":"jks-c6t-r8e"} ' code: 200 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 6cb23c5c2f2..4cb4232c9f6 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 @@ -2024-11-14T19:12:33.950Z \ No newline at end of file +2024-11-15T19:32:51.468Z \ 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 10a7aa815de..bb8b8264f05 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731699171 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"ce9-y6g-66s","title":"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731699171 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/ce9-y6g-66s/test-createanewdashboardwithrumissuestreamliststreamwidget-1731699171-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":6059436646329395}],"notify_list":null,"created_at":"2024-11-15T19:32:51.588133+00:00","modified_at":"2024-11-15T19:32:51.588133+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cg8-yhk-bw6 + url: https://api.datadoghq.com/api/v1/dashboard/ce9-y6g-66s response: - body: '{"deleted_dashboard_id":"cg8-yhk-bw6"} + body: '{"deleted_dashboard_id":"ce9-y6g-66s"} ' code: 200 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 fc57fa46c21..19970408697 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 @@ -2024-11-14T19:12:34.656Z \ No newline at end of file +2024-11-15T19:32:51.836Z \ 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 e1b22b3db07..1c61612af5e 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1731699171","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"iis-hmn-pzf","title":"Test-Create_a_new_dashboard_with_run_workflow_widget-1731699171","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/iis-hmn-pzf/test-createanewdashboardwithrunworkflowwidget-1731699171","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":5837412826936459}],"notify_list":[],"created_at":"2024-11-15T19:32:51.982136+00:00","modified_at":"2024-11-15T19:32:51.982136+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7jz-n57-595 + url: https://api.datadoghq.com/api/v1/dashboard/iis-hmn-pzf response: - body: '{"deleted_dashboard_id":"7jz-n57-595"} + body: '{"deleted_dashboard_id":"iis-hmn-pzf"} ' 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 bbe1ad83de6..2f263e05b5c 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 @@ -2024-11-14T19:12:35.019Z \ No newline at end of file +2024-11-15T19:32:52.260Z \ 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 19fd6153aa0..2b829d454a1 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1731699172","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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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{*} + body: '{"id":"s39-kcu-kcv","title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1731699172","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/s39-kcu-kcv/test-createanewdashboardwithscatterplotwidget-1731699172","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}"}],"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":[]} + 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":6421549335837738}],"notify_list":[],"created_at":"2024-11-15T19:32:52.488297+00:00","modified_at":"2024-11-15T19:32:52.488297+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/s9j-nm3-tvr + url: https://api.datadoghq.com/api/v1/dashboard/s39-kcu-kcv response: - body: '{"deleted_dashboard_id":"s9j-nm3-tvr"} + body: '{"deleted_dashboard_id":"s39-kcu-kcv"} ' code: 200 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 175deba2339..3e5451ccd65 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 @@ -2024-11-14T19:12:35.598Z \ No newline at end of file +2024-11-15T19:32:52.734Z \ 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 223775c30c9..0241ca3d3e0 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_servicemap_widget-1731699172","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"npz-y6x-z4g","title":"Test-Create_a_new_dashboard_with_servicemap_widget-1731699172","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/npz-y6x-z4g/test-createanewdashboardwithservicemapwidget-1731699172","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":4704608837901441}],"notify_list":[],"created_at":"2024-11-15T19:32:52.841936+00:00","modified_at":"2024-11-15T19:32:52.841936+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/g7c-rdn-m36 + url: https://api.datadoghq.com/api/v1/dashboard/npz-y6x-z4g response: - body: '{"deleted_dashboard_id":"g7c-rdn-m36"} + body: '{"deleted_dashboard_id":"npz-y6x-z4g"} ' code: 200 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 4f102fc766b..5c138f8c55b 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 @@ -2024-11-14T19:12:36.037Z \ No newline at end of file +2024-11-15T19:32:53.101Z \ 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 9d0645cbf21..a935635f3b1 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-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"} + {"name":"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - 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} + body: '{"data":[{"id":"89fa8ea5e6045df7b43f58ab5a9887cc","name":"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173","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":1731699173,"modified_at":1731699173}],"error":null} ' code: 200 @@ -24,7 +23,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173","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: @@ -35,9 +34,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"rnh-pf5-uu6","title":"Test-Create_a_new_dashboard_with_slo_list_widget-1731699173","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/rnh-pf5-uu6/test-createanewdashboardwithslolistwidget-1731699173","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":8288298613606134}],"notify_list":[],"created_at":"2024-11-15T19:32:53.410595+00:00","modified_at":"2024-11-15T19:32:53.410595+00:00","restricted_roles":[]} ' code: 200 @@ -54,9 +52,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/iwm-46e-6pb + url: https://api.datadoghq.com/api/v1/dashboard/rnh-pf5-uu6 response: - body: '{"deleted_dashboard_id":"iwm-46e-6pb"} + body: '{"deleted_dashboard_id":"rnh-pf5-uu6"} ' code: 200 @@ -73,9 +71,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/883996caaca65291adf88e32705cbe67 + url: https://api.datadoghq.com/api/v1/slo/89fa8ea5e6045df7b43f58ab5a9887cc response: - body: '{"data":["883996caaca65291adf88e32705cbe67"],"error":null} + body: '{"data":["89fa8ea5e6045df7b43f58ab5a9887cc"],"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 916fb6b70c6..48201fa8b91 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 @@ -2024-11-14T19:12:36.994Z \ No newline at end of file +2024-11-15T19:32:53.875Z \ 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 d59746ccb44..f7bceed9483 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-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"} + {"name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - 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} + body: '{"data":[{"id":"7ae31bf46704510e973d8bf6a1c37430","name":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173","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":1731699174,"modified_at":1731699174}],"error":null} ' code: 200 @@ -24,7 +23,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173","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: @@ -35,9 +34,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"s9d-ebt-cfz","title":"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1731699173","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/s9d-ebt-cfz/test-createanewdashboardwithslolistwidgetwithsort-1731699173","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":2594196925720924}],"notify_list":[],"created_at":"2024-11-15T19:32:54.206516+00:00","modified_at":"2024-11-15T19:32:54.206516+00:00","restricted_roles":[]} ' code: 200 @@ -54,9 +52,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8dz-sjg-vcn + url: https://api.datadoghq.com/api/v1/dashboard/s9d-ebt-cfz response: - body: '{"deleted_dashboard_id":"8dz-sjg-vcn"} + body: '{"deleted_dashboard_id":"s9d-ebt-cfz"} ' code: 200 @@ -73,9 +71,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/beb306f6ef6a51398811e8d638e443d9 + url: https://api.datadoghq.com/api/v1/slo/7ae31bf46704510e973d8bf6a1c37430 response: - body: '{"data":["beb306f6ef6a51398811e8d638e443d9"],"error":null} + body: '{"data":["7ae31bf46704510e973d8bf6a1c37430"],"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 af7a5bfbb64..46a85d52371 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 @@ -2024-11-14T19:12:37.759Z \ No newline at end of file +2024-11-15T19:32:54.721Z \ 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 725c7d0f892..672268b5bc8 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-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"} + {"name":"Test-Create_a_new_dashboard_with_slo_widget-1731699174","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/slo response: - 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} + body: '{"data":[{"id":"ff0d47f8ee755a4abc061fe92e9978f5","name":"Test-Create_a_new_dashboard_with_slo_widget-1731699174","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":1731699174,"modified_at":1731699174}],"error":null} ' code: 200 @@ -24,7 +23,7 @@ interactions: status: 200 OK - request: body: | - {"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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_slo_widget-1731699174","widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"ff0d47f8ee755a4abc061fe92e9978f5","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: @@ -35,8 +34,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"87d-8cv-ee8","title":"Test-Create_a_new_dashboard_with_slo_widget-1731699174","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/87d-8cv-ee8/test-createanewdashboardwithslowidget-1731699174","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"additional_query_filters":"!host:excluded_host","global_time_target":"0","show_error_budget":true,"slo_id":"ff0d47f8ee755a4abc061fe92e9978f5","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":7311206439565839}],"notify_list":[],"created_at":"2024-11-15T19:32:54.989103+00:00","modified_at":"2024-11-15T19:32:54.989103+00:00","restricted_roles":[]} ' code: 200 @@ -53,9 +51,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/xaz-u6q-et4 + url: https://api.datadoghq.com/api/v1/dashboard/87d-8cv-ee8 response: - body: '{"deleted_dashboard_id":"xaz-u6q-et4"} + body: '{"deleted_dashboard_id":"87d-8cv-ee8"} ' code: 200 @@ -72,9 +70,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/slo/dd4731783bfb5c97b01e19a5c3224429 + url: https://api.datadoghq.com/api/v1/slo/ff0d47f8ee755a4abc061fe92e9978f5 response: - body: '{"data":["dd4731783bfb5c97b01e19a5c3224429"],"error":null} + body: '{"data":["ff0d47f8ee755a4abc061fe92e9978f5"],"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 f0705f03a6e..89b9b6cd0cf 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 @@ -2024-11-14T19:12:38.603Z \ No newline at end of file +2024-11-15T19:32:55.621Z \ 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 7f4a34535f5..3a150fb9e4f 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":"","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}}]} + {"description":"","layout_type":"ordered","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_split_graph_widget-1731699175","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"xcs-593-5gu","title":"Test-Create_a_new_dashboard_with_split_graph_widget-1731699175","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/xcs-593-5gu/test-createanewdashboardwithsplitgraphwidget-1731699175","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":8349230773327441}],"notify_list":[],"created_at":"2024-11-15T19:32:56.317258+00:00","modified_at":"2024-11-15T19:32:56.317258+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/482-izf-9gi + url: https://api.datadoghq.com/api/v1/dashboard/xcs-593-5gu response: - body: '{"deleted_dashboard_id":"482-izf-9gi"} + body: '{"deleted_dashboard_id":"xcs-593-5gu"} ' 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 07d57eec7fd..f82c625fa4e 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 @@ -2024-11-14T19:12:39.604Z \ No newline at end of file +2024-11-15T19:32:56.605Z \ 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 6a3804be235..53114adf0ae 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-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}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1731699176","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"qfx-a3h-kme","title":"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1731699176","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/qfx-a3h-kme/test-createanewdashboardwithsunburstwidgetandmetricsdata-1731699176","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":7225852611844225}],"notify_list":null,"created_at":"2024-11-15T19:32:56.779070+00:00","modified_at":"2024-11-15T19:32:56.779070+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/w74-sg2-g2b + url: https://api.datadoghq.com/api/v1/dashboard/qfx-a3h-kme response: - body: '{"deleted_dashboard_id":"w74-sg2-g2b"} + body: '{"deleted_dashboard_id":"qfx-a3h-kme"} ' 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 16d647ef7be..a85903d2bbf 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 @@ -2024-11-14T19:12:40.053Z \ No newline at end of file +2024-11-15T19:32:57.038Z \ 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 d96d989a35d..2b5ab99bdb6 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-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}}]} + {"layout_type":"ordered","tags":["team:foobar"],"title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1731699177","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"zb6-66m-ntf","title":"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1731699177","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/zb6-66m-ntf/test-createanewdashboardwithteamtagsreturnsokresponse-1731699177","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":5234430955769094}],"notify_list":null,"created_at":"2024-11-15T19:32:57.190291+00:00","modified_at":"2024-11-15T19:32:57.190291+00:00","tags":["team:foobar"],"restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7r9-76m-7cg + url: https://api.datadoghq.com/api/v1/dashboard/zb6-66m-ntf response: - body: '{"deleted_dashboard_id":"7r9-76m-7cg"} + body: '{"deleted_dashboard_id":"zb6-66m-ntf"} ' 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 67e2a075f6f..1061c8c9742 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 @@ -2024-11-14T19:12:40.459Z \ No newline at end of file +2024-11-15T19:32:57.452Z \ 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.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze index 9c512ec8ffe..ed54be33bba 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 @@ -2024-11-14T19:12:40.550Z \ No newline at end of file +2024-11-15T19:32:57.541Z \ 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 65103f47496..92711d063ca 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 @@ -12,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"49a-9qv-6v9","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/49a-9qv-6v9/","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":6949738169108876}],"notify_list":[],"created_at":"2024-11-15T19:32:57.743500+00:00","modified_at":"2024-11-15T19:32:57.743500+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/yf6-dzr-q5c + url: https://api.datadoghq.com/api/v1/dashboard/49a-9qv-6v9 response: - body: '{"deleted_dashboard_id":"yf6-dzr-q5c"} + body: '{"deleted_dashboard_id":"49a-9qv-6v9"} ' 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 895b181b5cd..051dbae9e1c 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 @@ -2024-11-14T19:12:41.067Z \ No newline at end of file +2024-11-15T19:32:57.985Z \ 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.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 d766055334c..300364a2208 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 @@ -2024-11-14T19:12:41.157Z \ No newline at end of file +2024-11-15T19:32:58.080Z \ 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.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 ead7a798e68..f42654b7fad 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 @@ -2024-11-14T19:12:41.245Z \ No newline at end of file +2024-11-15T19:32:58.168Z \ 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 9b0f33d6630..2c66d17e46d 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 @@ -12,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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 + body: '{"id":"87t-neh-qip","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/87t-neh-qip/","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":8760637497021649}],"notify_list":[],"created_at":"2024-11-15T19:32:58.513090+00:00","modified_at":"2024-11-15T19:32:58.513090+00:00","template_variable_presets":[{"name":"my saved view","template_variables":[{"name":"datacenter","values":["*","my-host"]}]}],"reflow_type":"auto","restricted_roles":[]} ' @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/aea-ma4-izr + url: https://api.datadoghq.com/api/v1/dashboard/87t-neh-qip response: - body: '{"deleted_dashboard_id":"aea-ma4-izr"} + body: '{"deleted_dashboard_id":"87t-neh-qip"} ' 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 294f8718a04..bd4dcf38cfd 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 @@ -2024-11-14T19:12:41.727Z \ No newline at end of file +2024-11-15T19:32:58.884Z \ 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 6ac9b001be5..b99aeff9645 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1731699178 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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"z42-55x-nbm","title":"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1731699178 + with formula style","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/z42-55x-nbm/test-createanewdashboardwithtimeserieswidgetandformulastyleattributes-1731699178","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":5160122298563606}],"notify_list":null,"created_at":"2024-11-15T19:32:59.036995+00:00","modified_at":"2024-11-15T19:32:59.036995+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/4pu-5hi-9ap + url: https://api.datadoghq.com/api/v1/dashboard/z42-55x-nbm response: - body: '{"deleted_dashboard_id":"4pu-5hi-9ap"} + body: '{"deleted_dashboard_id":"z42-55x-nbm"} ' 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 a0268693b71..dc2fbdc90ed 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 @@ -2024-11-14T19:12:42.123Z \ No newline at end of file +2024-11-15T19:32:59.286Z \ 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 301db5955ed..5837a2a2ad9 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731699179 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,10 +12,9 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"3g2-7q5-mxv","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731699179 + with timeseries widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/3g2-7q5-mxv/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1731699179","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":6683223163247608}],"notify_list":null,"created_at":"2024-11-15T19:32:59.447813+00:00","modified_at":"2024-11-15T19:32:59.447813+00:00","restricted_roles":[]} ' code: 200 @@ -32,9 +31,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/d2u-a79-uqv + url: https://api.datadoghq.com/api/v1/dashboard/3g2-7q5-mxv response: - body: '{"deleted_dashboard_id":"d2u-a79-uqv"} + body: '{"deleted_dashboard_id":"3g2-7q5-mxv"} ' code: 200 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 31018147d6b..85c3e93496e 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-11-14T19:12:42.537Z \ No newline at end of file +2024-11-15T19:32:59.704Z \ 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 f644b7bdd33..cdaaa0feb4f 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_toplist_widget-1731699179","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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"jwf-ikb-jaw","title":"Test-Create_a_new_dashboard_with_toplist_widget-1731699179","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/jwf-ikb-jaw/test-createanewdashboardwithtoplistwidget-1731699179","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":8328791355254092}],"notify_list":[],"created_at":"2024-11-15T19:32:59.881856+00:00","modified_at":"2024-11-15T19:32:59.881856+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/ffe-udq-bak + url: https://api.datadoghq.com/api/v1/dashboard/jwf-ikb-jaw response: - body: '{"deleted_dashboard_id":"ffe-udq-bak"} + body: '{"deleted_dashboard_id":"jwf-ikb-jaw"} ' 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 ad5fd650d3f..75f9065825d 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 @@ -2024-11-14T19:12:42.948Z \ No newline at end of file +2024-11-15T19:33:00.134Z \ 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 caa98a9a5ff..628aa0b8c48 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_topology_map_widget-1731699180","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,8 +12,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"9fp-eg8-uae","title":"Test-Create_a_new_dashboard_with_topology_map_widget-1731699180","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/9fp-eg8-uae/test-createanewdashboardwithtopologymapwidget-1731699180","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":606036044054377}],"notify_list":[],"created_at":"2024-11-15T19:33:00.244891+00:00","modified_at":"2024-11-15T19:33:00.244891+00:00","restricted_roles":[]} ' code: 200 @@ -30,9 +29,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/4nx-4x7-4ft + url: https://api.datadoghq.com/api/v1/dashboard/9fp-eg8-uae response: - body: '{"deleted_dashboard_id":"4nx-4x7-4ft"} + body: '{"deleted_dashboard_id":"9fp-eg8-uae"} ' 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 6b659be6443..76a81f7d234 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 @@ -2024-11-14T19:12:43.342Z \ No newline at end of file +2024-11-15T19:33:00.514Z \ 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 b81ff708d7f..bfad05f023b 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":"","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}}]} + {"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_trace_service_widget-1731699180","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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"8rp-yjv-2c7","title":"Test-Create_a_new_dashboard_with_trace_service_widget-1731699180","description":"","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"free","url":"/dashboard/8rp-yjv-2c7/test-createanewdashboardwithtraceservicewidget-1731699180","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":1971574953690767}],"notify_list":[],"created_at":"2024-11-15T19:33:00.618626+00:00","modified_at":"2024-11-15T19:33:00.618626+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/82r-6xq-vn3 + url: https://api.datadoghq.com/api/v1/dashboard/8rp-yjv-2c7 response: - body: '{"deleted_dashboard_id":"82r-6xq-vn3"} + body: '{"deleted_dashboard_id":"8rp-yjv-2c7"} ' code: 200 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 403f798bb02..bd99a2d0619 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 @@ -2024-11-14T19:12:43.703Z \ No newline at end of file +2024-11-15T19:33:00.871Z \ 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 89bfaa9c6d9..e298747967e 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1731699180 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"8hi-5bw-sya","title":"Test-Create_a_new_dashboard_with_trace_stream_widget-1731699180 + with list_stream widget","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/8hi-5bw-sya/test-createanewdashboardwithtracestreamwidget-1731699180-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":4795393510685480}],"notify_list":null,"created_at":"2024-11-15T19:33:01.001890+00:00","modified_at":"2024-11-15T19:33:01.001890+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/wnc-xse-sns + url: https://api.datadoghq.com/api/v1/dashboard/8hi-5bw-sya response: - body: '{"deleted_dashboard_id":"wnc-xse-sns"} + body: '{"deleted_dashboard_id":"8hi-5bw-sya"} ' code: 200 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 836b6bdd4cd..acc6b9445ff 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 @@ -2024-11-14T19:12:44.087Z \ No newline at end of file +2024-11-15T19:33:01.264Z \ 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 be18676b5e0..398f439a539 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1731699181 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"c2y-k8z-ghy","title":"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1731699181 + with ci_pipelines datasource","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/c2y-k8z-ghy/test-createanewtimeserieswidgetwithcipipelinesdatasource-1731699181-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":7421904402454882}],"notify_list":null,"created_at":"2024-11-15T19:33:01.435760+00:00","modified_at":"2024-11-15T19:33:01.435760+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/pjm-jv3-48u + url: https://api.datadoghq.com/api/v1/dashboard/c2y-k8z-ghy response: - body: '{"deleted_dashboard_id":"pjm-jv3-48u"} + body: '{"deleted_dashboard_id":"c2y-k8z-ghy"} ' 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 07996dab86e..6c2c78659f1 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 @@ -2024-11-14T19:12:44.499Z \ No newline at end of file +2024-11-15T19:33:01.698Z \ 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 195ae425b98..766567d8dcc 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1731699181 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"j89-gve-ggt","title":"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1731699181 + with ci_tests datasource","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/j89-gve-ggt/test-createanewtimeserieswidgetwithcitestsdatasource-1731699181-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":6228011042051238}],"notify_list":null,"created_at":"2024-11-15T19:33:01.854077+00:00","modified_at":"2024-11-15T19:33:01.854077+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/cdv-aqf-wud + url: https://api.datadoghq.com/api/v1/dashboard/j89-gve-ggt response: - body: '{"deleted_dashboard_id":"cdv-aqf-wud"} + body: '{"deleted_dashboard_id":"j89-gve-ggt"} ' 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 65755df7692..62d6285a0e4 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-11-14T19:12:44.903Z \ No newline at end of file +2024-11-15T19:33:02.114Z \ 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 965364a517b..bd80e888315 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1731699182 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"acy-6e4-hcx","title":"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1731699182 + with incident_analytics datasource","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/acy-6e4-hcx/test-createanewtimeserieswidgetwithincidentanalyticsdatasource-1731699182-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":1892327793861749}],"notify_list":null,"created_at":"2024-11-15T19:33:02.279466+00:00","modified_at":"2024-11-15T19:33:02.279466+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/d25-w5x-ehk + url: https://api.datadoghq.com/api/v1/dashboard/acy-6e4-hcx response: - body: '{"deleted_dashboard_id":"d25-w5x-ehk"} + body: '{"deleted_dashboard_id":"acy-6e4-hcx"} ' 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 7315f4dc8b0..c8e222ab205 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-11-14T19:12:45.283Z \ No newline at end of file +2024-11-15T19:33:02.539Z \ 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 9c33659074f..1a4507a478c 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1731699182 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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"3zr-n9a-dfd","title":"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1731699182 + with legacy live span time","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/3zr-n9a-dfd/test-createanewtimeserieswidgetwithlegacylivespantimeformat-1731699182-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":5376392318113781}],"notify_list":null,"created_at":"2024-11-15T19:33:02.697929+00:00","modified_at":"2024-11-15T19:33:02.697929+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/nsa-nv8-m5q + url: https://api.datadoghq.com/api/v1/dashboard/3zr-n9a-dfd response: - body: '{"deleted_dashboard_id":"nsa-nv8-m5q"} + body: '{"deleted_dashboard_id":"3zr-n9a-dfd"} ' 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 b51338e8f50..740efedb273 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-11-14T19:12:45.751Z \ No newline at end of file +2024-11-15T19:33:02.942Z \ 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 2d02bf0b979..6b81a6685d9 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1731699182 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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"xfq-c2m-cqi","title":"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1731699182 + with new fixed span time","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/xfq-c2m-cqi/test-createanewtimeserieswidgetwithnewfixedspantimeformat-1731699182-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":7353899445937131}],"notify_list":null,"created_at":"2024-11-15T19:33:03.107998+00:00","modified_at":"2024-11-15T19:33:03.107998+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/aka-wb3-49f + url: https://api.datadoghq.com/api/v1/dashboard/xfq-c2m-cqi response: - body: '{"deleted_dashboard_id":"aka-wb3-49f"} + body: '{"deleted_dashboard_id":"xfq-c2m-cqi"} ' 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 955af2958e3..b05fa906e0e 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-11-14T19:12:46.156Z \ No newline at end of file +2024-11-15T19:33:03.421Z \ 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 2454c444e87..99cd2b8cd78 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-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"}}]} + {"layout_type":"ordered","reflow_type":"auto","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1731699183 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,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"vtq-7wk-ezs","title":"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1731699183 + with new live span time","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/vtq-7wk-ezs/test-createanewtimeserieswidgetwithnewlivespantimeformat-1731699183-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":5791200763250393}],"notify_list":null,"created_at":"2024-11-15T19:33:03.610036+00:00","modified_at":"2024-11-15T19:33:03.610036+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vtj-mcf-jsm + url: https://api.datadoghq.com/api/v1/dashboard/vtq-7wk-ezs response: - body: '{"deleted_dashboard_id":"vtj-mcf-jsm"} + body: '{"deleted_dashboard_id":"vtq-7wk-ezs"} ' 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 69b301ba042..ac6221cc7b0 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 @@ -2024-11-14T19:12:46.557Z \ No newline at end of file +2024-11-15T19:33:03.867Z \ 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 da3a8ab12d1..0d215f5af47 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 @@ -2024-11-14T19:12:46.664Z \ No newline at end of file +2024-11-15T19:33:03.971Z \ 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 8c83a9a8cf1..da5ab6867f9 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-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"}}]} + {"layout_type":"ordered","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731699183 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"g3v-56r-qqm","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731699183 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/g3v-56r-qqm/test-createashareddashboardreturnsokresponse-1731699183-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":7951506467220611}],"notify_list":null,"created_at":"2024-11-15T19:33:04.124805+00:00","modified_at":"2024-11-15T19:33:04.124805+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"zc8-ujq-5pw","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_type":"open"} + {"dashboard_id":"g3v-56r-qqm","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_type":"open"} form: {} headers: Accept: @@ -36,8 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - 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":[]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"g3v-56r-qqm","dashboard_type":"custom_timeboard","status":"active","title":"Test-Create_a_shared_dashboard_returns_OK_response-1731699183 + 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-4893b23e8e8483063cfae1c21abb8de1","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-4893b23e8e8483063cfae1c21abb8de1","created":"2024-11-15T19:33:04.453114+00:00","share_type":"open","share_list":null,"session_duration_in_days":null,"invitees":[]} ' code: 200 @@ -54,9 +53,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-4893b23e8e8483063cfae1c21abb8de1 response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-4893b23e8e8483063cfae1c21abb8de1"} ' code: 200 @@ -73,9 +72,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zc8-ujq-5pw + url: https://api.datadoghq.com/api/v1/dashboard/g3v-56r-qqm response: - body: '{"deleted_dashboard_id":"zc8-ujq-5pw"} + body: '{"deleted_dashboard_id":"g3v-56r-qqm"} ' 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 d80bc1bcd29..e3796b0ab28 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 @@ -2024-11-14T19:12:47.633Z \ No newline at end of file +2024-11-15T19:33:04.960Z \ 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 19947781fd5..caad5282608 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-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"}}]} + {"layout_type":"ordered","title":"Test-Delete_a_dashboard_returns_OK_response-1731699184 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"hai-uhn-87g","title":"Test-Delete_a_dashboard_returns_OK_response-1731699184 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/hai-uhn-87g/test-deleteadashboardreturnsokresponse-1731699184-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":1882306032459411}],"notify_list":null,"created_at":"2024-11-15T19:33:05.172609+00:00","modified_at":"2024-11-15T19:33:05.172609+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7g3-mu4-zqy + url: https://api.datadoghq.com/api/v1/dashboard/hai-uhn-87g response: - body: '{"deleted_dashboard_id":"7g3-mu4-zqy"} + body: '{"deleted_dashboard_id":"hai-uhn-87g"} ' code: 200 @@ -50,9 +49,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7g3-mu4-zqy + url: https://api.datadoghq.com/api/v1/dashboard/hai-uhn-87g response: - body: '{"errors":["Dashboard with ID 7g3-mu4-zqy not found"]}' + body: '{"errors":["Dashboard with ID hai-uhn-87g 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 2478cb8050f..2749a38eae1 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 @@ -2024-11-14T19:12:48.160Z \ No newline at end of file +2024-11-15T19:33:05.518Z \ 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 b1515a85a2d..c975ffb31a8 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-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"}}]} + {"layout_type":"ordered","title":"Test-Delete_dashboards_returns_No_Content_response-1731699185 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"jp2-chp-z7f","title":"Test-Delete_dashboards_returns_No_Content_response-1731699185 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/jp2-chp-z7f/test-deletedashboardsreturnsnocontentresponse-1731699185-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":7971677393607038}],"notify_list":null,"created_at":"2024-11-15T19:33:05.683192+00:00","modified_at":"2024-11-15T19:33:05.683192+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"data":[{"id":"7r3-8uu-hh9","type":"dashboard"}]} + {"data":[{"id":"jp2-chp-z7f","type":"dashboard"}]} form: {} headers: Accept: @@ -51,9 +50,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/7r3-8uu-hh9 + url: https://api.datadoghq.com/api/v1/dashboard/jp2-chp-z7f response: - body: '{"errors":["Dashboard with ID 7r3-8uu-hh9 not found"]}' + body: '{"errors":["Dashboard with ID jp2-chp-z7f 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 094aed4527f..5275fa54633 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 @@ -2024-11-14T19:12:48.640Z \ No newline at end of file +2024-11-15T19:33:06.052Z \ 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 58c33b7b611..08544cd5fbc 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-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"}}]} + {"layout_type":"ordered","title":"Test-Get_a_dashboard_returns_OK_response-1731699186 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"448-ktj-ezs","title":"Test-Get_a_dashboard_returns_OK_response-1731699186 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/448-ktj-ezs/test-getadashboardreturnsokresponse-1731699186-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":7381515167611300}],"notify_list":null,"created_at":"2024-11-15T19:33:06.217022+00:00","modified_at":"2024-11-15T19:33:06.217022+00:00","restricted_roles":[]} ' code: 200 @@ -31,11 +30,10 @@ interactions: - application/json id: 1 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/8u7-9gr-rx9 + url: https://api.datadoghq.com/api/v1/dashboard/448-ktj-ezs response: - 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":[]} + body: '{"id":"448-ktj-ezs","title":"Test-Get_a_dashboard_returns_OK_response-1731699186 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/448-ktj-ezs/test-getadashboardreturnsokresponse-1731699186-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":7381515167611300}],"notify_list":null,"created_at":"2024-11-15T19:33:06.217022+00:00","modified_at":"2024-11-15T19:33:06.217022+00:00","restricted_roles":[]} ' code: 200 @@ -52,9 +50,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/8u7-9gr-rx9 + url: https://api.datadoghq.com/api/v1/dashboard/448-ktj-ezs response: - body: '{"deleted_dashboard_id":"8u7-9gr-rx9"} + body: '{"deleted_dashboard_id":"448-ktj-ezs"} ' code: 200 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 ab68b32b6c2..64d7c4de059 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 @@ -2024-11-14T19:12:49.266Z \ No newline at end of file +2024-11-15T19:33:06.595Z \ 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 362645e5cc6..0af91a534ef 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-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"}}]} + {"layout_type":"ordered","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731699186 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"8ev-xtr-upp","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731699186 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/8ev-xtr-upp/test-getashareddashboardreturnsokresponse-1731699186-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":80087833264827}],"notify_list":null,"created_at":"2024-11-15T19:33:06.747717+00:00","modified_at":"2024-11-15T19:33:06.747717+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"zwb-m89-nt7","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetashareddashboardreturnsokresponse1731611569@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"8ev-xtr-upp","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetashareddashboardreturnsokresponse1731699186@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -36,8 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - 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"}]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"8ev-xtr-upp","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731699186 + 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-a0de932128a4590dd2936030efe4536f","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f","created":"2024-11-15T19:33:07.079213+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1731699186@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetashareddashboardreturnsokresponse1731699186@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-15T19:33:07.104751+00:00"}]} ' code: 200 @@ -54,10 +53,10 @@ interactions: - application/json id: 2 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f response: - 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"}]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"8ev-xtr-upp","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_a_shared_dashboard_returns_OK_response-1731699186 + 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-a0de932128a4590dd2936030efe4536f","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f","created":"2024-11-15T19:33:07.079213+00:00","share_type":"invite","share_list":["testgetashareddashboardreturnsokresponse1731699186@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetashareddashboardreturnsokresponse1731699186@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-15T19:33:07.104751+00:00"}]} ' code: 200 @@ -74,9 +73,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1 + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-a0de932128a4590dd2936030efe4536f"} ' code: 200 @@ -93,9 +92,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/zwb-m89-nt7 + url: https://api.datadoghq.com/api/v1/dashboard/8ev-xtr-upp response: - body: '{"deleted_dashboard_id":"zwb-m89-nt7"} + body: '{"deleted_dashboard_id":"8ev-xtr-upp"} ' 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 d48ca7e2065..376ab4d26e7 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 @@ -2024-11-14T19:12:50.331Z \ No newline at end of file +2024-11-15T19:33:07.625Z \ 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 391ed0488b7..2b7cd10072b 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-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"}}]} + {"layout_type":"ordered","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731699187 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"qnh-gkv-jbc","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731699187 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/qnh-gkv-jbc/test-getallinvitationsforashareddashboardreturnsokresponse-1731699187-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":6861880551996269}],"notify_list":null,"created_at":"2024-11-15T19:33:07.779258+00:00","modified_at":"2024-11-15T19:33:07.779258+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"fkc-v6q-qze","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1731611570@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"qnh-gkv-jbc","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1731699187@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -36,8 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - 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"}]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"qnh-gkv-jbc","dashboard_type":"custom_timeboard","status":"active","title":"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1731699187 + 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-d7c9444d4bf13c445437741538d0ad29","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29","created":"2024-11-15T19:33:08.095976+00:00","share_type":"invite","share_list":["testgetallinvitationsforashareddashboardreturnsokresponse1731699187@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testgetallinvitationsforashareddashboardreturnsokresponse1731699187@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-15T19:33:08.120637+00:00"}]} ' code: 200 @@ -54,7 +53,7 @@ interactions: - application/json id: 2 method: GET - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29/invitation response: body: '{"data":[],"meta":{"page":{"total_count":0}}} @@ -73,9 +72,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29 response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-d7c9444d4bf13c445437741538d0ad29"} ' code: 200 @@ -92,9 +91,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/fkc-v6q-qze + url: https://api.datadoghq.com/api/v1/dashboard/qnh-gkv-jbc response: - body: '{"deleted_dashboard_id":"fkc-v6q-qze"} + body: '{"deleted_dashboard_id":"qnh-gkv-jbc"} ' 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 782c991a59b..0e7b81a08b2 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 @@ -2024-11-14T19:12:51.450Z \ No newline at end of file +2024-11-15T19:33:08.646Z \ 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 55f4ccd9924..6fb3fab8249 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-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"}}]} + {"layout_type":"ordered","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1731699188 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"xsv-pnb-qcn","title":"Test-Restore_deleted_dashboards_returns_No_Content_response-1731699188 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/xsv-pnb-qcn/test-restoredeleteddashboardsreturnsnocontentresponse-1731699188-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":5612613024221520}],"notify_list":null,"created_at":"2024-11-15T19:33:08.803192+00:00","modified_at":"2024-11-15T19:33:08.803192+00:00","restricted_roles":[]} ' code: 200 @@ -31,9 +30,9 @@ interactions: - application/json id: 1 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vmk-awa-gje + url: https://api.datadoghq.com/api/v1/dashboard/xsv-pnb-qcn response: - body: '{"deleted_dashboard_id":"vmk-awa-gje"} + body: '{"deleted_dashboard_id":"xsv-pnb-qcn"} ' code: 200 @@ -44,7 +43,7 @@ interactions: status: 200 OK - request: body: | - {"data":[{"id":"vmk-awa-gje","type":"dashboard"}]} + {"data":[{"id":"xsv-pnb-qcn","type":"dashboard"}]} form: {} headers: Accept: @@ -70,9 +69,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/vmk-awa-gje + url: https://api.datadoghq.com/api/v1/dashboard/xsv-pnb-qcn response: - body: '{"deleted_dashboard_id":"vmk-awa-gje"} + body: '{"deleted_dashboard_id":"xsv-pnb-qcn"} ' code: 200 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 b52234e3c48..df6df60a531 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 @@ -2024-11-14T19:12:52.187Z \ No newline at end of file +2024-11-15T19:33:09.343Z \ 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 b9d1c91a62e..cb2dc621200 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-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"}}]} + {"layout_type":"ordered","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731699189 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"yri-q6w-8gq","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731699189 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/yri-q6w-8gq/test-sendshareddashboardinvitationemailreturnsokresponse-1731699189-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":4582147876316754}],"notify_list":null,"created_at":"2024-11-15T19:33:09.509544+00:00","modified_at":"2024-11-15T19:33:09.509544+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"gut-f87-dcm","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"yri-q6w-8gq","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -36,8 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - 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"}]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"yri-q6w-8gq","dashboard_type":"custom_timeboard","status":"active","title":"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1731699189 + 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-6b737747459631d184ade0ca119a8c2b","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b","created":"2024-11-15T19:33:09.910074+00:00","share_type":"invite","share_list":["testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-15T19:33:09.933255+00:00"}]} ' code: 200 @@ -48,7 +47,7 @@ interactions: status: 200 OK - request: body: | - {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"},"type":"public_dashboard_invitation"}} + {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com"},"type":"public_dashboard_invitation"}} form: {} headers: Accept: @@ -57,9 +56,9 @@ interactions: - application/json id: 2 method: POST - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b/invitation response: - 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}}} + body: '{"data":{"type":"public_dashboard_invitation","attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com","share_token":"fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b","created_at":"2024-11-15T19:33:10.103186+00:00","invitation_expiry":"2024-11-15T20:33:10.101261+00:00","has_session":false,"session_expiry":null}}} ' code: 201 @@ -70,7 +69,7 @@ interactions: status: 201 Created - request: body: | - {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com"},"type":"public_dashboard_invitation"}} + {"data":{"attributes":{"email":"testsendshareddashboardinvitationemailreturnsokresponse1731699189@datadoghq.com"},"type":"public_dashboard_invitation"}} form: {} headers: Accept: @@ -79,7 +78,7 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b/invitation response: body: '' code: 204 @@ -96,9 +95,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-6b737747459631d184ade0ca119a8c2b"} ' code: 200 @@ -115,9 +114,9 @@ interactions: - application/json id: 5 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/gut-f87-dcm + url: https://api.datadoghq.com/api/v1/dashboard/yri-q6w-8gq response: - body: '{"deleted_dashboard_id":"gut-f87-dcm"} + body: '{"deleted_dashboard_id":"yri-q6w-8gq"} ' 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 9b016bffb8e..f43e4e4365a 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 @@ -2024-11-14T19:12:53.526Z \ No newline at end of file +2024-11-15T19:33:10.845Z \ 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 cb4f43d026d..cb83012e309 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-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"}}]} + {"layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1731699190 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"p63-b2n-sjg","title":"Test-Update_a_dashboard_returns_OK_response-1731699190 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/p63-b2n-sjg/test-updateadashboardreturnsokresponse-1731699190-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":5657970793131714}],"notify_list":null,"created_at":"2024-11-15T19:33:11.001823+00:00","modified_at":"2024-11-15T19:33:11.001823+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"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"}}]} + {"description":"Updated description","layout_type":"ordered","title":"Test-Update_a_dashboard_returns_OK_response-1731699190 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: @@ -34,11 +33,10 @@ interactions: - application/json id: 1 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/5xn-4yt-3vj + url: https://api.datadoghq.com/api/v1/dashboard/p63-b2n-sjg response: - 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":[]} + body: '{"id":"p63-b2n-sjg","title":"Test-Update_a_dashboard_returns_OK_response-1731699190 + with list_stream widget","description":"Updated description","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/p63-b2n-sjg/test-updateadashboardreturnsokresponse-1731699190-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":2673972776725197}],"notify_list":null,"created_at":"2024-11-15T19:33:11.001823+00:00","modified_at":"2024-11-15T19:33:11.244365+00:00","restricted_roles":[]} ' code: 200 @@ -55,9 +53,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/5xn-4yt-3vj + url: https://api.datadoghq.com/api/v1/dashboard/p63-b2n-sjg response: - body: '{"deleted_dashboard_id":"5xn-4yt-3vj"} + body: '{"deleted_dashboard_id":"p63-b2n-sjg"} ' code: 200 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 a9783311d3e..27435ebcfe4 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 @@ -2024-11-14T19:12:54.203Z \ No newline at end of file +2024-11-15T19:33:11.536Z \ 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 64018ebfc0a..e39428a5b8b 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-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"}}]} + {"layout_type":"ordered","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"dpm-665-j6y","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/dpm-665-j6y/test-updateadashboardwithtagsreturnsokresponse-1731699191-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":7755905539203163}],"notify_list":null,"created_at":"2024-11-15T19:33:11.685174+00:00","modified_at":"2024-11-15T19:33:11.685174+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,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-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"}}]} + {"description":"Updated description","layout_type":"ordered","tags":["team:foo","team:bar"],"title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 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: @@ -34,11 +33,10 @@ interactions: - application/json id: 1 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/czi-xdb-s6p + url: https://api.datadoghq.com/api/v1/dashboard/dpm-665-j6y response: - 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":[]} + body: '{"id":"dpm-665-j6y","title":"Test-Update_a_dashboard_with_tags_returns_OK_response-1731699191 + with list_stream widget","description":"Updated description","author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/dpm-665-j6y/test-updateadashboardwithtagsreturnsokresponse-1731699191-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":4561855444879229}],"notify_list":null,"created_at":"2024-11-15T19:33:11.685174+00:00","modified_at":"2024-11-15T19:33:11.905971+00:00","tags":["team:foo","team:bar"],"restricted_roles":[]} ' code: 200 @@ -55,9 +53,9 @@ interactions: - application/json id: 2 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/czi-xdb-s6p + url: https://api.datadoghq.com/api/v1/dashboard/dpm-665-j6y response: - body: '{"deleted_dashboard_id":"czi-xdb-s6p"} + body: '{"deleted_dashboard_id":"dpm-665-j6y"} ' 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 54de005803c..97694f3053a 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 @@ -2024-11-14T19:12:54.907Z \ No newline at end of file +2024-11-15T19:33:12.179Z \ 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 61f6c416289..71321898b1d 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-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"}}]} + {"layout_type":"ordered","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731699192 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,9 +12,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - 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":[]} + body: '{"id":"7gy-n9j-kdz","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731699192 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/7gy-n9j-kdz/test-updateashareddashboardreturnsokresponse-1731699192-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":1917183550061512}],"notify_list":null,"created_at":"2024-11-15T19:33:12.333485+00:00","modified_at":"2024-11-15T19:33:12.333485+00:00","restricted_roles":[]} ' code: 200 @@ -25,7 +24,7 @@ interactions: status: 200 OK - request: body: | - {"dashboard_id":"88w-xn2-mij","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testupdateashareddashboardreturnsokresponse1731611574@datadoghq.com"],"share_type":"invite"} + {"dashboard_id":"7gy-n9j-kdz","dashboard_type":"custom_timeboard","global_time":{"live_span":"1h"},"share_list":["testupdateashareddashboardreturnsokresponse1731699192@datadoghq.com"],"share_type":"invite"} form: {} headers: Accept: @@ -36,8 +35,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard/public response: - 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"}]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"7gy-n9j-kdz","dashboard_type":"custom_timeboard","status":"active","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731699192 + 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-601fe99239741e02ee84c1852ce59a37","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37","created":"2024-11-15T19:33:12.669592+00:00","share_type":"invite","share_list":["testupdateashareddashboardreturnsokresponse1731699192@datadoghq.com"],"session_duration_in_days":30,"invitees":[{"email":"testupdateashareddashboardreturnsokresponse1731699192@datadoghq.com","access_expiration":null,"last_accessed":null,"created_at":"2024-11-15T19:33:12.692355+00:00"}]} ' code: 200 @@ -57,10 +56,10 @@ interactions: - application/json id: 2 method: PUT - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37 response: - 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":[]} + body: '{"author":{"handle":"frog@datadoghq.com","name":null},"dashboard_id":"7gy-n9j-kdz","dashboard_type":"custom_timeboard","status":"active","title":"Test-Update_a_shared_dashboard_returns_OK_response-1731699192 + 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-601fe99239741e02ee84c1852ce59a37","public_url":"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37","created":"2024-11-15T19:33:12.669592+00:00","share_type":"open","share_list":[],"session_duration_in_days":null,"invitees":[]} ' code: 200 @@ -77,9 +76,9 @@ interactions: - application/json id: 3 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec + url: https://api.datadoghq.com/api/v1/dashboard/public/fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37 response: - body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec"} + body: '{"deleted_public_dashboard_token":"fasjyydbcgwwc2uc-601fe99239741e02ee84c1852ce59a37"} ' code: 200 @@ -96,9 +95,9 @@ interactions: - application/json id: 4 method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/88w-xn2-mij + url: https://api.datadoghq.com/api/v1/dashboard/7gy-n9j-kdz response: - body: '{"deleted_dashboard_id":"88w-xn2-mij"} + body: '{"deleted_dashboard_id":"7gy-n9j-kdz"} ' code: 200