diff --git a/.apigentools-info b/.apigentools-info index 03c2b866ca4..8bebcc0ac66 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 18:22:36.332328", - "spec_repo_commit": "f35f7750" + "regenerated": "2024-11-14 19:25:53.826679", + "spec_repo_commit": "03f60dd8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-11-14 18:22:36.351458", - "spec_repo_commit": "f35f7750" + "regenerated": "2024-11-14 19:25:53.845577", + "spec_repo_commit": "03f60dd8" } } } \ No newline at end of file diff --git a/examples/v1/dashboards/CreateDashboard_109450134.java b/examples/v1/dashboards/CreateDashboard_109450134.java index 1ee652940bd..31e7760269f 100644 --- a/examples/v1/dashboards/CreateDashboard_109450134.java +++ b/examples/v1/dashboards/CreateDashboard_109450134.java @@ -51,8 +51,7 @@ public static void main(String[] args) { .order(WidgetSort.ASCENDING)))) .requestType( SLOListWidgetRequestType.SLO_LIST))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1094917386.java b/examples/v1/dashboards/CreateDashboard_1094917386.java index c8b1f3172ad..33802489cf6 100644 --- a/examples/v1/dashboards/CreateDashboard_1094917386.java +++ b/examples/v1/dashboards/CreateDashboard_1094917386.java @@ -44,8 +44,7 @@ public static void main(String[] args) { .count(50L) .start(0L) .showPriority(false))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1177423752.java b/examples/v1/dashboards/CreateDashboard_1177423752.java index 906dc6588c3..2acb3cc6588 100644 --- a/examples/v1/dashboards/CreateDashboard_1177423752.java +++ b/examples/v1/dashboards/CreateDashboard_1177423752.java @@ -44,8 +44,7 @@ public static void main(String[] args) { .q("avg:system.cpu.user{*} by {service}") .style( new WidgetStyle().palette("dog_classic")))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1200099236.java b/examples/v1/dashboards/CreateDashboard_1200099236.java index 9803ce8993d..0235ca94400 100644 --- a/examples/v1/dashboards/CreateDashboard_1200099236.java +++ b/examples/v1/dashboards/CreateDashboard_1200099236.java @@ -49,8 +49,7 @@ public static void main(String[] args) { new HostMapWidgetDefinitionStyle() .palette("green_to_orange") .paletteFlip(false)))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1213075383.java b/examples/v1/dashboards/CreateDashboard_1213075383.java index 00febf64887..db2cbd639f0 100644 --- a/examples/v1/dashboards/CreateDashboard_1213075383.java +++ b/examples/v1/dashboards/CreateDashboard_1213075383.java @@ -97,8 +97,7 @@ public static void main(String[] args) { .DESCENDING))))) .responseFormat( FormulaAndFunctionResponseFormat.SCALAR))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1413226400.java b/examples/v1/dashboards/CreateDashboard_1413226400.java index 60f8fe07720..1a0afea6c2c 100644 --- a/examples/v1/dashboards/CreateDashboard_1413226400.java +++ b/examples/v1/dashboards/CreateDashboard_1413226400.java @@ -95,8 +95,7 @@ public static void main(String[] args) { .ASCENDING))))) .responseFormat( FormulaAndFunctionResponseFormat.SCALAR))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1423904722.java b/examples/v1/dashboards/CreateDashboard_1423904722.java index 66c24905ae5..d3f637ac00d 100644 --- a/examples/v1/dashboards/CreateDashboard_1423904722.java +++ b/examples/v1/dashboards/CreateDashboard_1423904722.java @@ -44,8 +44,7 @@ public static void main(String[] args) { .limit(75L)) .requestType( SLOListWidgetRequestType.SLO_LIST))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_173805046.java b/examples/v1/dashboards/CreateDashboard_173805046.java index 79abc3b934e..d32c268152e 100644 --- a/examples/v1/dashboards/CreateDashboard_173805046.java +++ b/examples/v1/dashboards/CreateDashboard_173805046.java @@ -45,8 +45,7 @@ public static void main(String[] args) { .viewMode(WidgetViewMode.OVERALL) .globalTimeTarget("0") .additionalQueryFilters("!host:excluded_host"))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1738608750.java b/examples/v1/dashboards/CreateDashboard_1738608750.java index 34c1d75ff64..837ef98f5a5 100644 --- a/examples/v1/dashboards/CreateDashboard_1738608750.java +++ b/examples/v1/dashboards/CreateDashboard_1738608750.java @@ -34,8 +34,7 @@ public static void main(String[] args) { .color("#4d4d4d") .fontSize("auto") .textAlign(WidgetTextAlign.LEFT))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_1754992756.java b/examples/v1/dashboards/CreateDashboard_1754992756.java index 628b6bbe29f..568ef99172d 100644 --- a/examples/v1/dashboards/CreateDashboard_1754992756.java +++ b/examples/v1/dashboards/CreateDashboard_1754992756.java @@ -52,8 +52,7 @@ public static void main(String[] args) { .width(2L) .height(2L) .isColumnBreak(false)))) - .description("description") - .isReadOnly(false); + .description("description"); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2029850837.java b/examples/v1/dashboards/CreateDashboard_2029850837.java index 2195300a2b7..2ff3041a1a8 100644 --- a/examples/v1/dashboards/CreateDashboard_2029850837.java +++ b/examples/v1/dashboards/CreateDashboard_2029850837.java @@ -47,8 +47,7 @@ public static void main(String[] args) { .showDateColumn(true) .showMessageColumn(true) .messageDisplay(WidgetMessageDisplay.EXPANDED_MEDIUM))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2034634967.java b/examples/v1/dashboards/CreateDashboard_2034634967.java index 5406ca7bf4b..12d1fa9e810 100644 --- a/examples/v1/dashboards/CreateDashboard_2034634967.java +++ b/examples/v1/dashboards/CreateDashboard_2034634967.java @@ -36,8 +36,7 @@ public static void main(String[] args) { .type(ServiceMapWidgetDefinitionType.SERVICEMAP) .service("") .filters(Arrays.asList("env:none", "environment:*")))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2278756614.java b/examples/v1/dashboards/CreateDashboard_2278756614.java index f863bb4ece5..b2c4d4965a4 100644 --- a/examples/v1/dashboards/CreateDashboard_2278756614.java +++ b/examples/v1/dashboards/CreateDashboard_2278756614.java @@ -112,8 +112,7 @@ public static void main(String[] args) { "env")))))) .size(SplitGraphVizSize.MD) .hasUniformYAxes(true))))) - .layoutType(DashboardLayoutType.ORDERED) - .isReadOnly(false); + .layoutType(DashboardLayoutType.ORDERED); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2308247857.java b/examples/v1/dashboards/CreateDashboard_2308247857.java index 6644d3ab162..be36ecbc445 100644 --- a/examples/v1/dashboards/CreateDashboard_2308247857.java +++ b/examples/v1/dashboards/CreateDashboard_2308247857.java @@ -42,8 +42,7 @@ public static void main(String[] args) { .type(AlertGraphWidgetDefinitionType.ALERT_GRAPH) .alertId("7") .vizType(WidgetVizType.TIMESERIES))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2316374332.java b/examples/v1/dashboards/CreateDashboard_2316374332.java index 7428f9ce68d..6edbef3f7e6 100644 --- a/examples/v1/dashboards/CreateDashboard_2316374332.java +++ b/examples/v1/dashboards/CreateDashboard_2316374332.java @@ -40,8 +40,7 @@ public static void main(String[] args) { .unit("auto") .textAlign(WidgetTextAlign.LEFT) .precision(2L))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2336428357.java b/examples/v1/dashboards/CreateDashboard_2336428357.java index 8f5bf9bea51..f068456064b 100644 --- a/examples/v1/dashboards/CreateDashboard_2336428357.java +++ b/examples/v1/dashboards/CreateDashboard_2336428357.java @@ -88,8 +88,7 @@ public static void main(String[] args) { .responseFormat( FormulaAndFunctionResponseFormat.SCALAR))) .hasSearchBar(TableWidgetHasSearchBar.AUTO))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2342457693.java b/examples/v1/dashboards/CreateDashboard_2342457693.java index 058889d2afe..de70474e37f 100644 --- a/examples/v1/dashboards/CreateDashboard_2342457693.java +++ b/examples/v1/dashboards/CreateDashboard_2342457693.java @@ -101,8 +101,7 @@ public static void main(String[] args) { .includeZero(true) .min("auto") .max("auto")))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2349863258.java b/examples/v1/dashboards/CreateDashboard_2349863258.java index 0a659c221f7..645500b4c57 100644 --- a/examples/v1/dashboards/CreateDashboard_2349863258.java +++ b/examples/v1/dashboards/CreateDashboard_2349863258.java @@ -61,8 +61,7 @@ public static void main(String[] args) { .AVG)))))) .autoscale(true) .precision(2L))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2563642929.java b/examples/v1/dashboards/CreateDashboard_2563642929.java index 4d2fa5aec01..387181fd15e 100644 --- a/examples/v1/dashboards/CreateDashboard_2563642929.java +++ b/examples/v1/dashboards/CreateDashboard_2563642929.java @@ -97,8 +97,7 @@ public static void main(String[] args) { .ASCENDING))))) .responseFormat( FormulaAndFunctionResponseFormat.SCALAR))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2607944105.java b/examples/v1/dashboards/CreateDashboard_2607944105.java index 826a7f1bb37..c5711d7d31f 100644 --- a/examples/v1/dashboards/CreateDashboard_2607944105.java +++ b/examples/v1/dashboards/CreateDashboard_2607944105.java @@ -36,8 +36,7 @@ public static void main(String[] args) { .check("datadog.agent.up") .grouping(WidgetGrouping.CHECK) .tags(Collections.singletonList("*")))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2610827685.java b/examples/v1/dashboards/CreateDashboard_2610827685.java index be95edcfe17..c47e083288d 100644 --- a/examples/v1/dashboards/CreateDashboard_2610827685.java +++ b/examples/v1/dashboards/CreateDashboard_2610827685.java @@ -43,8 +43,7 @@ public static void main(String[] args) { new RunWorkflowWidgetInput() .name("environment") .value("$env.value"))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2634813877.java b/examples/v1/dashboards/CreateDashboard_2634813877.java index f6052b79353..1267b4cefcf 100644 --- a/examples/v1/dashboards/CreateDashboard_2634813877.java +++ b/examples/v1/dashboards/CreateDashboard_2634813877.java @@ -37,8 +37,7 @@ public static void main(String[] args) { .query("example-query") .tagsExecution("and") .eventSize(WidgetEventSize.SMALL))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2652180930.java b/examples/v1/dashboards/CreateDashboard_2652180930.java index c9ab1b6e803..202790b3596 100644 --- a/examples/v1/dashboards/CreateDashboard_2652180930.java +++ b/examples/v1/dashboards/CreateDashboard_2652180930.java @@ -50,8 +50,7 @@ public static void main(String[] args) { .filters( Arrays.asList( "env:none", "environment:*"))))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2850365602.java b/examples/v1/dashboards/CreateDashboard_2850365602.java index 6a666399623..5c6f836a824 100644 --- a/examples/v1/dashboards/CreateDashboard_2850365602.java +++ b/examples/v1/dashboards/CreateDashboard_2850365602.java @@ -26,7 +26,6 @@ public static void main(String[] args) { Dashboard body = new Dashboard() .description(null) - .isReadOnly(false) .layoutType(DashboardLayoutType.ORDERED) .reflowType(DashboardReflowType.AUTO) .templateVariablePresets( diff --git a/examples/v1/dashboards/CreateDashboard_2917274132.java b/examples/v1/dashboards/CreateDashboard_2917274132.java index 2cc05e7de06..5815a719fa2 100644 --- a/examples/v1/dashboards/CreateDashboard_2917274132.java +++ b/examples/v1/dashboards/CreateDashboard_2917274132.java @@ -43,8 +43,7 @@ public static void main(String[] args) { .sort(WidgetMonitorSummarySort.STATUS_ASCENDING) .count(50L) .start(0L))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_2921337351.java b/examples/v1/dashboards/CreateDashboard_2921337351.java index ce5b11a0353..dc5ac79973b 100644 --- a/examples/v1/dashboards/CreateDashboard_2921337351.java +++ b/examples/v1/dashboards/CreateDashboard_2921337351.java @@ -46,8 +46,7 @@ public static void main(String[] args) { .showResourceList(false) .sizeFormat(WidgetSizeFormat.MEDIUM) .displayFormat(WidgetServiceSummaryDisplayFormat.TWO_COLUMN))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_3250131584.java b/examples/v1/dashboards/CreateDashboard_3250131584.java index fb3e725d768..38e9e091d92 100644 --- a/examples/v1/dashboards/CreateDashboard_3250131584.java +++ b/examples/v1/dashboards/CreateDashboard_3250131584.java @@ -35,8 +35,7 @@ public static void main(String[] args) { .type(EventTimelineWidgetDefinitionType.EVENT_TIMELINE) .query("status:error priority:all") .tagsExecution("and"))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_3777304439.java b/examples/v1/dashboards/CreateDashboard_3777304439.java index 13f498691c4..126580c3f94 100644 --- a/examples/v1/dashboards/CreateDashboard_3777304439.java +++ b/examples/v1/dashboards/CreateDashboard_3777304439.java @@ -61,8 +61,7 @@ public static void main(String[] args) { new WidgetFormula().formula("query1"))) .style( new WidgetStyle().palette("dog_classic")))))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_417992286.java b/examples/v1/dashboards/CreateDashboard_417992286.java index 9dd90305be8..dd4d53caece 100644 --- a/examples/v1/dashboards/CreateDashboard_417992286.java +++ b/examples/v1/dashboards/CreateDashboard_417992286.java @@ -30,8 +30,7 @@ public static void main(String[] args) { new NoteWidgetDefinition() .type(NoteWidgetDefinitionType.NOTE) .content("# Example Note"))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_651038379.java b/examples/v1/dashboards/CreateDashboard_651038379.java index c9f9a5b322f..fd553fcb5be 100644 --- a/examples/v1/dashboards/CreateDashboard_651038379.java +++ b/examples/v1/dashboards/CreateDashboard_651038379.java @@ -32,8 +32,7 @@ public static void main(String[] args) { .type(ImageWidgetDefinitionType.IMAGE) .url("https://example.com/image.png") .sizing(WidgetImageSizing.COVER))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_794302680.java b/examples/v1/dashboards/CreateDashboard_794302680.java index 50a3a46eecf..4534d8f3b14 100644 --- a/examples/v1/dashboards/CreateDashboard_794302680.java +++ b/examples/v1/dashboards/CreateDashboard_794302680.java @@ -214,8 +214,7 @@ public static void main(String[] args) { .customFgColor("#632ca6")))))) .hasSearchBar(TableWidgetHasSearchBar.NEVER))) .layout(new WidgetLayout().x(0L).y(0L).width(4L).height(4L)))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_858397694.java b/examples/v1/dashboards/CreateDashboard_858397694.java index df7a2bb99da..0108abcf02e 100644 --- a/examples/v1/dashboards/CreateDashboard_858397694.java +++ b/examples/v1/dashboards/CreateDashboard_858397694.java @@ -24,7 +24,6 @@ public static void main(String[] args) { Dashboard body = new Dashboard() .description(null) - .isReadOnly(false) .layoutType(DashboardLayoutType.ORDERED) .reflowType(DashboardReflowType.AUTO) .templateVariables( diff --git a/examples/v1/dashboards/CreateDashboard_913313564.java b/examples/v1/dashboards/CreateDashboard_913313564.java index 469a69080a4..131b3a95ec0 100644 --- a/examples/v1/dashboards/CreateDashboard_913313564.java +++ b/examples/v1/dashboards/CreateDashboard_913313564.java @@ -30,8 +30,7 @@ public static void main(String[] args) { new IFrameWidgetDefinition() .type(IFrameWidgetDefinitionType.IFRAME) .url("https://docs.datadoghq.com/api/latest/"))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/examples/v1/dashboards/CreateDashboard_915214113.java b/examples/v1/dashboards/CreateDashboard_915214113.java index ef5a4f54428..9d5d3a34850 100644 --- a/examples/v1/dashboards/CreateDashboard_915214113.java +++ b/examples/v1/dashboards/CreateDashboard_915214113.java @@ -112,8 +112,7 @@ public static void main(String[] args) { .palette("hostmap_blues") .paletteFlip(false)) .view(new GeomapWidgetDefinitionView().focus("WORLD")))))) - .layoutType(DashboardLayoutType.FREE) - .isReadOnly(false); + .layoutType(DashboardLayoutType.FREE); try { Dashboard result = apiInstance.createDashboard(body); diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze index a1e7e71b616..31af4c83ecd 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.freeze @@ -1 +1 @@ -2022-06-03T14:40:30.273Z \ No newline at end of file +2024-11-14T19:12:06.088Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.json b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.json index 8f803e9dddf..f08c9b6eed3 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1654267230\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"apm_resource_stats\",\"env\":\"staging\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"universal.http.client\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"*\",\"service\":\"azure-bill-import\",\"stat\":\"latency_distribution\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"APM Stats - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":8,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"u8n-j9a-4sd\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1654267230\",\"url\":\"/dashboard/u8n-j9a-4sd/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti\",\"created_at\":\"2022-06-03T14:40:30.784732+00:00\",\"modified_at\":\"2022-06-03T14:40:30.784732+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"APM Stats - Request latency HOP\",\"title_align\":\"left\",\"yaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"show_legend\":false,\"xaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"requests\":[{\"query\":{\"primary_tag_value\":\"*\",\"stat\":\"latency_distribution\",\"data_source\":\"apm_resource_stats\",\"name\":\"query1\",\"service\":\"azure-bill-import\",\"group_by\":[\"resource_name\"],\"env\":\"staging\",\"primary_tag_name\":\"datacenter\",\"operation_name\":\"universal.http.client\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"type\":\"distribution\"},\"layout\":{\"y\":0,\"width\":4,\"x\":8,\"height\":2},\"id\":8784141872614013}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"nsh-v4v-nmq\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_APM_Stats-1731611526\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/nsh-v4v-nmq/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"apm_resource_stats\",\"env\":\"staging\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"universal.http.client\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"*\",\"service\":\"azure-bill-import\",\"stat\":\"latency_distribution\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"APM Stats - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":8,\"y\":0},\"id\":772521511524027}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:06.311354+00:00\",\"modified_at\":\"2024-11-14T19:12:06.311354+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "cb77ca72-8e42-18c2-c51c-b9f1d9fa8f73" + "id": "28e16e68-c870-7534-9fde-6a749b582718" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/u8n-j9a-4sd", + "path": "/api/v1/dashboard/nsh-v4v-nmq", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"u8n-j9a-4sd\"}", + "body": "{\"deleted_dashboard_id\":\"nsh-v4v-nmq\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "24382bc4-6686-3292-c179-e2ab0440139e" + "id": "4d36da88-748e-bbde-caac-800bd3ff84bd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze index 99852424470..52ebe1608c5 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.freeze @@ -1 +1 @@ -2022-06-03T14:40:31.413Z \ No newline at end of file +2024-11-14T19:12:06.617Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.json b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.json index 3a73f916c05..3811cb7942f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231\",\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"compute\":{\"aggregation\":\"min\",\"metric\":\"@duration\"},\"data_source\":\"events\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}},\"request_type\":\"histogram\"}],\"show_legend\":false,\"title\":\"Events Platform - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"z8p-mhb-k4x\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1654267231\",\"url\":\"/dashboard/z8p-mhb-k4x/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti\",\"created_at\":\"2022-06-03T14:40:31.823381+00:00\",\"modified_at\":\"2022-06-03T14:40:31.823381+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"Events Platform - Request latency HOP\",\"title_align\":\"left\",\"yaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"show_legend\":false,\"xaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"requests\":[{\"query\":{\"search\":{\"query\":\"\"},\"data_source\":\"events\",\"compute\":{\"metric\":\"@duration\",\"aggregation\":\"min\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]},\"request_type\":\"histogram\"}],\"type\":\"distribution\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":2},\"id\":5948993743115767}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"tys-evq-k25\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526\",\"description\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_events_qu-1731611526\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/tys-evq-k25/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"compute\":{\"aggregation\":\"min\",\"metric\":\"@duration\"},\"data_source\":\"events\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}},\"request_type\":\"histogram\"}],\"show_legend\":false,\"title\":\"Events Platform - Request latency HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0},\"id\":1505752567613231}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:06.799728+00:00\",\"modified_at\":\"2024-11-14T19:12:06.799728+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "1cd17112-42f9-a39d-e485-984020f5228c" + "id": "43f830f6-04ed-fa77-6ddc-5a33ba5c6f42" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/z8p-mhb-k4x", + "path": "/api/v1/dashboard/tys-evq-k25", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"z8p-mhb-k4x\"}", + "body": "{\"deleted_dashboard_id\":\"tys-evq-k25\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "3064a0a8-90e1-01e1-922d-b816da0c8cef" + "id": "cc101bef-d271-3c62-2fea-b369975c7eb5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze index 7402075d942..490466ea238 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.freeze @@ -1 +1 @@ -2023-08-01T15:16:44.506Z \ No newline at end of file +2024-11-14T19:12:07.115Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.json b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.json index 98bf80070c9..77ba22315df 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1690903004\",\"widgets\":[{\"definition\":{\"custom_links\":[{\"label\":\"Example\",\"link\":\"https://example.org/\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.Load{*}\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"Metrics HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"uts-6em-2su\",\"title\":\"Test-Create_a_distribution_widget_using_a_histogram_request_containing_a_formulas_and_functions_metrics_q-1690903004\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/uts-6em-2su/test-createadistributionwidgetusingahistogramrequestcontainingaformulasandfuncti\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"custom_links\":[{\"label\":\"Example\",\"link\":\"https://example.org/\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.Load{*}\"},\"request_type\":\"histogram\",\"style\":{\"palette\":\"dog_classic\"}}],\"show_legend\":false,\"title\":\"Metrics HOP\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0},\"id\":4570406064684725}],\"notify_list\":null,\"created_at\":\"2023-08-01T15:16:44.785380+00:00\",\"modified_at\":\"2023-08-01T15:16:44.785380+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "f7984f12-f97f-da28-ade3-6ae75d3e477a" + "id": "e75e99b8-2cf7-6212-f1f7-13520bc5c078" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/uts-6em-2su", + "path": "/api/v1/dashboard/2fs-dz8-tdz", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"uts-6em-2su\"}\n", + "body": "{\"deleted_dashboard_id\":\"2fs-dz8-tdz\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "7638967a-6538-7095-de2b-f2971833f07b" + "id": "4e0874dc-4906-2226-be95-61304d3cafcb" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.freeze b/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.freeze index 4fd6fb9a82e..8976ffd6ff6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.freeze @@ -1 +1 @@ -2023-06-21T19:29:03.584Z \ No newline at end of file +2024-11-14T19:12:07.559Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.json b/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.json index cadfe26e501..e00c94c104e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.json +++ b/src/test/resources/cassettes/features/v1/Create_a_geomap_widget_using_an_event_list_request.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"tags\":[],\"template_variables\":[],\"title\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"},{\"field\":\"classic\",\"width\":\"auto\"},{\"field\":\"\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"cn7-qfm-s9w\",\"title\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743\",\"description\":\"Test-Create_a_geomap_widget_using_an_event_list_request-1687375743\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/cn7-qfm-s9w/test-createageomapwidgetusinganeventlistrequest-1687375743\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"},{\"field\":\"classic\",\"width\":\"auto\"},{\"field\":\"\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0},\"id\":8506811379916619}],\"notify_list\":[],\"created_at\":\"2023-06-21T19:29:03.801081+00:00\",\"modified_at\":\"2023-06-21T19:29:03.801081+00:00\",\"reflow_type\":\"fixed\",\"tags\":[],\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "c774c1a1-dbaa-ae77-71e6-5be044d0dbf5" + "id": "b95c9a73-62c4-0c04-47ec-ece9c2d2c8e0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/cn7-qfm-s9w", + "path": "/api/v1/dashboard/kfv-qnp-4tg", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"cn7-qfm-s9w\"}\n", + "body": "{\"deleted_dashboard_id\":\"kfv-qnp-4tg\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "868856c7-8f3b-0c86-324a-8e35c825a586" + "id": "b72f57da-f5b9-eafa-1e5c-0ff4d154ce78" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.freeze index fecbbafb82d..8380ebf006a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-01-06T00:50:24.376Z \ No newline at end of file +2024-11-14T19:12:07.994Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.json index 3893694368b..2871dfa0998 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_returns_OK_response-1641430224 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"755-ivq-cdy\",\"title\":\"Test-Create_a_new_dashboard_returns_OK_response-1641430224 with Profile Metrics Query\",\"url\":\"/dashboard/755-ivq-cdy/test-createanewdashboardreturnsokresponse-1641430224-with-profile-metrics-query\",\"created_at\":\"2022-01-06T00:50:24.573359+00:00\",\"modified_at\":\"2022-01-06T00:50:24.573359+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":3702932968523926}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"ffs-qse-3ra\",\"title\":\"Test-Create_a_new_dashboard_returns_OK_response-1731611527 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/ffs-qse-3ra/test-createanewdashboardreturnsokresponse-1731611527-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":2619247057532237}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:08.172934+00:00\",\"modified_at\":\"2024-11-14T19:12:08.172934+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "a1cc4d9a-61f0-3cc1-cc4f-edca07321549" + "id": "326f6618-cf73-d453-5a73-f6ef0fa1ff3a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/755-ivq-cdy", + "path": "/api/v1/dashboard/ffs-qse-3ra", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"755-ivq-cdy\"}", + "body": "{\"deleted_dashboard_id\":\"ffs-qse-3ra\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "70863746-0074-48ef-7221-5c238bbcf61a" + "id": "352052ac-1938-006b-b8a9-c6c680a5e072" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze index dd43c01b07d..caa7b658f45 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.freeze @@ -1 +1 @@ -2023-07-03T20:01:23.941Z \ No newline at end of file +2024-11-14T19:12:08.436Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.json index f54ad89a0cf..1b89103bfb6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"name\": \"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483\", \"query\": {\"denominator\": \"sum:httpservice.hits{!code:3xx}.as_count()\", \"numerator\": \"sum:httpservice.hits{code:2xx}.as_count()\"}, \"thresholds\": [{\"target\": 95.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" + "json": "{\"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.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"1973fea2b6975337b3c26626e42c34e4\",\"name\":\"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483\",\"tags\":[],\"monitor_tags\":[],\"thresholds\":[{\"timeframe\":\"7d\",\"target\":95.0,\"target_display\":\"95.\",\"warning\":98.0,\"warning_display\":\"98.\"}],\"type\":\"metric\",\"type_id\":1,\"description\":\"\",\"timeframe\":\"7d\",\"warning_threshold\":98,\"target_threshold\":95,\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"created_at\":1688414484,\"modified_at\":1688414484}],\"error\":null}\n", + "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}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "2286beeb-66c2-edf3-66d7-b0be87dfab77" + "id": "7e54f2a9-9652-b003-8b71-3b66b886bc94" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"asc\",\"queries\":[{\"additional_query_filters\":\"*\",\"data_source\":\"slo\",\"group_mode\":\"overall\",\"measure\":\"slo_status\",\"name\":\"query1\",\"slo_id\":\"1973fea2b6975337b3c26626e42c34e4\",\"slo_query_type\":\"metric\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"9u7-4vb-5ag\",\"title\":\"Test-Create_a_new_dashboard_with_a_change_widget_using_formulas_and_functions_slo_query-1688414483\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/9u7-4vb-5ag/test-createanewdashboardwithachangewidgetusingformulasandfunctionssloquery-16884\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"asc\",\"queries\":[{\"additional_query_filters\":\"*\",\"data_source\":\"slo\",\"group_mode\":\"overall\",\"measure\":\"slo_status\",\"name\":\"query1\",\"slo_id\":\"1973fea2b6975337b3c26626e42c34e4\",\"slo_query_type\":\"metric\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0},\"id\":6457792410139351}],\"notify_list\":null,\"created_at\":\"2023-07-03T20:01:24.547325+00:00\",\"modified_at\":\"2023-07-03T20:01:24.547325+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "45718eaa-c5be-20af-f21b-f6255b3761b0" + "id": "6b4bc833-0655-c768-c7e7-5d63ecde6e72" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/9u7-4vb-5ag", + "path": "/api/v1/dashboard/3cn-g4m-h9z", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"9u7-4vb-5ag\"}\n", + "body": "{\"deleted_dashboard_id\":\"3cn-g4m-h9z\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "c66c77bf-5276-3972-4d27-00bafa0c01f6" + "id": "18f59786-7c90-a34a-11c5-96d9a44673d8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/slo/1973fea2b6975337b3c26626e42c34e4", + "path": "/api/v1/slo/d0ead38560c15643877e9feee728bed5", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[\"1973fea2b6975337b3c26626e42c34e4\"],\"error\":null}\n", + "body": "{\"data\":[\"d0ead38560c15643877e9feee728bed5\"],\"error\":null}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "34698370-3a23-788c-ddf1-9527a816f8b3" + "id": "4cda4dc1-c7a0-d439-43b0-a37014aa0422" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze index e67de6258ba..f408822cf43 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:24.872Z \ No newline at end of file +2024-11-14T19:12:09.244Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.json index 77ae210a41e..3a2c7bd5982 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_change_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1641430224\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"jfv-7es-bv2\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1641430224\",\"url\":\"/dashboard/jfv-7es-bv2/test-createanewdashboardwithaformulasandfunctionschangewidget-1641430224\",\"created_at\":\"2022-01-06T00:50:25.077294+00:00\",\"modified_at\":\"2022-01-06T00:50:25.077294+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"time\":{},\"requests\":[{\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"order_by\":\"change\",\"order_dir\":\"desc\",\"compare_to\":\"hour_before\",\"response_format\":\"scalar\",\"increase_good\":true,\"queries\":[{\"search\":{\"query\":\"\"},\"data_source\":\"logs\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]}],\"change_type\":\"absolute\"}],\"type\":\"change\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":4},\"id\":5329680147350539}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"8ap-qaz-qge\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1731611529\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/8ap-qaz-qge/test-createanewdashboardwithaformulasandfunctionschangewidget-1731611529\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":1875237764680115}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:09.420485+00:00\",\"modified_at\":\"2024-11-14T19:12:09.420485+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "66870a25-c896-0e7b-304a-03cc872813d9" + "id": "69186bf8-0ed9-968f-01c1-cdcd62f8f694" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/jfv-7es-bv2", + "path": "/api/v1/dashboard/8ap-qaz-qge", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"jfv-7es-bv2\"}", + "body": "{\"deleted_dashboard_id\":\"8ap-qaz-qge\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "77356afd-2e51-29fb-7d31-1ee23ee229a0" + "id": "3f41d7f8-201a-a2ac-1966-e1795c5771fc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze index 0aaf970adf5..e406eeefb78 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.freeze @@ -1 +1 @@ -2022-01-12T10:11:31.394Z \ No newline at end of file +2024-11-14T19:12:09.673Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.json index ca7c6b9e1e1..25495bf3374 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1641982291\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"title\":\"\",\"type\":\"treemap\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"2ar-acj-hxc\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1641982291\",\"url\":\"/dashboard/2ar-acj-hxc/test-createanewdashboardwithaformulasandfunctionstreemapwidget-1641982291\",\"created_at\":\"2022-01-12T10:11:31.601485+00:00\",\"modified_at\":\"2022-01-12T10:11:31.601485+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"response_format\":\"scalar\",\"queries\":[{\"search\":{\"query\":\"\"},\"data_source\":\"logs\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]}]}],\"type\":\"treemap\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":4},\"id\":2836171994664464}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"83d-i5u-m3v\",\"title\":\"Test-Create_a_new_dashboard_with_a_formulas_and_functions_treemap_widget-1731611529\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/83d-i5u-m3v/test-createanewdashboardwithaformulasandfunctionstreemapwidget-1731611529\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"title\":\"\",\"type\":\"treemap\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":7665743685931618}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:09.852911+00:00\",\"modified_at\":\"2024-11-14T19:12:09.852911+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "14594ccf-095d-aa90-9689-69cdd40b4adb" + "id": "bdde5c1e-c96b-3cf5-ae1f-d38d23efe90b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/2ar-acj-hxc", + "path": "/api/v1/dashboard/83d-i5u-m3v", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"2ar-acj-hxc\"}", + "body": "{\"deleted_dashboard_id\":\"83d-i5u-m3v\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "657dda1a-8731-f849-1b14-3842fe7d0347" + "id": "a0527eb5-e701-2340-34a8-7b998c7a5ddf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze index 38715d0a22d..4d1c2ec39ac 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.freeze @@ -1 +1 @@ -2022-01-06T00:50:25.463Z \ No newline at end of file +2024-11-14T19:12:10.125Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.json index efa87438278..460b9149d02 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1641430225 with QVW Percentile Aggregator\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"p90:dist.dd.dogweb.latency{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"xtt-jph-mde\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1641430225 with QVW Percentile Aggregator\",\"url\":\"/dashboard/xtt-jph-mde/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-164143\",\"created_at\":\"2022-01-06T00:50:25.655596+00:00\",\"modified_at\":\"2022-01-06T00:50:25.655596+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"title\":\"\",\"title_align\":\"left\",\"precision\":2,\"time\":{},\"title_size\":\"16\",\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"response_format\":\"scalar\",\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"p90:dist.dd.dogweb.latency{*}\"}]}],\"type\":\"query_value\"},\"layout\":{\"y\":0,\"width\":2,\"x\":0,\"height\":2},\"id\":5189476437557683}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"5e6-uwt-hiw\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1731611530 with QVW Percentile Aggregator\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/5e6-uwt-hiw/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-173161\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"p90:dist.dd.dogweb.latency{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0},\"id\":2654036272451651}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:10.298509+00:00\",\"modified_at\":\"2024-11-14T19:12:10.298509+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "9ffa4243-ccee-79ea-4cac-7cd2d7dff38c" + "id": "eeb28a54-47f3-1ea5-a33a-662c57556b7e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/xtt-jph-mde", + "path": "/api/v1/dashboard/5e6-uwt-hiw", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"xtt-jph-mde\"}", + "body": "{\"deleted_dashboard_id\":\"5e6-uwt-hiw\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "0e2e5343-cc31-8630-1987-7d132a570e89" + "id": "c391dae9-338d-ae66-9dca-2545a97a1287" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze index a0c9df20a07..bca43343fe5 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.freeze @@ -1 +1 @@ -2022-04-01T22:05:56.480Z \ No newline at end of file +2024-11-14T19:12:10.545Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.json index d587b374179..2342e583b12 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1648850756 with QVW Timeseries Background\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:my.cool.count.metric{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"timeseries_background\":{\"type\":\"area\",\"yaxis\":{\"include_zero\":true}},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"qpb-ufq-tfj\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1648850756 with QVW Timeseries Background\",\"url\":\"/dashboard/qpb-ufq-tfj/test-createanewdashboardwithaqueryvaluewidgetusingtimeseriesbackground-164885075\",\"created_at\":\"2022-04-01T22:05:56.882433+00:00\",\"modified_at\":\"2022-04-01T22:05:56.882433+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"title\":\"\",\"title_align\":\"left\",\"precision\":2,\"timeseries_background\":{\"type\":\"area\",\"yaxis\":{\"include_zero\":true}},\"time\":{},\"title_size\":\"16\",\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"response_format\":\"scalar\",\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:my.cool.count.metric{*}\"}]}],\"type\":\"query_value\"},\"layout\":{\"y\":0,\"width\":2,\"x\":0,\"height\":2},\"id\":1355546266470286}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"e79-3k8-wck\",\"title\":\"Test-Create_a_new_dashboard_with_a_query_value_widget_using_timeseries_background-1731611530 with QVW Timeseries Background\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/e79-3k8-wck/test-createanewdashboardwithaqueryvaluewidgetusingtimeseriesbackground-173161153\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"percentile\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:my.cool.count.metric{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"timeseries_background\":{\"type\":\"area\",\"yaxis\":{\"include_zero\":true}},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":2,\"width\":2,\"x\":0,\"y\":0},\"id\":7702897477190165}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:10.739610+00:00\",\"modified_at\":\"2024-11-14T19:12:10.739610+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "1a7b11b0-9c18-7346-af11-a3fe21bf0fd0" + "id": "2297b7ed-0ed4-cd8a-3428-2d50bc63283c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/qpb-ufq-tfj", + "path": "/api/v1/dashboard/e79-3k8-wck", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"qpb-ufq-tfj\"}", + "body": "{\"deleted_dashboard_id\":\"e79-3k8-wck\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "2d04403c-8538-9ba2-4420-6c669106338d" + "id": "1f50bd56-b04b-7d70-8689-ca752e7cf93f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze index 6d211e52500..7adc3c48a97 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.freeze @@ -1 +1 @@ -2023-07-14T16:50:52.704Z \ No newline at end of file +2024-11-14T19:12:11.109Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.json index 0fdaf06b369..6e8faa87059 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1689353452\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"on_right_yaxis\":false,\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetric\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"},{\"display_type\":\"overlay\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetricoverlay\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"purple\"}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"56a-eq2-76i\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_and_an_overlay_request-1689353452\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/56a-eq2-76i/test-createanewdashboardwithatimeserieswidgetandanoverlayrequest-1689353452\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"on_right_yaxis\":false,\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetric\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"},{\"display_type\":\"overlay\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"mymetricoverlay\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"purple\"}}],\"type\":\"timeseries\"},\"id\":4582756152438811}],\"notify_list\":null,\"created_at\":\"2023-07-14T16:50:52.916992+00:00\",\"modified_at\":\"2023-07-14T16:50:52.916992+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "19fdfef9-9ee2-610d-f46d-0fa67b561938" + "id": "606f853f-5b29-7ad0-a178-609c10ace58b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/56a-eq2-76i", + "path": "/api/v1/dashboard/9dj-gpc-pve", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"56a-eq2-76i\"}\n", + "body": "{\"deleted_dashboard_id\":\"9dj-gpc-pve\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "7cb02329-294e-4674-1608-6e8b0f168618" + "id": "2a3a0203-b7b4-c612-1a94-7446e2e5c3e4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze index 111062c8070..55354eaa1f7 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.freeze @@ -1 +1 @@ -2023-11-14T21:39:19.397Z \ No newline at end of file +2024-11-14T19:12:11.542Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.json index 0142b859651..526165c1652 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1699997959\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"time\":{\"live_span\":\"week_to_date\"},\"title\":\"Example Cloud Cost Query\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"nh3-n9c-wuz\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1699997959\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/nh3-n9c-wuz/test-createanewdashboardwithatimeserieswidgetusingformulasandfunctionscloudcostq\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"time\":{\"live_span\":\"week_to_date\"},\"title\":\"Example Cloud Cost Query\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"id\":380165468656457}],\"notify_list\":null,\"created_at\":\"2023-11-14T21:39:19.798591+00:00\",\"modified_at\":\"2023-11-14T21:39:19.798591+00:00\",\"restricted_roles\":[]}\n", + "body": "{\"id\":\"kf9-5t7-m6u\",\"title\":\"Test-Create_a_new_dashboard_with_a_timeseries_widget_using_formulas_and_functions_cloud_cost_query-1731611531\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/kf9-5t7-m6u/test-createanewdashboardwithatimeserieswidgetusingformulasandfunctionscloudcostq\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"cloud_cost\",\"name\":\"query1\",\"query\":\"sum:aws.cost.amortized{*} by {aws_product}.rollup(sum, monthly)\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"time\":{\"live_span\":\"week_to_date\"},\"title\":\"Example Cloud Cost Query\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"id\":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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "31bde127-a70c-ba12-22f8-23380e18b8b2" + "id": "c4118b5c-543b-8326-3018-432a3825f465" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/nh3-n9c-wuz", + "path": "/api/v1/dashboard/kf9-5t7-m6u", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"nh3-n9c-wuz\"}\n", + "body": "{\"deleted_dashboard_id\":\"kf9-5t7-m6u\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "f68f8218-29cb-1e5d-4440-43758daa2f6b" + "id": "1d788a27-15c0-775f-87ed-7d20cb657210" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze index 53ed77b4f6f..869814b280a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.freeze @@ -1 +1 @@ -2024-09-06T12:10:50.473Z \ No newline at end of file +2024-11-14T19:12:11.966Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.json index 67213732a3b..4f0f527a418 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1725624650\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"pr4-bz7-nn3\",\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1725624650\",\"description\":\"\",\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/pr4-bz7-nn3/test-createanewdashboardwithatoplistwidgetsortedbygroup-1725624650\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":8644525358047960}],\"notify_list\":[],\"created_at\":\"2024-09-06T12:10:50.735923+00:00\",\"modified_at\":\"2024-09-06T12:10:50.735923+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "0a9313a6-5454-c2c0-1862-56d6093ddf50" + "id": "267413c8-86e6-3795-2219-ee4e1b2ec335" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/pr4-bz7-nn3", + "path": "/api/v1/dashboard/vhe-xty-kr6", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"pr4-bz7-nn3\"}\n", + "body": "{\"deleted_dashboard_id\":\"vhe-xty-kr6\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "33b85fce-b067-4640-c176-4b94e48d37db" + "id": "b0b58af8-0ef7-c7f3-535b-0455513720f8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze index f6e6007e992..88e67c2fd03 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.freeze @@ -1 +1 @@ -2024-09-30T17:24:52.299Z \ No newline at end of file +2024-11-14T19:12:12.401Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.json index 9c946bf299c..812a189b620 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1727717092\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"2az-xeg-xar\",\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_with_stacked_type_and_no_legend_specified-1727717092\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/2az-xeg-xar/test-createanewdashboardwithatoplistwidgetwithstackedtypeandnolegendspecified-17\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":688132644515996}],\"notify_list\":[],\"created_at\":\"2024-09-30T17:24:52.542207+00:00\",\"modified_at\":\"2024-09-30T17:24:52.542207+00:00\",\"experience_type\":\"default\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "1668edb0-df4a-a19b-f3e7-73c89dbafdd3" + "id": "980f9257-46e6-6af2-2c90-3b14587fefab" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/2az-xeg-xar", + "path": "/api/v1/dashboard/w86-twq-ev8", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"2az-xeg-xar\"}\n", + "body": "{\"deleted_dashboard_id\":\"w86-twq-ev8\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "bf18df2e-8976-3aab-55ba-5494d3060e55" + "id": "f453e80c-f32b-8035-6082-cfd2f556ab67" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.freeze index ce4feec432f..8f7441e1a8f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.freeze @@ -1 +1 @@ -2024-10-10T16:45:37.005Z \ No newline at end of file +2024-11-14T19:12:14.472Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.json index 7d3d3d538ea..aefa445d413 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_graph_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"message\": \"some message Notify: @hipchat-channel\", \"name\": \"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737\", \"options\": {\"enable_logs_sample\": true, \"escalation_message\": \"the situation has escalated\", \"evaluation_delay\": 700, \"include_tags\": true, \"locked\": false, \"new_host_delay\": 600, \"no_data_timeframe\": null, \"notification_preset_name\": \"hide_handles\", \"notify_audit\": false, \"notify_no_data\": false, \"on_missing_data\": \"show_and_notify_no_data\", \"renotify_interval\": 60, \"require_full_window\": true, \"thresholds\": {\"critical\": 2, \"warning\": 1}, \"timeout_h\": 24}, \"priority\": 3, \"query\": \"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\", \"tags\": [\"test:testcreateanewdashboardwithalertgraphwidget1728578737\", \"env:ci\"], \"type\": \"log alert\"}" + "json": "{\"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\\\") > 2\", \"tags\": [\"test:testcreateanewdashboardwithalertgraphwidget1731611534\", \"env:ci\"], \"type\": \"log alert\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":155845586,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1728578737\",\"env:ci\"],\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2.0,\"warning\":1.0},\"timeout_h\":24,\"groupby_simple_monitor\":false,\"silenced\":{}},\"multi\":true,\"created_at\":1728578737000,\"created\":\"2024-10-10T16:45:37.282544+00:00\",\"modified\":\"2024-10-10T16:45:37.282544+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"restriction_policy\":null,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":1445416}}\n", + "body": "{\"id\":158261200,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1731611534\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testcreateanewdashboardwithalertgraphwidget1731611534\",\"env:ci\"],\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2.0,\"warning\":1.0},\"timeout_h\":24,\"groupby_simple_monitor\":false,\"silenced\":{}},\"multi\":true,\"created_at\":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}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "d706321f-2b8a-11b9-cf0b-d3b09b52288e" + "id": "a9302e80-9408-5ecb-d1a7-3e992a328c0d" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737\",\"widgets\":[{\"definition\":{\"alert_id\":\"155845586\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"9y7-dzu-fqr\",\"title\":\"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/9y7-dzu-fqr/test-createanewdashboardwithalertgraphwidget-1728578737\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"alert_id\":\"155845586\",\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_graph\",\"viz_type\":\"timeseries\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":7729343486286001}],\"notify_list\":[],\"created_at\":\"2024-10-10T16:45:37.490575+00:00\",\"modified_at\":\"2024-10-10T16:45:37.490575+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "b4ff48de-586a-27c9-94af-5d82e09b7b9a" + "id": "c9759d91-476d-2829-2e3a-e8d8005ecb8f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/9y7-dzu-fqr", + "path": "/api/v1/dashboard/7q4-96u-ti2", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"9y7-dzu-fqr\"}\n", + "body": "{\"deleted_dashboard_id\":\"7q4-96u-ti2\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "0834f466-2ca5-77ca-b120-f11d503b03b8" + "id": "e508134e-fecc-8869-47ac-d878d3148c49" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/monitor/155845586", + "path": "/api/v1/monitor/158261200", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_monitor_id\":155845586}\n", + "body": "{\"deleted_monitor_id\":158261200}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "2e16a3ef-f256-640c-8e5a-606622d21867" + "id": "46aa5884-5db6-a732-c9c3-f81ced3cd418" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.freeze index 05d13b090e4..0df93e0cbeb 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.freeze @@ -1 +1 @@ -2024-10-10T16:45:04.791Z \ No newline at end of file +2024-11-14T19:12:15.292Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.json index d25268abfee..fd285f4dbcc 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_alert_value_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"message\": \"some message Notify: @hipchat-channel\", \"name\": \"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704\", \"options\": {\"enable_logs_sample\": true, \"escalation_message\": \"the situation has escalated\", \"evaluation_delay\": 700, \"include_tags\": true, \"locked\": false, \"new_host_delay\": 600, \"no_data_timeframe\": null, \"notification_preset_name\": \"hide_handles\", \"notify_audit\": false, \"notify_no_data\": false, \"on_missing_data\": \"show_and_notify_no_data\", \"renotify_interval\": 60, \"require_full_window\": true, \"thresholds\": {\"critical\": 2, \"warning\": 1}, \"timeout_h\": 24}, \"priority\": 3, \"query\": \"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\", \"tags\": [\"test:testcreateanewdashboardwithalertvaluewidget1728578704\", \"env:ci\"], \"type\": \"log alert\"}" + "json": "{\"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\\\") > 2\", \"tags\": [\"test:testcreateanewdashboardwithalertvaluewidget1731611535\", \"env:ci\"], \"type\": \"log alert\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":155845560,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testcreateanewdashboardwithalertvaluewidget1728578704\",\"env:ci\"],\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2.0,\"warning\":1.0},\"timeout_h\":24,\"groupby_simple_monitor\":false,\"silenced\":{}},\"multi\":true,\"created_at\":1728578705000,\"created\":\"2024-10-10T16:45:05.062415+00:00\",\"modified\":\"2024-10-10T16:45:05.062415+00:00\",\"deleted\":null,\"restricted_roles\":null,\"priority\":3,\"restriction_policy\":null,\"overall_state_modified\":null,\"overall_state\":\"No Data\",\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\",\"id\":1445416}}\n", + "body": "{\"id\":158261202,\"org_id\":321813,\"type\":\"log alert\",\"name\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1731611535\",\"message\":\"some message Notify: @hipchat-channel\",\"tags\":[\"test:testcreateanewdashboardwithalertvaluewidget1731611535\",\"env:ci\"],\"query\":\"logs(\\\"service:foo AND type:error\\\").index(\\\"main\\\").rollup(\\\"count\\\").by(\\\"source\\\").last(\\\"5m\\\") > 2\",\"options\":{\"enable_logs_sample\":true,\"escalation_message\":\"the situation has escalated\",\"evaluation_delay\":700,\"include_tags\":true,\"locked\":false,\"new_host_delay\":600,\"no_data_timeframe\":null,\"notification_preset_name\":\"hide_handles\",\"notify_audit\":false,\"notify_no_data\":false,\"on_missing_data\":\"show_and_notify_no_data\",\"renotify_interval\":60,\"require_full_window\":true,\"thresholds\":{\"critical\":2.0,\"warning\":1.0},\"timeout_h\":24,\"groupby_simple_monitor\":false,\"silenced\":{}},\"multi\":true,\"created_at\":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}}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "0dc31c4c-6506-c6c9-bb92-262b1bff23e9" + "id": "3abd4e75-e37f-f7ce-57ec-690cf8177be5" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704\",\"widgets\":[{\"definition\":{\"alert_id\":\"155845560\",\"precision\":2,\"text_align\":\"left\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_value\",\"unit\":\"auto\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"78k-2dh-sr5\",\"title\":\"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/78k-2dh-sr5/test-createanewdashboardwithalertvaluewidget-1728578704\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"alert_id\":\"155845560\",\"precision\":2,\"text_align\":\"left\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"alert_value\",\"unit\":\"auto\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0},\"id\":8549155363482992}],\"notify_list\":[],\"created_at\":\"2024-10-10T16:45:05.293418+00:00\",\"modified_at\":\"2024-10-10T16:45:05.293418+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "42cd5ff2-6857-af16-6781-200baf92034e" + "id": "c9931ade-0f01-125f-81c8-bc8f0357e798" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/78k-2dh-sr5", + "path": "/api/v1/dashboard/qfp-5rn-svg", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"78k-2dh-sr5\"}\n", + "body": "{\"deleted_dashboard_id\":\"qfp-5rn-svg\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "89136853-a2b8-dfbb-f069-0d22a71dad71" + "id": "02f13ebd-b198-b474-5606-f17418b9c3f0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/monitor/155845560", + "path": "/api/v1/monitor/158261202", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_monitor_id\":155845560}\n", + "body": "{\"deleted_monitor_id\":158261202}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "9944dc47-7439-494d-4c3d-2441ea999604" + "id": "ed4c7631-cc20-c403-11a8-23b396faebea" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.freeze index 61d4a381c3d..4229fd902a7 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.freeze @@ -1 +1 @@ -2022-01-06T00:50:28.127Z \ No newline at end of file +2024-11-14T19:12:16.099Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.json index b2250cbd4dd..1893c00f3c6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_an_audit_logs_query.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_an_audit_logs_query-1641430228 with Audit Logs Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"audit\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"timeseries\"}],\"type\":\"timeseries\"},\"layout\":{\"height\":2,\"width\":4,\"x\":2,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"gni-ma8-3tw\",\"title\":\"Test-Create_a_new_dashboard_with_an_audit_logs_query-1641430228 with Audit Logs Query\",\"url\":\"/dashboard/gni-ma8-3tw/test-createanewdashboardwithanauditlogsquery-1641430228-with-audit-logs-query\",\"created_at\":\"2022-01-06T00:50:28.350927+00:00\",\"modified_at\":\"2022-01-06T00:50:28.350927+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"response_format\":\"timeseries\",\"queries\":[{\"search\":{\"query\":\"\"},\"data_source\":\"audit\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]}]}],\"type\":\"timeseries\"},\"layout\":{\"y\":0,\"width\":4,\"x\":2,\"height\":2},\"id\":6324292938180360}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"56n-3ai-i2r\",\"title\":\"Test-Create_a_new_dashboard_with_an_audit_logs_query-1731611536 with Audit Logs Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/56n-3ai-i2r/test-createanewdashboardwithanauditlogsquery-1731611536-with-audit-logs-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"audit\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"timeseries\"}],\"type\":\"timeseries\"},\"layout\":{\"height\":2,\"width\":4,\"x\":2,\"y\":0},\"id\":6665463980370254}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:17.928159+00:00\",\"modified_at\":\"2024-11-14T19:12:17.928159+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "ef2333e7-50c8-ba91-9c14-38889c7a1a18" + "id": "b04b7e30-3772-ab89-a3d5-7f990fa86dc5" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/gni-ma8-3tw", + "path": "/api/v1/dashboard/56n-3ai-i2r", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"gni-ma8-3tw\"}", + "body": "{\"deleted_dashboard_id\":\"56n-3ai-i2r\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "6aab4662-65f1-0b17-b56b-3d7504e5076c" + "id": "25fa5792-19a3-e43a-7548-1877c491b09d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze index 86685ea54b8..d832278ef70 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:28.626Z \ No newline at end of file +2024-11-14T19:12:18.187Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.json index bc9f6215506..f51313afe72 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_dependency_stats_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1641430228\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_dependency_stats\",\"env\":\"ci\",\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"resource_name\":\"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?\",\"service\":\"cassandra\",\"stat\":\"avg_duration\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"z3x-s3a-d2f\",\"title\":\"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1641430228\",\"url\":\"/dashboard/z3x-s3a-d2f/test-createanewdashboardwithapmdependencystatswidget-1641430228\",\"created_at\":\"2022-01-06T00:50:28.828138+00:00\",\"modified_at\":\"2022-01-06T00:50:28.828138+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"query_table\",\"requests\":[{\"response_format\":\"scalar\",\"queries\":[{\"primary_tag_value\":\"edge-eu1.prod.dog\",\"stat\":\"avg_duration\",\"data_source\":\"apm_dependency_stats\",\"name\":\"query1\",\"service\":\"cassandra\",\"resource_name\":\"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?\",\"env\":\"ci\",\"primary_tag_name\":\"datacenter\",\"operation_name\":\"cassandra.query\"}]}],\"title_align\":\"left\",\"title_size\":\"16\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":4},\"id\":2344140518922967}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"u58-b3b-jgt\",\"title\":\"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1731611538\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/u58-b3b-jgt/test-createanewdashboardwithapmdependencystatswidget-1731611538\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_dependency_stats\",\"env\":\"ci\",\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"resource_name\":\"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?\",\"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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "bffc5449-fa89-52a8-9af0-cf04879aeaa8" + "id": "ecede605-1640-f6b2-3377-b69186e32edf" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/z3x-s3a-d2f", + "path": "/api/v1/dashboard/u58-b3b-jgt", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"z3x-s3a-d2f\"}", + "body": "{\"deleted_dashboard_id\":\"u58-b3b-jgt\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "b41c91ec-06cd-9519-6696-078d243028e3" + "id": "7e11b499-c0e5-8125-fe0c-bc7ee8b08395" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze index be8d05faf1c..043d27d642a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.freeze @@ -1 +1 @@ -2022-09-22T14:46:14.443Z \ No newline at end of file +2024-11-14T19:12:19.128Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.json index c34089c10b8..76c36623003 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1663857974 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"xhp-ymt-7mz\",\"title\":\"Test-Create_a_new_dashboard_with_apm_issue_stream_list_stream_widget-1663857974 with list_stream widget\",\"url\":\"/dashboard/xhp-ymt-7mz/test-createanewdashboardwithapmissuestreamliststreamwidget-1663857974-with-lists\",\"created_at\":\"2022-09-22T14:46:14.861195+00:00\",\"modified_at\":\"2022-09-22T14:46:14.861195+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"apm_issue_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":8154733979358236}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "e134fad1-9a8e-f2e5-6b47-e08d76adddc3" + "id": "40f88cb0-aaf3-0642-5bd6-08be88af351e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/xhp-ymt-7mz", + "path": "/api/v1/dashboard/6qf-smy-7x5", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"xhp-ymt-7mz\"}\n", + "body": "{\"deleted_dashboard_id\":\"6qf-smy-7x5\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "24b16955-838d-3191-43fe-c9f71338e960" + "id": "1ef63471-c079-ea03-51f7-9a28894f0dd8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.freeze index 707ac1a762e..7783b87e2b4 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:29.110Z \ No newline at end of file +2024-11-14T19:12:18.631Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.json index 1a445fd61dd..adb2ca4a546 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_apm_resource_stats_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1641430229\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_resource_stats\",\"env\":\"ci\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"service\":\"cassandra\",\"stat\":\"hits\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"cpv-tgq-6ui\",\"title\":\"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1641430229\",\"url\":\"/dashboard/cpv-tgq-6ui/test-createanewdashboardwithapmresourcestatswidget-1641430229\",\"created_at\":\"2022-01-06T00:50:29.319306+00:00\",\"modified_at\":\"2022-01-06T00:50:29.319306+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"query_table\",\"requests\":[{\"response_format\":\"scalar\",\"queries\":[{\"primary_tag_value\":\"edge-eu1.prod.dog\",\"stat\":\"hits\",\"data_source\":\"apm_resource_stats\",\"name\":\"query1\",\"service\":\"cassandra\",\"group_by\":[\"resource_name\"],\"env\":\"ci\",\"primary_tag_name\":\"datacenter\",\"operation_name\":\"cassandra.query\"}]}],\"title_align\":\"left\",\"title_size\":\"16\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":4},\"id\":8923865513771047}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"x8c-a59-up4\",\"title\":\"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1731611538\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/x8c-a59-up4/test-createanewdashboardwithapmresourcestatswidget-1731611538\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_resource_stats\",\"env\":\"ci\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"operation_name\":\"cassandra.query\",\"primary_tag_name\":\"datacenter\",\"primary_tag_value\":\"edge-eu1.prod.dog\",\"service\":\"cassandra\",\"stat\":\"hits\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":2616835259044428}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:18.815289+00:00\",\"modified_at\":\"2024-11-14T19:12:18.815289+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "cd402304-c692-0084-718b-6e87d14d4a0d" + "id": "a67b7514-e9a8-378e-cca4-dc8e9897ee44" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/cpv-tgq-6ui", + "path": "/api/v1/dashboard/x8c-a59-up4", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"cpv-tgq-6ui\"}", + "body": "{\"deleted_dashboard_id\":\"x8c-a59-up4\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ad3532db-ac3c-5e3e-d8bb-3ec2172122d6" + "id": "f84708fd-d74c-be07-e56f-ceea61a58efa" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.freeze index 4906508c424..491f9554ffa 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:29.613Z \ No newline at end of file +2024-11-14T19:12:19.499Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.json index 5006449b2d7..dd433ec8f7e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_check_status_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_check_status_widget-1641430229\",\"widgets\":[{\"definition\":{\"check\":\"datadog.agent.up\",\"grouping\":\"check\",\"tags\":[\"*\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"check_status\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"baz-eax-3ka\",\"title\":\"Test-Create_a_new_dashboard_with_check_status_widget-1641430229\",\"url\":\"/dashboard/baz-eax-3ka/test-createanewdashboardwithcheckstatuswidget-1641430229\",\"created_at\":\"2022-01-06T00:50:29.799432+00:00\",\"modified_at\":\"2022-01-06T00:50:29.799432+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"tags\":[\"*\"],\"title_align\":\"left\",\"type\":\"check_status\",\"check\":\"datadog.agent.up\",\"grouping\":\"check\"},\"layout\":{\"y\":0,\"width\":15,\"x\":0,\"height\":8},\"id\":3518672671182396}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"vbg-22a-h5q\",\"title\":\"Test-Create_a_new_dashboard_with_check_status_widget-1731611539\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/vbg-22a-h5q/test-createanewdashboardwithcheckstatuswidget-1731611539\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"check\":\"datadog.agent.up\",\"grouping\":\"check\",\"tags\":[\"*\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"check_status\"},\"layout\":{\"height\":8,\"width\":15,\"x\":0,\"y\":0},\"id\":5653198180146562}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:19.614388+00:00\",\"modified_at\":\"2024-11-14T19:12:19.614388+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "88992d4f-cbde-e72a-0e2a-e71c7269f98c" + "id": "916cc963-0a39-e9a9-ca85-8462e8e6c1da" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/baz-eax-3ka", + "path": "/api/v1/dashboard/vbg-22a-h5q", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"baz-eax-3ka\"}", + "body": "{\"deleted_dashboard_id\":\"vbg-22a-h5q\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "487c1f82-4ed2-ceb3-454b-92d68fa8c549" + "id": "d07a7232-7f79-a1f9-f454-c00042fe9f02" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze index fb2dd877ac9..103c2a46245 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-03-02T20:37:14.366Z \ No newline at end of file +2024-11-14T19:12:19.870Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.json index d92819ce067..73857bcbfaf 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_ci_test_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1677789434 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"ci_test_stream\",\"query_string\":\"test_level:suite\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"mdr-2je-u6x\",\"title\":\"Test-Create_a_new_dashboard_with_ci_test_stream_list_stream_widget-1677789434 with list_stream widget\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/mdr-2je-u6x/test-createanewdashboardwithciteststreamliststreamwidget-1677789434-with-liststr\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"ci_test_stream\",\"query_string\":\"test_level:suite\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":1680451278463569}],\"notify_list\":null,\"created_at\":\"2023-03-02T20:37:14.537234+00:00\",\"modified_at\":\"2023-03-02T20:37:14.537234+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "a5e67a9d-1b76-1348-3cb5-83ba7d90f85b" + "id": "3d3c8fe4-6b33-4ae7-92c3-48f4c6348ae9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/mdr-2je-u6x", + "path": "/api/v1/dashboard/vbw-9z8-3n6", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"mdr-2je-u6x\"}\n", + "body": "{\"deleted_dashboard_id\":\"vbw-9z8-3n6\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa10355c-f95a-9720-2214-aa807ed3f9a8" + "id": "078caeb3-9c09-520e-f324-94ed78b7ff7a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze index c366fd5e11e..37a1f4cb549 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.freeze @@ -1 +1 @@ -2022-01-06T00:50:30.096Z \ No newline at end of file +2024-11-14T19:12:20.235Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.json index 47fe10fd9dc..20018e46310 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1641430230\",\"widgets\":[{\"definition\":{\"requests\":[{\"apm_stats_query\":{\"env\":\"prod\",\"name\":\"cassandra.query\",\"primary_tag\":\"datacenter:dc1\",\"row_type\":\"service\",\"service\":\"cassandra\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"7yq-u4p-9qh\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1641430230\",\"url\":\"/dashboard/7yq-u4p-9qh/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1641430230\",\"created_at\":\"2022-01-06T00:50:30.283828+00:00\",\"modified_at\":\"2022-01-06T00:50:30.283828+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"distribution\",\"requests\":[{\"apm_stats_query\":{\"primary_tag\":\"datacenter:dc1\",\"row_type\":\"service\",\"name\":\"cassandra.query\",\"service\":\"cassandra\",\"env\":\"prod\"}}],\"title_align\":\"left\",\"title_size\":\"16\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":4},\"id\":6766921978730305}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"hvz-a5v-6fx\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1731611540\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/hvz-a5v-6fx/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1731611540\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"apm_stats_query\":{\"env\":\"prod\",\"name\":\"cassandra.query\",\"primary_tag\":\"datacenter:dc1\",\"row_type\":\"service\",\"service\":\"cassandra\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":893124335643854}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:20.407882+00:00\",\"modified_at\":\"2024-11-14T19:12:20.407882+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "016ce12f-6b29-1def-34ca-ee44934951cc" + "id": "a7fa6d74-7c63-b5c9-121f-8ae6a76d3256" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/7yq-u4p-9qh", + "path": "/api/v1/dashboard/hvz-a5v-6fx", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"7yq-u4p-9qh\"}", + "body": "{\"deleted_dashboard_id\":\"hvz-a5v-6fx\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "8add7a6d-686c-b861-1bc1-e6d59ec920a8" + "id": "514195a0-0ad6-12c8-0d9a-ee11e3c099a6" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze index b5d81941fc0..b18304cea4c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-02-08T16:18:06.266Z \ No newline at end of file +2024-11-14T19:12:20.645Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.json index 166b43de409..a7e83cfbec7 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1675873086 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"zmh-rud-g4b\",\"title\":\"Test-Create_a_new_dashboard_with_event_stream_list_stream_widget-1675873086 with list_stream widget\",\"url\":\"/dashboard/zmh-rud-g4b/test-createanewdashboardwitheventstreamliststreamwidget-1675873086-with-liststre\",\"created_at\":\"2023-02-08T16:18:06.512655+00:00\",\"modified_at\":\"2023-02-08T16:18:06.512655+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"event_stream\",\"event_size\":\"l\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":3303593204363469}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "e13a56fb-8e7e-cc8f-cccd-1dc11cfaf098" + "id": "df33eb45-0652-4c2d-fe9c-6c4e8b40c65f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/zmh-rud-g4b", + "path": "/api/v1/dashboard/isx-9sv-axt", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"zmh-rud-g4b\"}\n", + "body": "{\"deleted_dashboard_id\":\"isx-9sv-axt\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ee1b2016-b8d9-3d3f-4959-f703304bf7c6" + "id": "4edec959-e2c3-a81b-3ef4-50649630ea6d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.freeze index 50f40ed1164..bd4dca0739f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:30.857Z \ No newline at end of file +2024-11-14T19:12:21.032Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.json index d327bad571c..9ae45b54181 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_event_stream_widget-1641430230\",\"widgets\":[{\"definition\":{\"event_size\":\"s\",\"query\":\"example-query\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_stream\"},\"layout\":{\"height\":38,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"2dc-bzm-gzi\",\"title\":\"Test-Create_a_new_dashboard_with_event_stream_widget-1641430230\",\"url\":\"/dashboard/2dc-bzm-gzi/test-createanewdashboardwitheventstreamwidget-1641430230\",\"created_at\":\"2022-01-06T00:50:31.037679+00:00\",\"modified_at\":\"2022-01-06T00:50:31.037679+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"tags_execution\":\"and\",\"query\":\"example-query\",\"type\":\"event_stream\",\"event_size\":\"s\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":38},\"id\":5676594590872385}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"j92-23a-929\",\"title\":\"Test-Create_a_new_dashboard_with_event_stream_widget-1731611541\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/j92-23a-929/test-createanewdashboardwitheventstreamwidget-1731611541\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"event_size\":\"s\",\"query\":\"example-query\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_stream\"},\"layout\":{\"height\":38,\"width\":47,\"x\":0,\"y\":0},\"id\":5404510043206419}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:21.167451+00:00\",\"modified_at\":\"2024-11-14T19:12:21.167451+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "3879fec4-f6fa-1c42-2ce3-f6a535a94a13" + "id": "498ee265-7a8c-0a58-5ef6-d5fb74adc38a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/2dc-bzm-gzi", + "path": "/api/v1/dashboard/j92-23a-929", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"2dc-bzm-gzi\"}", + "body": "{\"deleted_dashboard_id\":\"j92-23a-929\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ff9ac10a-9fbf-fe02-10a1-d64f998e8483" + "id": "682d5430-9745-6ff2-7f05-0f0a464f9210" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.freeze index 59fa4a8ce42..2a484b2180c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:31.520Z \ No newline at end of file +2024-11-14T19:12:21.382Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.json index 26730c58f8c..639f4b1fdc3 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_event_timeline_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_event_timeline_widget-1641430231\",\"widgets\":[{\"definition\":{\"query\":\"status:error priority:all\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_timeline\"},\"layout\":{\"height\":9,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"8zb-e23-rdn\",\"title\":\"Test-Create_a_new_dashboard_with_event_timeline_widget-1641430231\",\"url\":\"/dashboard/8zb-e23-rdn/test-createanewdashboardwitheventtimelinewidget-1641430231\",\"created_at\":\"2022-01-06T00:50:31.676223+00:00\",\"modified_at\":\"2022-01-06T00:50:31.676223+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"tags_execution\":\"and\",\"query\":\"status:error priority:all\",\"type\":\"event_timeline\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":9},\"id\":3161433541540683}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"i3x-7cz-cn3\",\"title\":\"Test-Create_a_new_dashboard_with_event_timeline_widget-1731611541\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/i3x-7cz-cn3/test-createanewdashboardwitheventtimelinewidget-1731611541\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"query\":\"status:error priority:all\",\"tags_execution\":\"and\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"event_timeline\"},\"layout\":{\"height\":9,\"width\":47,\"x\":0,\"y\":0},\"id\":2993493904946935}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:21.485271+00:00\",\"modified_at\":\"2024-11-14T19:12:21.485271+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d105c98a-3d85-796b-9edc-90ea8c9b264d" + "id": "b925dc37-9df1-dcb0-b3db-37a62829a9ff" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/8zb-e23-rdn", + "path": "/api/v1/dashboard/i3x-7cz-cn3", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"8zb-e23-rdn\"}", + "body": "{\"deleted_dashboard_id\":\"i3x-7cz-cn3\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "678aeb6d-7153-e415-15cc-dc0ac17d6d03" + "id": "6c572ecc-12ef-d4e9-421f-b11ff56591b7" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze index 98f62dfd9b4..5dc1866ffb8 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.freeze @@ -1 +1 @@ -2023-09-12T19:51:40.932Z \ No newline at end of file +2024-11-14T19:12:21.749Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.json index 878afda43fd..e86d43d6e3b 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formula_and_function_heatmap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1694548300\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"agm-reh-km8\",\"title\":\"Test-Create_a_new_dashboard_with_formula_and_function_heatmap_widget-1694548300\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/agm-reh-km8/test-createanewdashboardwithformulaandfunctionheatmapwidget-1694548300\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":658874190518028}],\"notify_list\":[],\"created_at\":\"2023-09-12T19:51:41.163760+00:00\",\"modified_at\":\"2023-09-12T19:51:41.163760+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "2c3b8923-8cc7-caa5-5030-06df123a1604" + "id": "54b3cacf-2a21-d24a-f3c6-66a8a593fdf2" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/agm-reh-km8", + "path": "/api/v1/dashboard/pn9-3xt-h79", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"agm-reh-km8\"}\n", + "body": "{\"deleted_dashboard_id\":\"pn9-3xt-h79\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "80d08430-3632-271b-710c-1e318ec66d25" + "id": "50155118-dffd-f1dd-3eab-da0fcc334209" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze index e53ed8444f2..79d95d78807 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:31.952Z \ No newline at end of file +2024-11-14T19:12:22.186Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.json index 95acd3911f5..e25e0712b85 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1641430231\",\"widgets\":[{\"definition\":{\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"my-query1\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"my-query2\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\"}},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"scatterplot\"},\"id\":5346764334358972,\"layout\":{\"height\":2,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"zct-37r-af2\",\"title\":\"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1641430231\",\"url\":\"/dashboard/zct-37r-af2/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1641430231\",\"created_at\":\"2022-01-06T00:50:32.173771+00:00\",\"modified_at\":\"2022-01-06T00:50:32.173771+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"scatterplot\",\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"my-query1\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"my-query2\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"response_format\":\"scalar\",\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}]}},\"title_align\":\"left\",\"title_size\":\"16\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":4,\"x\":0,\"height\":2},\"id\":5346764334358972}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"pve-j2y-xxt\",\"title\":\"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1731611542\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/pve-j2y-xxt/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1731611542\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"my-query1\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"my-query2\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "703f3173-6fba-b465-0b0c-8f9fe1c410e3" + "id": "ab93987c-a4c8-42e9-cb5e-c2fe9b821d8a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/zct-37r-af2", + "path": "/api/v1/dashboard/pve-j2y-xxt", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"zct-37r-af2\"}", + "body": "{\"deleted_dashboard_id\":\"pve-j2y-xxt\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "62cc457c-b1f2-c0c4-c270-359fc62b85f9" + "id": "f344c2d3-c3fa-1d02-7ada-fb9abd7d095c" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.freeze index 11ca259e700..62739b46432 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:32.461Z \ No newline at end of file +2024-11-14T19:12:22.672Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.json index 929569ddb19..76714e9ed06 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_free_text_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_free_text_widget-1641430232\",\"widgets\":[{\"definition\":{\"color\":\"#4d4d4d\",\"font_size\":\"auto\",\"text\":\"Example free text\",\"text_align\":\"left\",\"type\":\"free_text\"},\"layout\":{\"height\":6,\"width\":24,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"d55-4cs-38k\",\"title\":\"Test-Create_a_new_dashboard_with_free_text_widget-1641430232\",\"url\":\"/dashboard/d55-4cs-38k/test-createanewdashboardwithfreetextwidget-1641430232\",\"created_at\":\"2022-01-06T00:50:32.631852+00:00\",\"modified_at\":\"2022-01-06T00:50:32.631852+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"color\":\"#4d4d4d\",\"text\":\"Example free text\",\"font_size\":\"auto\",\"text_align\":\"left\",\"type\":\"free_text\"},\"layout\":{\"y\":0,\"width\":24,\"x\":0,\"height\":6},\"id\":5625839222691607}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"th4-kf6-2wb\",\"title\":\"Test-Create_a_new_dashboard_with_free_text_widget-1731611542\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/th4-kf6-2wb/test-createanewdashboardwithfreetextwidget-1731611542\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"color\":\"#4d4d4d\",\"font_size\":\"auto\",\"text\":\"Example free text\",\"text_align\":\"left\",\"type\":\"free_text\"},\"layout\":{\"height\":6,\"width\":24,\"x\":0,\"y\":0},\"id\":3975450487298464}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:22.794244+00:00\",\"modified_at\":\"2024-11-14T19:12:22.794244+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "97a3e6dd-a9e0-ead6-5480-98a4b6fb3859" + "id": "169e45be-686c-4e04-dd98-e49f98e0c627" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/d55-4cs-38k", + "path": "/api/v1/dashboard/th4-kf6-2wb", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"d55-4cs-38k\"}", + "body": "{\"deleted_dashboard_id\":\"th4-kf6-2wb\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "3c7f1718-99e2-5246-db3a-03bac840bec3" + "id": "ad7f9aa9-4e4d-cc4a-c04f-4dbaffe05435" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.freeze index 575dd36dea6..02e0753556e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:32.911Z \ No newline at end of file +2024-11-14T19:12:23.046Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.json index b935c4d4911..9e95830a5f4 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_funnel_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_funnel_widget-1641430232 with funnel widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"rum\",\"query_string\":\"\",\"steps\":[]},\"request_type\":\"funnel\"}],\"type\":\"funnel\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"2n6-br7-kwr\",\"title\":\"Test-Create_a_new_dashboard_with_funnel_widget-1641430232 with funnel widget\",\"url\":\"/dashboard/2n6-br7-kwr/test-createanewdashboardwithfunnelwidget-1641430232-with-funnel-widget\",\"created_at\":\"2022-01-06T00:50:33.082701+00:00\",\"modified_at\":\"2022-01-06T00:50:33.082701+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"rum\",\"steps\":[]},\"request_type\":\"funnel\"}],\"type\":\"funnel\"},\"id\":5380342825148909}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"zta-rqr-z7r\",\"title\":\"Test-Create_a_new_dashboard_with_funnel_widget-1731611543 with funnel widget\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/zta-rqr-z7r/test-createanewdashboardwithfunnelwidget-1731611543-with-funnel-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"rum\",\"query_string\":\"\",\"steps\":[]},\"request_type\":\"funnel\"}],\"type\":\"funnel\"},\"id\":3177333241748468}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:23.172576+00:00\",\"modified_at\":\"2024-11-14T19:12:23.172576+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d5bec424-0346-bd92-7f41-a7740c38b9c3" + "id": "cb30f11f-bb16-199e-0d38-d2f63ac0aa46" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/2n6-br7-kwr", + "path": "/api/v1/dashboard/zta-rqr-z7r", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"2n6-br7-kwr\"}", + "body": "{\"deleted_dashboard_id\":\"zta-rqr-z7r\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "2cbcf55d-fe78-afe4-7f7b-4f1e71a93fb2" + "id": "d71dedf3-2d3d-9618-d528-ab67476dbbfc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.freeze index 41f51372bbb..9b4feb601ec 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.freeze @@ -1 +1 @@ -2024-05-15T20:07:40.997Z \ No newline at end of file +2024-11-14T19:12:23.432Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.json index eff4af96174..bc40815870c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_geomap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1715803660\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"38d-vt6-cf9\",\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1715803660\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/38d-vt6-cf9/test-createanewdashboardwithgeomapwidget-1715803660\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0},\"id\":2497706086149326}],\"notify_list\":[],\"created_at\":\"2024-05-15T20:07:41.236839+00:00\",\"modified_at\":\"2024-05-15T20:07:41.236839+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d4c04011-c79f-1054-9c1f-f6e8853e4a2d" + "id": "d40c08e7-75d7-b6c6-7a3e-9281f4a7f323" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/38d-vt6-cf9", + "path": "/api/v1/dashboard/zfg-33v-zgb", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"38d-vt6-cf9\"}\n", + "body": "{\"deleted_dashboard_id\":\"zfg-33v-zgb\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "6b138a8f-fe3d-67e1-461b-02416a7dc832" + "id": "b8f1454d-a70b-42d9-4cee-ed3618bb4a91" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.freeze index febf72a1dd5..ea2e812f90a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:33.850Z \ No newline at end of file +2024-11-14T19:12:23.844Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.json index 28e01e5f19b..06ba2164886 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_heatmap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget-1641430233\",\"widgets\":[{\"definition\":{\"requests\":[{\"q\":\"avg:system.cpu.user{*} by {service}\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"itn-x76-j9p\",\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget-1641430233\",\"url\":\"/dashboard/itn-x76-j9p/test-createanewdashboardwithheatmapwidget-1641430233\",\"created_at\":\"2022-01-06T00:50:34.035679+00:00\",\"modified_at\":\"2022-01-06T00:50:34.035679+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"time\":{},\"requests\":[{\"q\":\"avg:system.cpu.user{*} by {service}\",\"style\":{\"palette\":\"dog_classic\"}}],\"type\":\"heatmap\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":3967109255591210}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"m55-nbe-fb2\",\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget-1731611543\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/m55-nbe-fb2/test-createanewdashboardwithheatmapwidget-1731611543\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"q\":\"avg:system.cpu.user{*} by {service}\",\"style\":{\"palette\":\"dog_classic\"}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":3468862583321901}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:24.011974+00:00\",\"modified_at\":\"2024-11-14T19:12:24.011974+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "db572424-32c6-d8cd-5b59-5de7dc124b22" + "id": "adee0351-4afa-c9be-5325-4dd004655d8c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/itn-x76-j9p", + "path": "/api/v1/dashboard/m55-nbe-fb2", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"itn-x76-j9p\"}", + "body": "{\"deleted_dashboard_id\":\"m55-nbe-fb2\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a22f16b2-efe5-dd6f-dab2-ed841f270161" + "id": "738b44e6-4c11-b505-8096-618daf3d2221" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.freeze index 0f5d3b4327b..f71f21be5f5 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:34.331Z \ No newline at end of file +2024-11-14T19:12:24.261Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.json index ae3d7a23167..d1d9f914a9d 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_hostmap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_hostmap_widget-1641430234\",\"widgets\":[{\"definition\":{\"no_group_hosts\":true,\"no_metric_hosts\":true,\"node_type\":\"host\",\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*} by {host}\"}},\"style\":{\"palette\":\"green_to_orange\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"hostmap\"},\"layout\":{\"height\":22,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"sjt-c5e-sir\",\"title\":\"Test-Create_a_new_dashboard_with_hostmap_widget-1641430234\",\"url\":\"/dashboard/sjt-c5e-sir/test-createanewdashboardwithhostmapwidget-1641430234\",\"created_at\":\"2022-01-06T00:50:34.551060+00:00\",\"modified_at\":\"2022-01-06T00:50:34.551060+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"style\":{\"palette\":\"green_to_orange\",\"palette_flip\":false},\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"node_type\":\"host\",\"no_metric_hosts\":true,\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*} by {host}\"}},\"no_group_hosts\":true,\"type\":\"hostmap\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":22},\"id\":7704723778867726}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"m3c-vup-t7s\",\"title\":\"Test-Create_a_new_dashboard_with_hostmap_widget-1731611544\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/m3c-vup-t7s/test-createanewdashboardwithhostmapwidget-1731611544\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"no_group_hosts\":true,\"no_metric_hosts\":true,\"node_type\":\"host\",\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*} by {host}\"}},\"style\":{\"palette\":\"green_to_orange\",\"palette_flip\":false},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"hostmap\"},\"layout\":{\"height\":22,\"width\":47,\"x\":0,\"y\":0},\"id\":142423722512604}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:24.459149+00:00\",\"modified_at\":\"2024-11-14T19:12:24.459149+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "a4f50eae-d5a4-6b61-89cb-9d24da31316b" + "id": "03b2a6a5-9acd-951f-fb2b-f18bf56e4a44" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/sjt-c5e-sir", + "path": "/api/v1/dashboard/m3c-vup-t7s", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"sjt-c5e-sir\"}", + "body": "{\"deleted_dashboard_id\":\"m3c-vup-t7s\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "0e6c920a-2bda-a34f-80dc-85c2412def3d" + "id": "dd65b3ff-27fd-94bf-c451-ee6a9fe13a72" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.freeze index d68f1b0cfd6..d686165468d 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:34.842Z \ No newline at end of file +2024-11-14T19:12:24.735Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.json index 3194fdb2bdc..47422fe9a02 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_iframe_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_iframe_widget-1641430234\",\"widgets\":[{\"definition\":{\"type\":\"iframe\",\"url\":\"https://docs.datadoghq.com/api/latest/\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"udq-5td-jif\",\"title\":\"Test-Create_a_new_dashboard_with_iframe_widget-1641430234\",\"url\":\"/dashboard/udq-5td-jif/test-createanewdashboardwithiframewidget-1641430234\",\"created_at\":\"2022-01-06T00:50:35.006333+00:00\",\"modified_at\":\"2022-01-06T00:50:35.006333+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"url\":\"https://docs.datadoghq.com/api/latest/\",\"type\":\"iframe\"},\"layout\":{\"y\":0,\"width\":12,\"x\":0,\"height\":12},\"id\":4318913911937946}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"az3-9m4-ywf\",\"title\":\"Test-Create_a_new_dashboard_with_iframe_widget-1731611544\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/az3-9m4-ywf/test-createanewdashboardwithiframewidget-1731611544\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"type\":\"iframe\",\"url\":\"https://docs.datadoghq.com/api/latest/\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0},\"id\":3286517205333846}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:24.844136+00:00\",\"modified_at\":\"2024-11-14T19:12:24.844136+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "65b65375-86c2-dbcb-0798-6f24a04e3f1f" + "id": "b7386fef-68fe-83ec-8f9e-fe4fb95487b8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/udq-5td-jif", + "path": "/api/v1/dashboard/az3-9m4-ywf", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"udq-5td-jif\"}", + "body": "{\"deleted_dashboard_id\":\"az3-9m4-ywf\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "81be041c-a3eb-35a9-745b-adda38a4f608" + "id": "1ad3e090-7ebb-c440-a257-6f1419ab5404" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.freeze index 0bf41f9a7b5..a2fa3554f5c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:35.872Z \ No newline at end of file +2024-11-14T19:12:25.098Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.json index 40d2cb57c69..2c9e08a8d10 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_image_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_image_widget-1641430235\",\"widgets\":[{\"definition\":{\"sizing\":\"cover\",\"type\":\"image\",\"url\":\"https://example.com/image.png\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"6qb-v3p-rrv\",\"title\":\"Test-Create_a_new_dashboard_with_image_widget-1641430235\",\"url\":\"/dashboard/6qb-v3p-rrv/test-createanewdashboardwithimagewidget-1641430235\",\"created_at\":\"2022-01-06T00:50:36.031687+00:00\",\"modified_at\":\"2022-01-06T00:50:36.031687+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"sizing\":\"cover\",\"url\":\"https://example.com/image.png\",\"type\":\"image\"},\"layout\":{\"y\":0,\"width\":12,\"x\":0,\"height\":12},\"id\":4480145637940282}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"kau-9fb-ghy\",\"title\":\"Test-Create_a_new_dashboard_with_image_widget-1731611545\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/kau-9fb-ghy/test-createanewdashboardwithimagewidget-1731611545\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"sizing\":\"cover\",\"type\":\"image\",\"url\":\"https://example.com/image.png\"},\"layout\":{\"height\":12,\"width\":12,\"x\":0,\"y\":0},\"id\":4997431125308733}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:26.585068+00:00\",\"modified_at\":\"2024-11-14T19:12:26.585068+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "5eb5815a-7527-3582-0abd-bc8086327e4a" + "id": "ceb566b0-c634-23d7-3f6e-70439edb3099" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/6qb-v3p-rrv", + "path": "/api/v1/dashboard/kau-9fb-ghy", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"6qb-v3p-rrv\"}", + "body": "{\"deleted_dashboard_id\":\"kau-9fb-ghy\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a1b899af-066f-d1d3-3655-6b8c3dd9fc05" + "id": "c8614c78-56b8-5ebd-7660-b8dfcd3008a5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze index f42aca7bd61..0394c4ff437 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2023-03-08T22:44:59.472Z \ No newline at end of file +2024-11-14T19:12:26.860Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.json index e7c66b35984..effa970c114 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"tags\":[\"tm:foobar\"],\"title\":\"Test-Create_a_new_dashboard_with_invalid_team_tags_returns_Bad_Request_response-1678315499\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "56fcc8f4-a1be-ee23-e0c7-69e483b38177" + "id": "a92a0182-18e9-dcc3-f3d2-2048a02f51f6" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.freeze index 6b74fa7c9dc..79c6d99bbed 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.freeze @@ -1 +1 @@ -2022-04-19T09:27:28.961Z \ No newline at end of file +2024-11-14T19:12:26.943Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.json index e2c73a9ae49..2c07e8e4bc7 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget-1650360448 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"8qi-cen-xbg\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget-1650360448 with list_stream widget\",\"url\":\"/dashboard/8qi-cen-xbg/test-createanewdashboardwithliststreamwidget-1650360448-with-liststream-widget\",\"created_at\":\"2022-04-19T09:27:29.277529+00:00\",\"modified_at\":\"2022-04-19T09:27:29.277529+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"apm_issue_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":8256654551182209}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"ma4-5ie-2j7\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget-1731611546 with list_stream widget\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/ma4-5ie-2j7/test-createanewdashboardwithliststreamwidget-1731611546-with-liststream-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":6991546772131646}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:27.070407+00:00\",\"modified_at\":\"2024-11-14T19:12:27.070407+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "60b07f9e-b056-d0cf-7f4f-c627b178d0db" + "id": "72ba63f4-6b08-65b6-a4e5-3ba06f74f572" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/8qi-cen-xbg", + "path": "/api/v1/dashboard/ma4-5ie-2j7", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"8qi-cen-xbg\"}", + "body": "{\"deleted_dashboard_id\":\"ma4-5ie-2j7\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "6d1c3c21-3d76-b00a-03b7-a87380816a84" + "id": "de0b1f61-f6ab-c716-17e4-85b8392e9d05" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze index 8c38607db9a..3c9d4d248ae 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.freeze @@ -1 +1 @@ -2023-05-31T17:12:24.532Z \ No newline at end of file +2024-11-14T19:12:27.325Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.json index 30f33577381..cd0fb909777 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1685553144 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"asc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"td2-he3-3vj\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_ASC-1685553144 with list_stream widget\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/td2-he3-3vj/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterasc-168555314\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"asc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":4579982797049164}],\"notify_list\":null,\"created_at\":\"2023-05-31T17:12:24.700217+00:00\",\"modified_at\":\"2023-05-31T17:12:24.700217+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "262beabe-444a-04ec-c32e-92679e01c03d" + "id": "17bc17e5-89a9-276b-f9a1-74588914c40b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/td2-he3-3vj", + "path": "/api/v1/dashboard/n3x-b6f-m4t", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"td2-he3-3vj\"}\n", + "body": "{\"deleted_dashboard_id\":\"n3x-b6f-m4t\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "df6728de-39f0-d9a8-232b-235100fbe048" + "id": "741d67d7-5cf8-b78a-490e-8305c4325895" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze index e69b46cc674..0b1410ad375 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.freeze @@ -1 +1 @@ -2023-05-31T17:12:24.923Z \ No newline at end of file +2024-11-14T19:12:27.718Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.json index 67ec0b5800d..c611eb92893 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1685553144 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"desc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"mwn-7ph-8z8\",\"title\":\"Test-Create_a_new_dashboard_with_list_stream_widget_with_a_valid_sort_parameter_DESC-1685553144 with list_stream widget\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/mwn-7ph-8z8/test-createanewdashboardwithliststreamwidgetwithavalidsortparameterdesc-16855531\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"event_stream\",\"event_size\":\"l\",\"query_string\":\"\",\"sort\":{\"column\":\"timestamp\",\"order\":\"desc\"}},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":8830087860290510}],\"notify_list\":null,\"created_at\":\"2023-05-31T17:12:25.020023+00:00\",\"modified_at\":\"2023-05-31T17:12:25.020023+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "4d9af33a-c1a6-4539-6afe-64b02fe6a4df" + "id": "55338748-ec7e-c9c0-12b8-0c74dd445d5f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/mwn-7ph-8z8", + "path": "/api/v1/dashboard/2sk-pz4-gv6", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"mwn-7ph-8z8\"}\n", + "body": "{\"deleted_dashboard_id\":\"2sk-pz4-gv6\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "3505733a-4173-7b1a-0aac-71a2f23552b6" + "id": "04f8a94c-4d65-bc9a-6c1f-6f95658b6211" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze index 379a35d8336..5cc6e477bcc 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.freeze @@ -1 +1 @@ -2024-10-15T21:46:06.749Z \ No newline at end of file +2024-11-14T19:12:28.087Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.json index 3892342c0c0..9aa269e7f3e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1729028766 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@status\",\"width\":\"compact\"},{\"field\":\"@content.prompt\",\"width\":\"auto\"},{\"field\":\"@content.response.content\",\"width\":\"auto\"},{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"@ml_app\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.quality\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.security\",\"width\":\"auto\"},{\"field\":\"@duration\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"llm_observability_stream\",\"indexes\":[],\"query_string\":\"@event_type:span @parent_id:undefined\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"k3w-qcg-ug8\",\"title\":\"Test-Create_a_new_dashboard_with_llm_observability_stream_list_stream_widget-1729028766 with list_stream widget\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/k3w-qcg-ug8/test-createanewdashboardwithllmobservabilitystreamliststreamwidget-1729028766-wi\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"@status\",\"width\":\"compact\"},{\"field\":\"@content.prompt\",\"width\":\"auto\"},{\"field\":\"@content.response.content\",\"width\":\"auto\"},{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"@ml_app\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.quality\",\"width\":\"auto\"},{\"field\":\"@meta.evaluations.security\",\"width\":\"auto\"},{\"field\":\"@duration\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"llm_observability_stream\",\"indexes\":[],\"query_string\":\"@event_type:span @parent_id:undefined\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":8221646523831060}],\"notify_list\":null,\"created_at\":\"2024-10-15T21:46:06.954265+00:00\",\"modified_at\":\"2024-10-15T21:46:06.954265+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "cf641f4f-8e4f-7935-f5b4-4afac4518e18" + "id": "c6046316-4147-aaac-516b-a97e1ec1d7a0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/k3w-qcg-ug8", + "path": "/api/v1/dashboard/q5w-24v-wij", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"k3w-qcg-ug8\"}\n", + "body": "{\"deleted_dashboard_id\":\"q5w-24v-wij\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a917abb5-e304-8f7d-e7b8-bd4e3f095748" + "id": "a1133db7-1541-bfab-089c-f9cbef103c2a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.freeze index 373a2345e4e..ae73074e04a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:36.787Z \ No newline at end of file +2024-11-14T19:12:28.541Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.json index ec3ba5baf31..f04d096dca4 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_log_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_log_stream_widget-1641430236\",\"widgets\":[{\"definition\":{\"columns\":[\"host\",\"service\"],\"indexes\":[\"main\"],\"message_display\":\"expanded-md\",\"query\":\"\",\"show_date_column\":true,\"show_message_column\":true,\"sort\":{\"column\":\"time\",\"order\":\"desc\"},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"log_stream\"},\"layout\":{\"height\":36,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"ge2-n5p-cnd\",\"title\":\"Test-Create_a_new_dashboard_with_log_stream_widget-1641430236\",\"url\":\"/dashboard/ge2-n5p-cnd/test-createanewdashboardwithlogstreamwidget-1641430236\",\"created_at\":\"2022-01-06T00:50:36.957558+00:00\",\"modified_at\":\"2022-01-06T00:50:36.957558+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"sort\":{\"column\":\"time\",\"order\":\"desc\"},\"show_message_column\":true,\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"message_display\":\"expanded-md\",\"indexes\":[\"main\"],\"show_date_column\":true,\"query\":\"\",\"type\":\"log_stream\",\"columns\":[\"host\",\"service\"]},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":36},\"id\":853406405411463}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"ehu-t86-88d\",\"title\":\"Test-Create_a_new_dashboard_with_log_stream_widget-1731611548\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/ehu-t86-88d/test-createanewdashboardwithlogstreamwidget-1731611548\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"columns\":[\"host\",\"service\"],\"indexes\":[\"main\"],\"message_display\":\"expanded-md\",\"query\":\"\",\"show_date_column\":true,\"show_message_column\":true,\"sort\":{\"column\":\"time\",\"order\":\"desc\"},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"log_stream\"},\"layout\":{\"height\":36,\"width\":47,\"x\":0,\"y\":0},\"id\":3386822752996121}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:28.641489+00:00\",\"modified_at\":\"2024-11-14T19:12:28.641489+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "bbd78d41-9d3e-5730-cacc-2c674bf97fd8" + "id": "efbc1dcf-6642-1023-9302-b79581d086c0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/ge2-n5p-cnd", + "path": "/api/v1/dashboard/ehu-t86-88d", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"ge2-n5p-cnd\"}", + "body": "{\"deleted_dashboard_id\":\"ehu-t86-88d\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "fc375adb-6904-d3f0-0669-354e98cab34f" + "id": "17d6daae-2c61-00a8-c831-a6009c8140e9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze index 2c74d6243dd..04536bca733 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-01-13T16:43:57.804Z \ No newline at end of file +2024-11-14T19:12:29.279Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.json index fa04f210766..660a4420ac0 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1673628237 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_pattern_stream\",\"group_by\":[{\"facet\":\"service\"}],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"vqp-zrn-fki\",\"title\":\"Test-Create_a_new_dashboard_with_logs_pattern_stream_list_stream_widget-1673628237 with list_stream widget\",\"url\":\"/dashboard/vqp-zrn-fki/test-createanewdashboardwithlogspatternstreamliststreamwidget-1673628237-with-li\",\"created_at\":\"2023-01-13T16:43:57.974008+00:00\",\"modified_at\":\"2023-01-13T16:43:57.974008+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"group_by\":[{\"facet\":\"service\"}],\"data_source\":\"logs_pattern_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":8006246428423069}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "1801ad50-1039-6a56-0c73-26436f1fdf75" + "id": "2ecc643f-7f75-5f9e-658a-444b0ceeac5d" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/vqp-zrn-fki", + "path": "/api/v1/dashboard/xht-7tn-3si", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"vqp-zrn-fki\"}\n", + "body": "{\"deleted_dashboard_id\":\"xht-7tn-3si\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "2a265ffa-2882-d632-33bc-36b7e942dcda" + "id": "bbfead38-8fb4-1b5c-00db-66645caf7aa4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze index b93cde46076..9fc5626d3b5 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.freeze @@ -1 +1 @@ -2024-05-15T20:07:41.518Z \ No newline at end of file +2024-11-14T19:12:28.873Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.json index 04326a9e5e8..22bf1cd9533 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1715803661 with query table widget and storage parameter\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"},\"storage\":\"online_archives\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":50,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"type\":\"query_table\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"pps-yna-n2n\",\"title\":\"Test-Create_a_new_dashboard_with_logs_query_table_widget_and_storage_parameter-1715803661 with query table widget and storage parameter\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/pps-yna-n2n/test-createanewdashboardwithlogsquerytablewidgetandstorageparameter-1715803661-w\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"},\"storage\":\"online_archives\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":50,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"type\":\"query_table\"},\"id\":8781722139143844}],\"notify_list\":null,\"created_at\":\"2024-05-15T20:07:41.693500+00:00\",\"modified_at\":\"2024-05-15T20:07:41.693500+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "198968db-c407-af4c-a0aa-fe103f176e04" + "id": "6e2b5712-8dfc-852f-6734-bbbd054b1e58" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/pps-yna-n2n", + "path": "/api/v1/dashboard/cum-shp-mz2", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"pps-yna-n2n\"}\n", + "body": "{\"deleted_dashboard_id\":\"cum-shp-mz2\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "9c793732-a538-229a-88eb-136dd0c76833" + "id": "69bbc9fa-253f-08d5-bc3a-cc08fdfadfb3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze index 236115949d3..b400e730ba1 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.freeze @@ -1 +1 @@ -2022-09-22T15:06:54.976Z \ No newline at end of file +2024-11-14T19:12:29.695Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.json index 72b7a5e8f03..ef9aab44aa2 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1663859214 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"query_string\":\"\",\"storage\":\"hot\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"4w4-hsv-5rr\",\"title\":\"Test-Create_a_new_dashboard_with_logs_stream_list_stream_widget_and_storage_parameter-1663859214 with list_stream widget\",\"url\":\"/dashboard/4w4-hsv-5rr/test-createanewdashboardwithlogsstreamliststreamwidgetandstorageparameter-166385\",\"created_at\":\"2022-09-22T15:06:55.408450+00:00\",\"modified_at\":\"2022-09-22T15:06:55.408450+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"logs_stream\",\"storage\":\"hot\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":4554037011373131}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "8cdd894a-dfe5-b482-21a4-0a892aedc1a5" + "id": "040f7b07-e54d-e867-af1d-fcac77afa2c9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/4w4-hsv-5rr", + "path": "/api/v1/dashboard/u2y-5dh-mxx", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"4w4-hsv-5rr\"}\n", + "body": "{\"deleted_dashboard_id\":\"u2y-5dh-mxx\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "cb8fc333-c63c-3f94-6fdd-e3840f1c567a" + "id": "c26c3bd4-34e2-b0fb-c537-56524f162a55" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze index 58383d7a8be..0b7120dba79 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.freeze @@ -1 +1 @@ -2023-01-13T16:43:58.213Z \ No newline at end of file +2024-11-14T19:12:30.139Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.json index 16fe5ede0e3..fe03f70d90b 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1673628238 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"compute\":[{\"aggregation\":\"count\",\"facet\":\"service\"}],\"data_source\":\"logs_transaction_stream\",\"group_by\":[{\"facet\":\"service\"}],\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"89c-p48-tve\",\"title\":\"Test-Create_a_new_dashboard_with_logs_transaction_stream_list_stream_widget-1673628238 with list_stream widget\",\"url\":\"/dashboard/89c-p48-tve/test-createanewdashboardwithlogstransactionstreamliststreamwidget-1673628238-wit\",\"created_at\":\"2023-01-13T16:43:58.328143+00:00\",\"modified_at\":\"2023-01-13T16:43:58.328143+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"group_by\":[{\"facet\":\"service\"}],\"data_source\":\"logs_transaction_stream\",\"compute\":[{\"facet\":\"service\",\"aggregation\":\"count\"}]},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":4678220055282526}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "0e32f890-6d35-ded8-4dc1-1ebd34259baa" + "id": "c634d7a2-66c5-b3a4-7a19-4f26c0998dbc" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/89c-p48-tve", + "path": "/api/v1/dashboard/yp5-u4f-myz", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"89c-p48-tve\"}\n", + "body": "{\"deleted_dashboard_id\":\"yp5-u4f-myz\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a52655a8-8b43-743f-8aae-a794b1ffb0ee" + "id": "222ab516-c42e-0efb-e72d-52887d7382c2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.freeze index 7215ae962f4..19f51beab76 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:37.248Z \ No newline at end of file +2024-11-14T19:12:30.526Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.json index cafe301eca8..2d45b27b39f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget-1641430237\",\"widgets\":[{\"definition\":{\"color_preference\":\"text\",\"count\":50,\"display_format\":\"countsAndList\",\"hide_zero_counts\":true,\"query\":\"\",\"show_last_triggered\":false,\"sort\":\"status,asc\",\"start\":0,\"summary_type\":\"monitors\",\"type\":\"manage_status\"},\"layout\":{\"height\":25,\"width\":50,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"6zr-swm-ex4\",\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget-1641430237\",\"url\":\"/dashboard/6zr-swm-ex4/test-createanewdashboardwithmanagestatuswidget-1641430237\",\"created_at\":\"2022-01-06T00:50:37.426709+00:00\",\"modified_at\":\"2022-01-06T00:50:37.426709+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"count\":50,\"sort\":\"status,asc\",\"color_preference\":\"text\",\"hide_zero_counts\":true,\"start\":0,\"summary_type\":\"monitors\",\"show_last_triggered\":false,\"query\":\"\",\"display_format\":\"countsAndList\",\"type\":\"manage_status\"},\"layout\":{\"y\":0,\"width\":50,\"x\":0,\"height\":25},\"id\":1230468048601368}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"4gd-vwv-ksd\",\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget-1731611550\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/4gd-vwv-ksd/test-createanewdashboardwithmanagestatuswidget-1731611550\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"color_preference\":\"text\",\"count\":50,\"display_format\":\"countsAndList\",\"hide_zero_counts\":true,\"query\":\"\",\"show_last_triggered\":false,\"sort\":\"status,asc\",\"start\":0,\"summary_type\":\"monitors\",\"type\":\"manage_status\"},\"layout\":{\"height\":25,\"width\":50,\"x\":0,\"y\":0},\"id\":7726390517396795}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:30.649609+00:00\",\"modified_at\":\"2024-11-14T19:12:30.649609+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "102ef7b2-32be-e3ad-9a33-603eabfd21bd" + "id": "0f8d3f80-61f1-9157-01d1-db8241bf1af7" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/6zr-swm-ex4", + "path": "/api/v1/dashboard/4gd-vwv-ksd", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"6zr-swm-ex4\"}", + "body": "{\"deleted_dashboard_id\":\"4gd-vwv-ksd\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "30c4d812-b1c5-7822-b981-5fbfac2b49a4" + "id": "782e9fbf-1453-fa60-b626-4913bf94ede5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze index d4c93114e5d..d693baaa3d1 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.freeze @@ -1 +1 @@ -2022-08-12T17:10:43.185Z \ No newline at end of file +2024-11-14T19:12:30.924Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.json index 4824549b47a..a7bd2126504 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1660324243\",\"widgets\":[{\"definition\":{\"color_preference\":\"text\",\"count\":50,\"display_format\":\"countsAndList\",\"hide_zero_counts\":true,\"query\":\"\",\"show_last_triggered\":false,\"show_priority\":false,\"sort\":\"priority,asc\",\"start\":0,\"summary_type\":\"monitors\",\"type\":\"manage_status\"},\"layout\":{\"height\":25,\"width\":50,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"a28-2ea-xeq\",\"title\":\"Test-Create_a_new_dashboard_with_manage_status_widget_and_show_priority_parameter-1660324243\",\"url\":\"/dashboard/a28-2ea-xeq/test-createanewdashboardwithmanagestatuswidgetandshowpriorityparameter-166032424\",\"created_at\":\"2022-08-12T17:10:43.357911+00:00\",\"modified_at\":\"2022-08-12T17:10:43.357911+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"count\":50,\"sort\":\"priority,asc\",\"color_preference\":\"text\",\"show_priority\":false,\"hide_zero_counts\":true,\"start\":0,\"summary_type\":\"monitors\",\"show_last_triggered\":false,\"query\":\"\",\"display_format\":\"countsAndList\",\"type\":\"manage_status\"},\"layout\":{\"y\":0,\"width\":50,\"x\":0,\"height\":25},\"id\":559045226435119}],\"layout_type\":\"free\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "32cea16d-b709-5b87-71ea-b188a84321a2" + "id": "ba72895a-fb3a-034d-e6a6-e0f3486a8aa0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/a28-2ea-xeq", + "path": "/api/v1/dashboard/gx6-rx5-pm6", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"a28-2ea-xeq\"}\n", + "body": "{\"deleted_dashboard_id\":\"gx6-rx5-pm6\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ce0851bf-d32a-5148-784c-46a65cb4de01" + "id": "2a38b417-e2c3-d6c4-1ea9-cc8168412d68" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.freeze index 24a3b19ea35..898d8d7b94d 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:37.700Z \ No newline at end of file +2024-11-14T19:12:31.278Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.json index e0b52e84f1b..79d34232392 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_note_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_note_widget-1641430237\",\"widgets\":[{\"definition\":{\"content\":\"# Example Note\",\"type\":\"note\"},\"layout\":{\"height\":24,\"width\":18,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"67s-sdf-cr7\",\"title\":\"Test-Create_a_new_dashboard_with_note_widget-1641430237\",\"url\":\"/dashboard/67s-sdf-cr7/test-createanewdashboardwithnotewidget-1641430237\",\"created_at\":\"2022-01-06T00:50:37.865600+00:00\",\"modified_at\":\"2022-01-06T00:50:37.865600+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"content\":\"# Example Note\",\"type\":\"note\"},\"layout\":{\"y\":0,\"width\":18,\"x\":0,\"height\":24},\"id\":2976451902581497}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"tsm-3qy-my2\",\"title\":\"Test-Create_a_new_dashboard_with_note_widget-1731611551\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/tsm-3qy-my2/test-createanewdashboardwithnotewidget-1731611551\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"content\":\"# Example Note\",\"type\":\"note\"},\"layout\":{\"height\":24,\"width\":18,\"x\":0,\"y\":0},\"id\":1906638315550440}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:31.403064+00:00\",\"modified_at\":\"2024-11-14T19:12:31.403064+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "a79586da-df45-3bdc-2b25-79ba917d8587" + "id": "e805f242-e952-c8b5-169f-511c364eaa3a" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/67s-sdf-cr7", + "path": "/api/v1/dashboard/tsm-3qy-my2", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"67s-sdf-cr7\"}", + "body": "{\"deleted_dashboard_id\":\"tsm-3qy-my2\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e2792114-f354-e627-cd2b-1acf2887e022" + "id": "0c4fbc0b-ce6a-8541-8c64-acfc203e2dad" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.freeze index 71c5a021e9d..99a183cc100 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.freeze @@ -1 +1 @@ -2023-10-24T18:32:08.933Z \ No newline at end of file +2024-11-14T19:12:31.697Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.json index 0666ffd600f..85520e752c8 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_powerpack_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"}}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"name\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328\",\"tags\":[\"tag:sample\"],\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}]},\"type\":\"powerpack\"}}" + "json": "{\"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\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"powerpack\",\"id\":\"a3e591c8-729b-11ee-bde6-da7ad0900002\",\"attributes\":{\"name\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328\",\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"},\"id\":1041433464205113}]},\"layout\":{\"height\":3,\"width\":12,\"x\":0,\"y\":0},\"live_span\":\"1h\"},\"template_variables\":[{\"defaults\":[\"*\"],\"name\":\"sample\"}],\"tags\":[\"tag:sample\"]},\"relationships\":{\"author\":{\"data\":{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}},\"included\":[{\"type\":\"users\",\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"attributes\":{\"name\":\"CI Account\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"}}]}\n", + "body": "{\"data\":{\"type\":\"powerpack\",\"id\":\"65d67c88-a2bc-11ef-8891-da7ad0900002\",\"attributes\":{\"name\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1731611551\",\"description\":\"Sample powerpack\",\"group_widget\":{\"definition\":{\"layout_type\":\"ordered\",\"show_title\":true,\"title\":\"Sample Powerpack\",\"type\":\"group\",\"widgets\":[{\"definition\":{\"content\":\"test\",\"type\":\"note\"},\"id\":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\"}}]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "ff463c5a-6666-7d63-df23-f35e81c1badd" + "id": "501df9ce-5818-14a8-bcf7-51c04b3f2383" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"description\",\"is_read_only\":false,\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328 with powerpack widget\",\"widgets\":[{\"definition\":{\"powerpack_id\":\"a3e591c8-729b-11ee-bde6-da7ad0900002\",\"template_variables\":{\"controlled_by_powerpack\":[{\"name\":\"foo\",\"prefix\":\"bar\",\"values\":[\"baz\",\"qux\",\"quuz\"]}],\"controlled_externally\":[]},\"type\":\"powerpack\"},\"layout\":{\"height\":2,\"is_column_break\":false,\"width\":2,\"x\":1,\"y\":1}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"u4a-itq-xia\",\"title\":\"Test-Create_a_new_dashboard_with_powerpack_widget-1698172328 with powerpack widget\",\"description\":\"description\",\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/u4a-itq-xia/test-createanewdashboardwithpowerpackwidget-1698172328-with-powerpack-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"powerpack_id\":\"a3e591c8-729b-11ee-bde6-da7ad0900002\",\"template_variables\":{\"controlled_by_powerpack\":[{\"name\":\"foo\",\"prefix\":\"bar\",\"values\":[\"baz\",\"qux\",\"quuz\"]}],\"controlled_externally\":[]},\"type\":\"powerpack\"},\"layout\":{\"height\":2,\"is_column_break\":false,\"width\":2,\"x\":1,\"y\":1},\"id\":1423357855337541}],\"notify_list\":null,\"created_at\":\"2023-10-24T18:32:09.719784+00:00\",\"modified_at\":\"2023-10-24T18:32:09.719784+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "a6a4cc34-3ee1-cd5b-166d-5792a9ef6b5f" + "id": "42522787-2a69-e069-1b1a-934a947dadd4" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/u4a-itq-xia", + "path": "/api/v1/dashboard/268-7rr-dpj", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"u4a-itq-xia\"}\n", + "body": "{\"deleted_dashboard_id\":\"268-7rr-dpj\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,13 +83,13 @@ "timeToLive": { "unlimited": true }, - "id": "f426c693-0cfa-8090-96dd-c44ac24cb5ce" + "id": "47c9d927-5c22-dec6-b027-9d5898375d95" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/powerpacks/a3e591c8-729b-11ee-bde6-da7ad0900002", + "path": "/api/v2/powerpacks/65d67c88-a2bc-11ef-8891-da7ad0900002", "keepAlive": false, "secure": true }, @@ -108,6 +108,6 @@ "timeToLive": { "unlimited": true }, - "id": "1deff91f-bcfe-0bca-1014-fb15c070e7ac" + "id": "270e4c3f-3086-ca21-4137-47fb768be977" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.freeze index 12f16776248..54a8d2043df 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.freeze @@ -1 +1 @@ -2024-05-15T20:07:41.983Z \ No newline at end of file +2024-11-14T19:12:32.628Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.json index 375eb8c1b48..6e075479de4 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget-1715803661\",\"widgets\":[{\"definition\":{\"has_search_bar\":\"auto\",\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {host}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":500,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":32,\"width\":54,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"gau-v5i-xn9\",\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget-1715803661\",\"description\":\"\",\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/gau-v5i-xn9/test-createanewdashboardwithquerytablewidget-1715803661\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"has_search_bar\":\"auto\",\"requests\":[{\"formulas\":[{\"cell_display_mode\":\"bar\",\"conditional_formats\":[],\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {host}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":500,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":32,\"width\":54,\"x\":0,\"y\":0},\"id\":2055060354863184}],\"notify_list\":[],\"created_at\":\"2024-05-15T20:07:42.157797+00:00\",\"modified_at\":\"2024-05-15T20:07:42.157797+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "f4dbcf2f-7022-ee12-08e6-c06ff5f4aa0e" + "id": "2b20b709-11c7-fc8a-547b-c869c96e1b5c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/gau-v5i-xn9", + "path": "/api/v1/dashboard/vx3-uy4-r8e", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"gau-v5i-xn9\"}\n", + "body": "{\"deleted_dashboard_id\":\"vx3-uy4-r8e\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a380472e-3be5-8c97-3da9-564a952486c9" + "id": "a09292b9-e539-2dc1-8d99-12c27af13196" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze index 8c1436deff0..c49849aab5a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.freeze @@ -1 +1 @@ -2024-09-11T14:33:18.508Z \ No newline at end of file +2024-11-14T19:12:33.073Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.json index 9bde30909b3..980796602c6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_table_widget_and_text_formatting.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1726065198\",\"widgets\":[{\"definition\":{\"has_search_bar\":\"never\",\"requests\":[{\"formulas\":[],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}\"}],\"response_format\":\"scalar\",\"text_formats\":[[{\"match\":{\"type\":\"is\",\"value\":\"fruit\"},\"palette\":\"white_on_red\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}},{\"custom_bg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_bg\"},{\"match\":{\"type\":\"is\",\"value\":\"robot\"},\"palette\":\"red_on_white\"},{\"match\":{\"type\":\"is\",\"value\":\"ai\"},\"palette\":\"yellow_on_white\"}],[{\"match\":{\"type\":\"is_not\",\"value\":\"xyz\"},\"palette\":\"white_on_yellow\"}],[{\"match\":{\"type\":\"contains\",\"value\":\"test\"},\"palette\":\"white_on_green\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}}],[{\"match\":{\"type\":\"does_not_contain\",\"value\":\"blah\"},\"palette\":\"black_on_light_red\"}],[{\"match\":{\"type\":\"starts_with\",\"value\":\"abc\"},\"palette\":\"black_on_light_yellow\"}],[{\"match\":{\"type\":\"ends_with\",\"value\":\"xyz\"},\"palette\":\"black_on_light_green\"},{\"match\":{\"type\":\"ends_with\",\"value\":\"zzz\"},\"palette\":\"green_on_white\"},{\"custom_fg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_text\"}]]}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"462-puf-hkg\",\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1726065198\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/462-puf-hkg/test-createanewdashboardwithquerytablewidgetandtextformatting-1726065198\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"has_search_bar\":\"never\",\"requests\":[{\"formulas\":[],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}\"}],\"response_format\":\"scalar\",\"text_formats\":[[{\"match\":{\"type\":\"is\",\"value\":\"fruit\"},\"palette\":\"white_on_red\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}},{\"custom_bg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_bg\"},{\"match\":{\"type\":\"is\",\"value\":\"robot\"},\"palette\":\"red_on_white\"},{\"match\":{\"type\":\"is\",\"value\":\"ai\"},\"palette\":\"yellow_on_white\"}],[{\"match\":{\"type\":\"is_not\",\"value\":\"xyz\"},\"palette\":\"white_on_yellow\"}],[{\"match\":{\"type\":\"contains\",\"value\":\"test\"},\"palette\":\"white_on_green\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}}],[{\"match\":{\"type\":\"does_not_contain\",\"value\":\"blah\"},\"palette\":\"black_on_light_red\"}],[{\"match\":{\"type\":\"starts_with\",\"value\":\"abc\"},\"palette\":\"black_on_light_yellow\"}],[{\"match\":{\"type\":\"ends_with\",\"value\":\"xyz\"},\"palette\":\"black_on_light_green\"},{\"match\":{\"type\":\"ends_with\",\"value\":\"zzz\"},\"palette\":\"green_on_white\"},{\"custom_fg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_text\"}]]}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":3373154044387493}],\"notify_list\":[],\"created_at\":\"2024-09-11T14:33:18.843540+00:00\",\"modified_at\":\"2024-09-11T14:33:18.843540+00:00\",\"experience_type\":\"default\",\"restricted_roles\":[]}\n", + "body": "{\"id\":\"cj4-7yg-224\",\"title\":\"Test-Create_a_new_dashboard_with_query_table_widget_and_text_formatting-1731611553\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/cj4-7yg-224/test-createanewdashboardwithquerytablewidgetandtextformatting-1731611553\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"has_search_bar\":\"never\",\"requests\":[{\"formulas\":[],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_in{*} by {aws_account,acceleratoripaddress}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:aws.stream.globalaccelerator.processed_bytes_out{*} by {aws_account,acceleratoripaddress}\"}],\"response_format\":\"scalar\",\"text_formats\":[[{\"match\":{\"type\":\"is\",\"value\":\"fruit\"},\"palette\":\"white_on_red\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}},{\"custom_bg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_bg\"},{\"match\":{\"type\":\"is\",\"value\":\"robot\"},\"palette\":\"red_on_white\"},{\"match\":{\"type\":\"is\",\"value\":\"ai\"},\"palette\":\"yellow_on_white\"}],[{\"match\":{\"type\":\"is_not\",\"value\":\"xyz\"},\"palette\":\"white_on_yellow\"}],[{\"match\":{\"type\":\"contains\",\"value\":\"test\"},\"palette\":\"white_on_green\",\"replace\":{\"type\":\"all\",\"with\":\"vegetable\"}}],[{\"match\":{\"type\":\"does_not_contain\",\"value\":\"blah\"},\"palette\":\"black_on_light_red\"}],[{\"match\":{\"type\":\"starts_with\",\"value\":\"abc\"},\"palette\":\"black_on_light_yellow\"}],[{\"match\":{\"type\":\"ends_with\",\"value\":\"xyz\"},\"palette\":\"black_on_light_green\"},{\"match\":{\"type\":\"ends_with\",\"value\":\"zzz\"},\"palette\":\"green_on_white\"},{\"custom_fg_color\":\"#632ca6\",\"match\":{\"type\":\"is\",\"value\":\"animal\"},\"palette\":\"custom_text\"}]]}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "02f6ca41-db98-eb0c-896c-7f7a603e4ebf" + "id": "96c12700-0734-5bac-9691-38960d3d71f4" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/462-puf-hkg", + "path": "/api/v1/dashboard/cj4-7yg-224", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"462-puf-hkg\"}\n", + "body": "{\"deleted_dashboard_id\":\"cj4-7yg-224\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "d906322d-fa46-6921-e909-a3fdca54c1cd" + "id": "f7decb80-b56a-1e6c-4a67-30552774091d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.freeze index 9e1468a4998..1081b6aceaa 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:38.650Z \ No newline at end of file +2024-11-14T19:12:33.522Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.json index e8b40ab6bcc..99d5ccf7e57 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_query_value_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_query_value_widget-1641430238\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"y4a-dqu-ifi\",\"title\":\"Test-Create_a_new_dashboard_with_query_value_widget-1641430238\",\"url\":\"/dashboard/y4a-dqu-ifi/test-createanewdashboardwithqueryvaluewidget-1641430238\",\"created_at\":\"2022-01-06T00:50:38.839043+00:00\",\"modified_at\":\"2022-01-06T00:50:38.839043+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"autoscale\":true,\"title\":\"\",\"title_align\":\"left\",\"precision\":2,\"time\":{},\"title_size\":\"16\",\"requests\":[{\"response_format\":\"scalar\",\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}]}],\"type\":\"query_value\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":6979331889627275}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"s4k-uc2-3r7\",\"title\":\"Test-Create_a_new_dashboard_with_query_value_widget-1731611553\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/s4k-uc2-3r7/test-createanewdashboardwithqueryvaluewidget-1731611553\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"autoscale\":true,\"precision\":2,\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_value\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":8754978144956095}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:33.695545+00:00\",\"modified_at\":\"2024-11-14T19:12:33.695545+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "9a293418-3092-0523-004a-9273879bc390" + "id": "ffe79491-6859-024e-b708-27ca053184a8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/y4a-dqu-ifi", + "path": "/api/v1/dashboard/s4k-uc2-3r7", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"y4a-dqu-ifi\"}", + "body": "{\"deleted_dashboard_id\":\"s4k-uc2-3r7\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "99ff9d37-d687-6718-978e-50d2610d6293" + "id": "ce715c16-d178-9ed2-bba2-b8e9393c12b4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze index 07701c9a4e6..6cb23c5c2f2 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.freeze @@ -1 +1 @@ -2022-04-05T17:19:05.343Z \ No newline at end of file +2024-11-14T19:12:33.950Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.json index 6c48fb5cd57..f043494ac86 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1649179145 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"rum_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"847-9hf-ftb\",\"title\":\"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1649179145 with list_stream widget\",\"url\":\"/dashboard/847-9hf-ftb/test-createanewdashboardwithrumissuestreamliststreamwidget-1649179145-with-lists\",\"created_at\":\"2022-04-05T17:19:05.444942+00:00\",\"modified_at\":\"2022-04-05T17:19:05.444942+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"rum_issue_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":7299581017937461}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"cg8-yhk-bw6\",\"title\":\"Test-Create_a_new_dashboard_with_rum_issue_stream_list_stream_widget-1731611553 with list_stream widget\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/cg8-yhk-bw6/test-createanewdashboardwithrumissuestreamliststreamwidget-1731611553-with-lists\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"rum_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":4087077140268311}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:34.322600+00:00\",\"modified_at\":\"2024-11-14T19:12:34.322600+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "aad89b15-df9a-871d-a3c7-b9382fb80e6f" + "id": "ac572efa-1947-e6f3-0414-8f4f9b8a55eb" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/847-9hf-ftb", + "path": "/api/v1/dashboard/cg8-yhk-bw6", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"847-9hf-ftb\"}", + "body": "{\"deleted_dashboard_id\":\"cg8-yhk-bw6\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "888a549c-a4a0-8ec6-52a3-8b0feaa755fa" + "id": "f17c9434-15be-eb91-51c8-f8c0b30ff79d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.freeze index 0442a1a3c88..fc57fa46c21 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.freeze @@ -1 +1 @@ -2023-01-26T10:05:59.820Z \ No newline at end of file +2024-11-14T19:12:34.656Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.json index a1d55eaa2cc..7d8f7618adf 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_run_workflow_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_run_workflow_widget-1674727559\",\"widgets\":[{\"definition\":{\"inputs\":[{\"name\":\"environment\",\"value\":\"$env.value\"}],\"time\":{},\"title\":\"Run workflow title\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"run_workflow\",\"workflow_id\":\"2e055f16-8b6a-4cdd-b452-17a34c44b160\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"pnw-fkv-n4x\",\"title\":\"Test-Create_a_new_dashboard_with_run_workflow_widget-1674727559\",\"url\":\"/dashboard/pnw-fkv-n4x/test-createanewdashboardwithrunworkflowwidget-1674727559\",\"created_at\":\"2023-01-26T10:06:00.011221+00:00\",\"modified_at\":\"2023-01-26T10:06:00.011221+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"inputs\":[{\"name\":\"environment\",\"value\":\"$env.value\"}],\"title_size\":\"16\",\"title\":\"Run workflow title\",\"title_align\":\"left\",\"workflow_id\":\"2e055f16-8b6a-4cdd-b452-17a34c44b160\",\"time\":{},\"type\":\"run_workflow\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":737363147915504}],\"layout_type\":\"free\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "63ea9339-f306-c898-2e55-73e594284b56" + "id": "f3f6e0fd-6dd7-d1c2-bfc2-f0abce0debef" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/pnw-fkv-n4x", + "path": "/api/v1/dashboard/7jz-n57-595", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"pnw-fkv-n4x\"}\n", + "body": "{\"deleted_dashboard_id\":\"7jz-n57-595\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "c613c575-a303-fb2c-3518-f92eb15308a0" + "id": "bb32194f-322e-7c01-b1ef-cd3d3aa3bdea" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.freeze index ceb2532c321..bbe1ad83de6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:39.140Z \ No newline at end of file +2024-11-14T19:12:35.019Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.json index 598baf1c40e..21a5e23b01b 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_scatterplot_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_scatterplot_widget-1641430239\",\"widgets\":[{\"definition\":{\"color_by_groups\":[],\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\"}},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"scatterplot\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"kif-ema-sua\",\"title\":\"Test-Create_a_new_dashboard_with_scatterplot_widget-1641430239\",\"url\":\"/dashboard/kif-ema-sua/test-createanewdashboardwithscatterplotwidget-1641430239\",\"created_at\":\"2022-01-06T00:50:39.358282+00:00\",\"modified_at\":\"2022-01-06T00:50:39.358282+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"yaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"title_align\":\"left\",\"color_by_groups\":[],\"xaxis\":{\"include_zero\":true,\"scale\":\"linear\",\"min\":\"auto\",\"max\":\"auto\"},\"time\":{},\"title\":\"\",\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"response_format\":\"scalar\",\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}]}},\"type\":\"scatterplot\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":1267307721120974}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"s9j-nm3-tvr\",\"title\":\"Test-Create_a_new_dashboard_with_scatterplot_widget-1731611555\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/s9j-nm3-tvr/test-createanewdashboardwithscatterplotwidget-1731611555\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"color_by_groups\":[],\"requests\":{\"table\":{\"formulas\":[{\"alias\":\"\",\"dimension\":\"x\",\"formula\":\"query1\"},{\"alias\":\"\",\"dimension\":\"y\",\"formula\":\"query2\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"},{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query2\",\"query\":\"avg:system.mem.used{*} by {service}\"}],\"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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d9482507-5818-7dc4-01b9-470ea915e898" + "id": "03bb0b0d-f277-e2d0-a7d4-52089ea6b376" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/kif-ema-sua", + "path": "/api/v1/dashboard/s9j-nm3-tvr", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"kif-ema-sua\"}", + "body": "{\"deleted_dashboard_id\":\"s9j-nm3-tvr\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e3efdaa9-ab64-11e3-d478-57dbdd022d7f" + "id": "8436a682-1a24-8126-c5da-7e4bebe17722" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.freeze index 5ff4c9fa55f..175deba2339 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:39.664Z \ No newline at end of file +2024-11-14T19:12:35.598Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.json index d5038ed0549..577339eef0c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_servicemap_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_servicemap_widget-1641430239\",\"widgets\":[{\"definition\":{\"filters\":[\"env:none\",\"environment:*\"],\"service\":\"\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"servicemap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"9b3-emh-qe4\",\"title\":\"Test-Create_a_new_dashboard_with_servicemap_widget-1641430239\",\"url\":\"/dashboard/9b3-emh-qe4/test-createanewdashboardwithservicemapwidget-1641430239\",\"created_at\":\"2022-01-06T00:50:39.841716+00:00\",\"modified_at\":\"2022-01-06T00:50:39.841716+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"title_size\":\"16\",\"service\":\"\",\"title\":\"\",\"title_align\":\"left\",\"filters\":[\"env:none\",\"environment:*\"],\"type\":\"servicemap\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":2823265998914096}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"g7c-rdn-m36\",\"title\":\"Test-Create_a_new_dashboard_with_servicemap_widget-1731611555\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/g7c-rdn-m36/test-createanewdashboardwithservicemapwidget-1731611555\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"filters\":[\"env:none\",\"environment:*\"],\"service\":\"\",\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"servicemap\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":4603681015487781}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:35.752272+00:00\",\"modified_at\":\"2024-11-14T19:12:35.752272+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "a9c50f08-1667-a43b-3eb6-047c622365b5" + "id": "b82b2ec1-7f61-e933-e275-d5b9025e51ff" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/9b3-emh-qe4", + "path": "/api/v1/dashboard/g7c-rdn-m36", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"9b3-emh-qe4\"}", + "body": "{\"deleted_dashboard_id\":\"g7c-rdn-m36\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "b2ba7322-77df-cea1-e25f-f56289aabbf3" + "id": "852d05db-b8ec-904d-3cbc-8730ad4920f2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.freeze index 3175b16b31e..4f102fc766b 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.freeze @@ -1 +1 @@ -2022-09-21T14:58:35.783Z \ No newline at end of file +2024-11-14T19:12:36.037Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.json index 50e67c66f7c..a91870e2775 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"name\": \"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315\", \"query\": {\"denominator\": \"sum:httpservice.hits{!code:3xx}.as_count()\", \"numerator\": \"sum:httpservice.hits{code:2xx}.as_count()\"}, \"thresholds\": [{\"target\": 95.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" + "json": "{\"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.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"description\":\"\",\"monitor_tags\":[],\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null,\"email\":\"frog@datadoghq.com\"},\"thresholds\":[{\"warning\":98.0,\"warning_display\":\"98.\",\"target\":95.0,\"target_display\":\"95.\",\"timeframe\":\"7d\"}],\"type_id\":1,\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"id\":\"7f88381afe5f5c1e987664e7057253fd\",\"name\":\"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315\",\"created_at\":1663772316,\"tags\":[],\"modified_at\":1663772316,\"type\":\"metric\"}],\"error\":null}\n", + "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}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "2839d3d9-d3c5-7889-cd6e-ee6bb561bac8" + "id": "482f5535-2239-5a5a-ebbd-1b7efb1ba6e0" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"limit\":75,\"query_string\":\"env:prod AND service:my-app\"},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo_list\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"xf3-y64-ib5\",\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget-1663772315\",\"url\":\"/dashboard/xf3-y64-ib5/test-createanewdashboardwithslolistwidget-1663772315\",\"created_at\":\"2022-09-21T14:58:36.648616+00:00\",\"modified_at\":\"2022-09-21T14:58:36.648616+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"slo_list\",\"requests\":[{\"query\":{\"query_string\":\"env:prod AND service:my-app\",\"limit\":75},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\"},\"layout\":{\"y\":0,\"width\":60,\"x\":0,\"height\":21},\"id\":434825034616209}],\"layout_type\":\"free\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "634c497c-a941-24af-5294-8714b215b0ee" + "id": "28af8c64-0977-94c4-a99b-e202a4d8993f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/xf3-y64-ib5", + "path": "/api/v1/dashboard/iwm-46e-6pb", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"xf3-y64-ib5\"}\n", + "body": "{\"deleted_dashboard_id\":\"iwm-46e-6pb\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "f2ac0c6b-c928-15ab-8c0a-6d864b5178f8" + "id": "96d8fa83-5fe6-c86f-1bcf-067735df2794" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/slo/7f88381afe5f5c1e987664e7057253fd", + "path": "/api/v1/slo/883996caaca65291adf88e32705cbe67", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[\"7f88381afe5f5c1e987664e7057253fd\"],\"error\":null}\n", + "body": "{\"data\":[\"883996caaca65291adf88e32705cbe67\"],\"error\":null}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "3ba0b158-cb47-23a3-e05d-3ffaa6afb990" + "id": "7790e6bd-3ecc-8644-863a-cecb3794e2ce" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze index cc4a9a55b1b..916fb6b70c6 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.freeze @@ -1 +1 @@ -2023-02-14T18:54:56.599Z \ No newline at end of file +2024-11-14T19:12:36.994Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.json index 7b76a0d608a..de309bce135 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_list_widget_with_sort.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"name\": \"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896\", \"query\": {\"denominator\": \"sum:httpservice.hits{!code:3xx}.as_count()\", \"numerator\": \"sum:httpservice.hits{code:2xx}.as_count()\"}, \"thresholds\": [{\"target\": 95.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" + "json": "{\"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.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"80091437d0165587a0831040981e44f9\",\"name\":\"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896\",\"tags\":[],\"monitor_tags\":[],\"thresholds\":[{\"timeframe\":\"7d\",\"target\":95.0,\"target_display\":\"95.\",\"warning\":98.0,\"warning_display\":\"98.\"}],\"type\":\"metric\",\"type_id\":1,\"description\":\"\",\"timeframe\":\"7d\",\"warning_threshold\":98,\"target_threshold\":95,\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"created_at\":1676400896,\"modified_at\":1676400896}],\"error\":null}\n", + "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}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "a4b727ac-685f-572b-a6bb-a942086c5af1" + "id": "8ff34090-1e5b-0291-11e5-d4cd94dc4e49" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"limit\":75,\"query_string\":\"env:prod AND service:my-app\",\"sort\":[{\"column\":\"status.sli\",\"order\":\"asc\"}]},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo_list\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"6hq-ih3-tzg\",\"title\":\"Test-Create_a_new_dashboard_with_slo_list_widget_with_sort-1676400896\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/6hq-ih3-tzg/test-createanewdashboardwithslolistwidgetwithsort-1676400896\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"limit\":75,\"query_string\":\"env:prod AND service:my-app\",\"sort\":[{\"column\":\"status.sli\",\"order\":\"asc\"}]},\"request_type\":\"slo_list\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo_list\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0},\"id\":1642439378480719}],\"notify_list\":[],\"created_at\":\"2023-02-14T18:54:57.012649+00:00\",\"modified_at\":\"2023-02-14T18:54:57.012649+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "5e4765b1-7db4-34d7-ffd5-5d5a84dc0226" + "id": "3568cfff-236a-ecbe-d878-29c9163df73b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/6hq-ih3-tzg", + "path": "/api/v1/dashboard/8dz-sjg-vcn", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"6hq-ih3-tzg\"}\n", + "body": "{\"deleted_dashboard_id\":\"8dz-sjg-vcn\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "60e194a3-d250-c7f4-28af-022b3e6e2b1b" + "id": "6667aa99-ccfc-4768-36e1-f487680d905d" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/slo/80091437d0165587a0831040981e44f9", + "path": "/api/v1/slo/beb306f6ef6a51398811e8d638e443d9", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[\"80091437d0165587a0831040981e44f9\"],\"error\":null}\n", + "body": "{\"data\":[\"beb306f6ef6a51398811e8d638e443d9\"],\"error\":null}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "518d8195-1afd-7898-1f3f-e895abd3f819" + "id": "301fd99f-aeb6-6524-f8b5-715b68f4a585" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.freeze index 422ceb22087..af7a5bfbb64 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.freeze @@ -1 +1 @@ -2023-05-01T17:17:36.249Z \ No newline at end of file +2024-11-14T19:12:37.759Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.json index 120ff02bdec..5307eb429c0 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_slo_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"name\": \"Test-Create_a_new_dashboard_with_slo_widget-1682961456\", \"query\": {\"denominator\": \"sum:httpservice.hits{!code:3xx}.as_count()\", \"numerator\": \"sum:httpservice.hits{code:2xx}.as_count()\"}, \"thresholds\": [{\"target\": 95.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" + "json": "{\"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.0, \"timeframe\": \"7d\", \"warning\": 98.0}], \"type\": \"metric\"}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"91c07f67612e5483b52e566f81ef101c\",\"name\":\"Test-Create_a_new_dashboard_with_slo_widget-1682961456\",\"tags\":[],\"monitor_tags\":[],\"thresholds\":[{\"timeframe\":\"7d\",\"target\":95.0,\"target_display\":\"95.\",\"warning\":98.0,\"warning_display\":\"98.\"}],\"type\":\"metric\",\"type_id\":1,\"description\":\"\",\"timeframe\":\"7d\",\"warning_threshold\":98,\"target_threshold\":95,\"query\":{\"denominator\":\"sum:httpservice.hits{!code:3xx}.as_count()\",\"numerator\":\"sum:httpservice.hits{code:2xx}.as_count()\"},\"creator\":{\"name\":null,\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"created_at\":1682961456,\"modified_at\":1682961456}],\"error\":null}\n", + "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}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "c24624df-97ba-fa49-ff8f-d6666103cd35" + "id": "10d70912-7c8c-f1ff-b27c-c55efd2127f8" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_slo_widget-1682961456\",\"widgets\":[{\"definition\":{\"additional_query_filters\":\"!host:excluded_host\",\"global_time_target\":\"0\",\"show_error_budget\":true,\"slo_id\":\"91c07f67612e5483b52e566f81ef101c\",\"time_windows\":[\"7d\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo\",\"view_mode\":\"overall\",\"view_type\":\"detail\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"s2k-6ak-vwz\",\"title\":\"Test-Create_a_new_dashboard_with_slo_widget-1682961456\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"free\",\"url\":\"/dashboard/s2k-6ak-vwz/test-createanewdashboardwithslowidget-1682961456\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"additional_query_filters\":\"!host:excluded_host\",\"global_time_target\":\"0\",\"show_error_budget\":true,\"slo_id\":\"91c07f67612e5483b52e566f81ef101c\",\"time_windows\":[\"7d\"],\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"slo\",\"view_mode\":\"overall\",\"view_type\":\"detail\"},\"layout\":{\"height\":21,\"width\":60,\"x\":0,\"y\":0},\"id\":5115893324048055}],\"notify_list\":[],\"created_at\":\"2023-05-01T17:17:36.970593+00:00\",\"modified_at\":\"2023-05-01T17:17:36.970593+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "2fe18e53-ff2f-81c9-9c23-8af6670191cc" + "id": "85df7e46-f528-8afb-3e8d-3ab0f13f7b41" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/s2k-6ak-vwz", + "path": "/api/v1/dashboard/xaz-u6q-et4", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"s2k-6ak-vwz\"}\n", + "body": "{\"deleted_dashboard_id\":\"xaz-u6q-et4\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "8882dea9-e8e3-b4c3-b4b5-4c43d22e28a1" + "id": "41b98ab4-9da1-241d-eb6d-d50eae38723e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/slo/91c07f67612e5483b52e566f81ef101c", + "path": "/api/v1/slo/dd4731783bfb5c97b01e19a5c3224429", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":[\"91c07f67612e5483b52e566f81ef101c\"],\"error\":null}\n", + "body": "{\"data\":[\"dd4731783bfb5c97b01e19a5c3224429\"],\"error\":null}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "8bcec8dc-e840-8e58-62e2-dd0519f24606" + "id": "666d2a65-c4a6-613c-5b17-b054ee5292ff" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.freeze index 6e7aa326def..f0705f03a6e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.freeze @@ -1 +1 @@ -2023-09-14T14:04:40.364Z \ No newline at end of file +2024-11-14T19:12:38.603Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.json index 42378970a05..f31897427be 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_split_graph_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_split_graph_widget-1694700280\",\"widgets\":[{\"definition\":{\"has_uniform_y_axes\":true,\"size\":\"md\",\"source_widget_definition\":{\"requests\":[{\"display_type\":\"line\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"split_config\":{\"limit\":24,\"sort\":{\"compute\":{\"aggregation\":\"sum\",\"metric\":\"system.cpu.user\"},\"order\":\"desc\"},\"split_dimensions\":[{\"one_graph_per\":\"service\"}],\"static_splits\":[[{\"tag_key\":\"service\",\"tag_values\":[\"cassandra\"]},{\"tag_key\":\"datacenter\",\"tag_values\":[]}],[{\"tag_key\":\"demo\",\"tag_values\":[\"env\"]}]]},\"title\":\"\",\"type\":\"split_group\"},\"layout\":{\"height\":8,\"width\":12,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"cjw-gqa-mgu\",\"title\":\"Test-Create_a_new_dashboard_with_split_graph_widget-1694700280\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/cjw-gqa-mgu/test-createanewdashboardwithsplitgraphwidget-1694700280\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"has_uniform_y_axes\":true,\"size\":\"md\",\"source_widget_definition\":{\"requests\":[{\"display_type\":\"line\",\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"split_config\":{\"limit\":24,\"sort\":{\"compute\":{\"aggregation\":\"sum\",\"metric\":\"system.cpu.user\"},\"order\":\"desc\"},\"split_dimensions\":[{\"one_graph_per\":\"service\"}],\"static_splits\":[[{\"tag_key\":\"service\",\"tag_values\":[\"cassandra\"]},{\"tag_key\":\"datacenter\",\"tag_values\":[]}],[{\"tag_key\":\"demo\",\"tag_values\":[\"env\"]}]]},\"title\":\"\",\"type\":\"split_group\"},\"layout\":{\"height\":8,\"width\":12,\"x\":0,\"y\":0},\"id\":130983163053076}],\"notify_list\":[],\"created_at\":\"2023-09-14T14:04:40.913735+00:00\",\"modified_at\":\"2023-09-14T14:04:40.913735+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "ae0f6dac-800f-b32d-512a-582db208059f" + "id": "44a09868-07f1-3eb1-ae48-0d480e917904" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/cjw-gqa-mgu", + "path": "/api/v1/dashboard/482-izf-9gi", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"cjw-gqa-mgu\"}\n", + "body": "{\"deleted_dashboard_id\":\"482-izf-9gi\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "2d876bc7-a317-42ec-9662-a78134ae8e4f" + "id": "e2794797-df95-8e10-39df-706a88d504e3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze index 71716ff9e29..07d57eec7fd 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.freeze @@ -1 +1 @@ -2023-08-29T23:33:40.928Z \ No newline at end of file +2024-11-14T19:12:39.604Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.json index 202dc8df27d..8fefb109574 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_sunburst_widget_and_metrics_data.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1693352020\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"sum\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\",\"style\":{\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"sunburst\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"p9p-tab-wa7\",\"title\":\"Test-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data-1693352020\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/p9p-tab-wa7/test-createanewdashboardwithsunburstwidgetandmetricsdata-1693352020\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"sum\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"sum:system.mem.used{*} by {service}\"}],\"response_format\":\"scalar\",\"style\":{\"palette\":\"dog_classic\"}}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"sunburst\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":4956604535424180}],\"notify_list\":null,\"created_at\":\"2023-08-29T23:33:41.087237+00:00\",\"modified_at\":\"2023-08-29T23:33:41.087237+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "e1a5528e-e87d-7bbc-08b5-97553ee72255" + "id": "9291a9b9-fc58-8c7b-8a13-d24c429c7042" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/p9p-tab-wa7", + "path": "/api/v1/dashboard/w74-sg2-g2b", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"p9p-tab-wa7\"}\n", + "body": "{\"deleted_dashboard_id\":\"w74-sg2-g2b\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a33fa573-a9be-255f-d7d1-81f47fd79dd9" + "id": "813aed92-bf62-5240-ba4c-e17ab29a2205" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze index 1d5de377733..16d647ef7be 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-08T20:53:52.326Z \ No newline at end of file +2024-11-14T19:12:40.053Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.json index 6338b084389..13dd229a55a 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_team_tags_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"tags\":[\"team:foobar\"],\"title\":\"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1678308832\",\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"cvx-m2c-ntf\",\"title\":\"Test-Create_a_new_dashboard_with_team_tags_returns_OK_response-1678308832\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/cvx-m2c-ntf/test-createanewdashboardwithteamtagsreturnsokresponse-1678308832\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"change_type\":\"absolute\",\"compare_to\":\"hour_before\",\"formulas\":[{\"formula\":\"hour_before(query1)\"},{\"formula\":\"query1\"}],\"increase_good\":true,\"order_by\":\"change\",\"order_dir\":\"desc\",\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"logs\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"change\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":3494387223047491}],\"notify_list\":null,\"created_at\":\"2023-03-08T20:53:52.690739+00:00\",\"modified_at\":\"2023-03-08T20:53:52.690739+00:00\",\"tags\":[\"team:foobar\"],\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "0aa37866-6c06-aa7a-3960-6c8d0dd7cad7" + "id": "13480fcd-b030-e6ba-5b18-0a77e237b75b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/cvx-m2c-ntf", + "path": "/api/v1/dashboard/7r9-76m-7cg", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"cvx-m2c-ntf\"}\n", + "body": "{\"deleted_dashboard_id\":\"7r9-76m-7cg\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "366a001e-8e89-b50d-d636-4c67ea56664f" + "id": "a8da5358-dc0c-abaa-6db4-2c74eae9f0de" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze index 78f1b346754..67e2a075f6f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:48.540Z \ No newline at end of file +2024-11-14T19:12:40.459Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.json index 85022081aba..956cb7a34f3 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_and_default_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"default\":\"my-host\",\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" + "json": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"default\":\"my-host\",\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"'template_variables' is invalid\"]}\n", + "body": "{\"errors\":[\"'template_variables' is invalid\"]}", "headers": { "Content-Type": [ "application/json" @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "8588e1ea-2dac-d091-388b-5219856564c1" + "id": "fc0e0cf6-951e-4283-34e9-307b0eaada05" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze index 3c1ae32d5f6..9c512ec8ffe 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze @@ -1 +1 @@ -2023-02-16T21:39:58.391Z \ No newline at end of file +2024-11-14T19:12:40.550Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.json index 2ffd6cb0bb2..5836c7e2ad3 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" + "json": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"h5n-j24-t82\",\"title\":\"\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/h5n-j24-t82/\",\"is_read_only\":false,\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"},\"id\":355816329429238}],\"notify_list\":[],\"created_at\":\"2023-02-16T21:39:58.588908+00:00\",\"modified_at\":\"2023-02-16T21:39:58.588908+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "bc9e8ee1-e35d-a8c1-128d-a24e2d821943" + "id": "60491a6d-ae2a-5fa8-e5c4-f9723785fc32" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/h5n-j24-t82", + "path": "/api/v1/dashboard/yf6-dzr-q5c", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"h5n-j24-t82\"}\n", + "body": "{\"deleted_dashboard_id\":\"yf6-dzr-q5c\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "f882ba6e-8469-1c7a-bded-91c6659f9ce3" + "id": "428c52d4-616a-daf8-0be7-50fe4d478daf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze index 3c19cc01451..895b181b5cd 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:50.024Z \ No newline at end of file +2024-11-14T19:12:41.067Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.json index 50b3616bf60..1796cabfbea 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_defaults_whose_value_has_no_length_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" + "json": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"Minimum length of parameter 'defaults' should be 1\"]}\n", + "body": "{\"errors\":[\"Minimum length of parameter 'defaults' should be 1\"]}", "headers": { "Content-Type": [ "application/json" @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "46a0f6ac-2198-ca81-3563-f3642a435388" + "id": "3269d53b-9d85-b492-5233-11daa9cb9ca1" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze index 36fc26e21a7..d766055334c 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2022-09-14T15:56:53.597Z \ No newline at end of file +2024-11-14T19:12:41.157Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.json index 7228f1e83d7..44ac81838cb 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_and_value_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"value\":\"*\",\"values\":[\"*\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" + "json": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"value\":\"*\",\"values\":[\"*\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"'template_variables' value '{u'values': [u'*'], u'name': u'datacenter', u'value': u'*'}' is invalid\"]}", + "body": "{\"errors\":[\"'template_variables' value '{'name': 'datacenter', 'value': '*', 'values': ['*']}' is invalid\"]}", "headers": { "Content-Type": [ "application/json" @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "19c54e47-2621-b960-df98-4e9aacb783cc" + "id": "b650be71-04ec-33fc-2fc5-b5053e0e0033" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze index 25618da8e03..ead7a798e68 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze @@ -1 +1 @@ -2023-02-16T21:40:06.384Z \ No newline at end of file +2024-11-14T19:12:41.245Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.json index 3d34de9527c..cb723f68609 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[\"*\",\"my-host\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" + "json": "{\"description\":null,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[\"*\",\"my-host\"]}]}],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"y9d-w7h-s59\",\"title\":\"\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/y9d-w7h-s59/\",\"is_read_only\":false,\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"},\"id\":3953978643250660}],\"notify_list\":[],\"created_at\":\"2023-02-16T21:40:06.587858+00:00\",\"modified_at\":\"2023-02-16T21:40:06.587858+00:00\",\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[\"*\",\"my-host\"]}]}],\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "body": "{\"id\":\"aea-ma4-izr\",\"title\":\"\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/aea-ma4-izr/\",\"is_read_only\":false,\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"},\"id\":725916093061701}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:41.457782+00:00\",\"modified_at\":\"2024-11-14T19:12:41.457782+00:00\",\"template_variable_presets\":[{\"name\":\"my saved view\",\"template_variables\":[{\"name\":\"datacenter\",\"values\":[\"*\",\"my-host\"]}]}],\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "e28d6f47-3c55-8c5c-c922-157e7713ba63" + "id": "0051fa3d-8398-9bcb-d310-f2a22c31c195" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/y9d-w7h-s59", + "path": "/api/v1/dashboard/aea-ma4-izr", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"y9d-w7h-s59\"}\n", + "body": "{\"deleted_dashboard_id\":\"aea-ma4-izr\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ec44a405-f841-5d1d-35c1-652cce796d50" + "id": "b1063982-a1f5-d124-d852-91b87d6aa5fe" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze index 02b39fab616..294f8718a04 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.freeze @@ -1 +1 @@ -2022-12-13T17:13:10.406Z \ No newline at end of file +2024-11-14T19:12:41.727Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.json index 5871ec88e15..71b0e2d41b9 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1670951590 with formula style\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\",\"style\":{\"palette\":\"classic\",\"palette_index\":4}}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"styled timeseries\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"k2c-ici-a4c\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_and_formula_style_attributes-1670951590 with formula style\",\"url\":\"/dashboard/k2c-ici-a4c/test-createanewdashboardwithtimeserieswidgetandformulastyleattributes-1670951590\",\"created_at\":\"2022-12-13T17:13:10.630153+00:00\",\"modified_at\":\"2022-12-13T17:13:10.630153+00:00\",\"reflow_type\":\"auto\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"title\":\"styled timeseries\",\"legend_layout\":\"auto\",\"show_legend\":true,\"time\":{},\"requests\":[{\"formulas\":[{\"formula\":\"query1\",\"style\":{\"palette_index\":4,\"palette\":\"classic\"}}],\"style\":{\"line_width\":\"normal\",\"palette\":\"dog_classic\",\"line_type\":\"solid\"},\"display_type\":\"line\",\"response_format\":\"timeseries\",\"queries\":[{\"query\":\"avg:system.cpu.user{*}\",\"data_source\":\"metrics\",\"name\":\"query1\"}]}],\"type\":\"timeseries\"},\"id\":5980026334932933}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d9c31185-d1a2-48ed-6600-ec8889b2414a" + "id": "d2bb34df-b81c-047a-e305-056d05107607" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/k2c-ici-a4c", + "path": "/api/v1/dashboard/4pu-5hi-9ap", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"k2c-ici-a4c\"}\n", + "body": "{\"deleted_dashboard_id\":\"4pu-5hi-9ap\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e31c38ad-f67c-8de6-60bc-778a91bbe8bf" + "id": "32a27cb9-5e19-013a-3de1-36cd9e4c817e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze index e02cf8b5d2c..a0268693b71 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.freeze @@ -1 +1 @@ -2022-01-06T00:50:41.533Z \ No newline at end of file +2024-11-14T19:12:42.123Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.json index d211b2df93c..9d25120b214 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1641430241 with timeseries widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"on_right_yaxis\":false,\"q\":\"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"warm\"}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"asn-82x-2q5\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1641430241 with timeseries widget\",\"url\":\"/dashboard/asn-82x-2q5/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1641430241\",\"created_at\":\"2022-01-06T00:50:41.722113+00:00\",\"modified_at\":\"2022-01-06T00:50:41.722113+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"q\":\"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()\",\"on_right_yaxis\":false,\"style\":{\"line_width\":\"normal\",\"palette\":\"warm\",\"line_type\":\"solid\"},\"display_type\":\"bars\"}],\"type\":\"timeseries\"},\"id\":8478940066341905}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"d2u-a79-uqv\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1731611562 with timeseries widget\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/d2u-a79-uqv/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1731611562\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"display_type\":\"bars\",\"on_right_yaxis\":false,\"q\":\"sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"warm\"}}],\"type\":\"timeseries\"},\"id\":123635508219251}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:42.289738+00:00\",\"modified_at\":\"2024-11-14T19:12:42.289738+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "5cc6a4de-54ec-0d25-c69e-4aba7394d9eb" + "id": "23d4d945-8046-a95f-a7fe-655835bd92c0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/asn-82x-2q5", + "path": "/api/v1/dashboard/d2u-a79-uqv", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"asn-82x-2q5\"}", + "body": "{\"deleted_dashboard_id\":\"d2u-a79-uqv\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3b0bb32-df62-76b6-36fe-936f6e204f53" + "id": "b88c9d16-d51a-27a9-2268-7abdc30bd1db" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.freeze index 342b24a3fec..31018147d6b 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.freeze @@ -1 +1 @@ -2024-09-06T12:10:51.099Z \ No newline at end of file +2024-11-14T19:12:42.537Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.json index 459dd651344..889597ce077 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_toplist_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_toplist_widget-1725624651\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"q25-ie2-8p9\",\"title\":\"Test-Create_a_new_dashboard_with_toplist_widget-1725624651\",\"description\":\"\",\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/q25-ie2-8p9/test-createanewdashboardwithtoplistwidget-1725624651\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"display\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":6898333964604098}],\"notify_list\":[],\"created_at\":\"2024-09-06T12:10:51.371974+00:00\",\"modified_at\":\"2024-09-06T12:10:51.371974+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "d4d59ff6-298b-c4e3-059c-0d98a94c6c3a" + "id": "a75d943d-c18d-7dea-7a05-2fc56a969911" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/q25-ie2-8p9", + "path": "/api/v1/dashboard/ffe-udq-bak", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"q25-ie2-8p9\"}\n", + "body": "{\"deleted_dashboard_id\":\"ffe-udq-bak\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "acd77fd7-fab8-c994-0694-b18c7658915d" + "id": "eff31f14-d2ac-51bf-5274-61d2ca30d1bc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.freeze index 32436c666f0..ad5fd650d3f 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.freeze @@ -1 +1 @@ -2022-09-12T15:16:05.847Z \ No newline at end of file +2024-11-14T19:12:42.948Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.json index ea6f985ae71..b651be9435d 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_topology_map_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_topology_map_widget-1662995765\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"data_source\":\"service_map\",\"filters\":[\"env:none\",\"environment:*\"],\"service\":\"\"},\"request_type\":\"topology\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"topology_map\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"8mx-5gx-wjm\",\"title\":\"Test-Create_a_new_dashboard_with_topology_map_widget-1662995765\",\"url\":\"/dashboard/8mx-5gx-wjm/test-createanewdashboardwithtopologymapwidget-1662995765\",\"created_at\":\"2022-09-12T15:16:06.040625+00:00\",\"modified_at\":\"2022-09-12T15:16:06.040625+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"type\":\"topology_map\",\"requests\":[{\"query\":{\"data_source\":\"service_map\",\"service\":\"\",\"filters\":[\"env:none\",\"environment:*\"]},\"request_type\":\"topology\"}],\"title_align\":\"left\",\"title_size\":\"16\",\"title\":\"\"},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":15},\"id\":1383483616434400}],\"layout_type\":\"free\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "db23cdbb-bb3e-26b9-7a5b-c8091d9aef10" + "id": "0cadda3c-3871-399c-9041-63d203bd786b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/8mx-5gx-wjm", + "path": "/api/v1/dashboard/4nx-4x7-4ft", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"8mx-5gx-wjm\"}\n", + "body": "{\"deleted_dashboard_id\":\"4nx-4x7-4ft\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "d969104a-3036-2298-0232-2499a974f7ab" + "id": "ea6638b8-f0c2-b53e-9ca6-a6c22b45485a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.freeze index 8ebeaa91084..6b659be6443 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.freeze @@ -1 +1 @@ -2022-01-06T00:50:42.549Z \ No newline at end of file +2024-11-14T19:12:43.342Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.json index f95c0954671..150d119a580 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_service_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_trace_service_widget-1641430242\",\"widgets\":[{\"definition\":{\"display_format\":\"two_column\",\"env\":\"none\",\"service\":\"\",\"show_breakdown\":true,\"show_distribution\":true,\"show_errors\":true,\"show_hits\":true,\"show_latency\":true,\"show_resource_list\":false,\"size_format\":\"medium\",\"span_name\":\"\",\"time\":{},\"title\":\"Service Summary\",\"type\":\"trace_service\"},\"layout\":{\"height\":72,\"width\":72,\"x\":0,\"y\":0}}]}" + "json": "{\"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}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":[],\"description\":\"\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"y2w-4ed-wj5\",\"title\":\"Test-Create_a_new_dashboard_with_trace_service_widget-1641430242\",\"url\":\"/dashboard/y2w-4ed-wj5/test-createanewdashboardwithtraceservicewidget-1641430242\",\"created_at\":\"2022-01-06T00:50:42.720557+00:00\",\"modified_at\":\"2022-01-06T00:50:42.720557+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"span_name\":\"\",\"type\":\"trace_service\",\"service\":\"\",\"title\":\"Service Summary\",\"size_format\":\"medium\",\"show_hits\":true,\"show_errors\":true,\"show_breakdown\":true,\"env\":\"none\",\"time\":{},\"show_distribution\":true,\"display_format\":\"two_column\",\"show_latency\":true,\"show_resource_list\":false},\"layout\":{\"y\":0,\"width\":72,\"x\":0,\"height\":72},\"id\":8414814446486210}],\"layout_type\":\"free\"}", + "body": "{\"id\":\"82r-6xq-vn3\",\"title\":\"Test-Create_a_new_dashboard_with_trace_service_widget-1731611563\",\"description\":\"\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"free\",\"url\":\"/dashboard/82r-6xq-vn3/test-createanewdashboardwithtraceservicewidget-1731611563\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"display_format\":\"two_column\",\"env\":\"none\",\"service\":\"\",\"show_breakdown\":true,\"show_distribution\":true,\"show_errors\":true,\"show_hits\":true,\"show_latency\":true,\"show_resource_list\":false,\"size_format\":\"medium\",\"span_name\":\"\",\"time\":{},\"title\":\"Service Summary\",\"type\":\"trace_service\"},\"layout\":{\"height\":72,\"width\":72,\"x\":0,\"y\":0},\"id\":8083039739576862}],\"notify_list\":[],\"created_at\":\"2024-11-14T19:12:43.452285+00:00\",\"modified_at\":\"2024-11-14T19:12:43.452285+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "ed5ae072-5e25-3c86-f563-3eb20647ea5e" + "id": "95df53b0-a842-8d43-e105-03466caae9b9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/y2w-4ed-wj5", + "path": "/api/v1/dashboard/82r-6xq-vn3", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"y2w-4ed-wj5\"}", + "body": "{\"deleted_dashboard_id\":\"82r-6xq-vn3\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e305558b-9d99-c7d7-4d08-6e67ad59f74e" + "id": "82b873c9-0584-353a-9969-aa57aeb78738" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.freeze index 59f5fa0f114..403f798bb02 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.freeze @@ -1 +1 @@ -2022-04-11T09:33:06.223Z \ No newline at end of file +2024-11-14T19:12:43.703Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.json b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.json index 2ef8bea89c4..35773964d52 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_dashboard_with_trace_stream_widget.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_trace_stream_widget-1649669586 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"trace_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"hq5-hih-hbv\",\"title\":\"Test-Create_a_new_dashboard_with_trace_stream_widget-1649669586 with list_stream widget\",\"url\":\"/dashboard/hq5-hih-hbv/test-createanewdashboardwithtracestreamwidget-1649669586-with-liststream-widget\",\"created_at\":\"2022-04-11T09:33:06.331374+00:00\",\"modified_at\":\"2022-04-11T09:33:06.331374+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"trace_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":6190567117163115}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"wnc-xse-sns\",\"title\":\"Test-Create_a_new_dashboard_with_trace_stream_widget-1731611563 with list_stream widget\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/wnc-xse-sns/test-createanewdashboardwithtracestreamwidget-1731611563-with-liststream-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"},{\"field\":\"service\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"trace_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":6150580172370879}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:43.829004+00:00\",\"modified_at\":\"2024-11-14T19:12:43.829004+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "9f2c1d36-ab2a-75b2-9654-c3c774f4394a" + "id": "47212ea0-a175-abc0-eaa1-67af254f8474" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/hq5-hih-hbv", + "path": "/api/v1/dashboard/wnc-xse-sns", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"hq5-hih-hbv\"}", + "body": "{\"deleted_dashboard_id\":\"wnc-xse-sns\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "ba5e3fb6-f561-a9be-211c-115290abdfc4" + "id": "59c23ac4-f20e-07da-1247-7e0f9f86db40" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze index 1d51e4782df..836b6bdd4cd 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.freeze @@ -1 +1 @@ -2023-03-02T15:41:16.500Z \ No newline at end of file +2024-11-14T19:12:44.087Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.json index 8a3b06d8853..97198d49cff 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_pipelines_data_source.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1677771676 with ci_pipelines datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"iu9-viw-buz\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_pipelines_data_source-1677771676 with ci_pipelines datasource\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/iu9-viw-buz/test-createanewtimeserieswidgetwithcipipelinesdatasource-1677771676-with-cipipel\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"},\"id\":2105687409669278}],\"notify_list\":null,\"created_at\":\"2023-03-02T15:41:16.697612+00:00\",\"modified_at\":\"2023-03-02T15:41:16.697612+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "017c148f-c89f-9d58-6fa2-aed2abe76310" + "id": "6f28b506-0b69-e98a-0343-0bf23b349e12" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/iu9-viw-buz", + "path": "/api/v1/dashboard/pjm-jv3-48u", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"iu9-viw-buz\"}\n", + "body": "{\"deleted_dashboard_id\":\"pjm-jv3-48u\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "26275201-455e-990a-e459-7f4c6359f9f3" + "id": "eef8bcb8-8646-47ed-634a-144d51b6bc19" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze index 5b964cc4a85..07996dab86e 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.freeze @@ -1 +1 @@ -2022-08-22T19:31:16.232Z \ No newline at end of file +2024-11-14T19:12:44.499Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.json index 3d74996b478..439aa064d36 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_ci_tests_data_source.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1661196676 with ci_tests datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"ci_tests\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"ykp-mnk-euu\",\"title\":\"Test-Create_a_new_timeseries_widget_with_ci_tests_data_source-1661196676 with ci_tests datasource\",\"url\":\"/dashboard/ykp-mnk-euu/test-createanewtimeserieswidgetwithcitestsdatasource-1661196676-with-citests-dat\",\"created_at\":\"2022-08-22T19:31:16.421905+00:00\",\"modified_at\":\"2022-08-22T19:31:16.421905+00:00\",\"reflow_type\":\"auto\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"title\":\"\",\"legend_layout\":\"auto\",\"show_legend\":true,\"time\":{},\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"style\":{\"line_width\":\"normal\",\"palette\":\"dog_classic\",\"line_type\":\"solid\"},\"display_type\":\"line\",\"response_format\":\"timeseries\",\"queries\":[{\"search\":{\"query\":\"test_level:test\"},\"data_source\":\"ci_tests\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[]}]}],\"type\":\"timeseries\"},\"id\":5710436152334347}],\"layout_type\":\"ordered\"}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "5f3037d5-856f-a51f-5a0d-0f4b41c83704" + "id": "8586d851-a59b-5b24-179d-2799fd02bcc4" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/ykp-mnk-euu", + "path": "/api/v1/dashboard/cdv-aqf-wud", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"ykp-mnk-euu\"}\n", + "body": "{\"deleted_dashboard_id\":\"cdv-aqf-wud\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "fe4ecd80-daea-8135-e7bc-c76fe16fec42" + "id": "aa0f13de-1b1c-7590-0d21-97c9868a6b3d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze index 4db9b8d383e..65755df7692 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.freeze @@ -1 +1 @@ -2024-07-23T14:59:59.215Z \ No newline at end of file +2024-11-14T19:12:44.903Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.json index 5fb9bf6e126..dd7e5e7ac67 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_incident_analytics_data_source.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1721746799 with incident_analytics datasource\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"incident_analytics\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"r29-a2b-nhh\",\"title\":\"Test-Create_a_new_timeseries_widget_with_incident_analytics_data_source-1721746799 with incident_analytics datasource\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/r29-a2b-nhh/test-createanewtimeserieswidgetwithincidentanalyticsdatasource-1721746799-with-i\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"incident_analytics\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"test_level:test\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"type\":\"timeseries\"},\"id\":4216078110414841}],\"notify_list\":null,\"created_at\":\"2024-07-23T14:59:59.491800+00:00\",\"modified_at\":\"2024-07-23T14:59:59.491800+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "7463bd24-84f9-696f-a67b-31568a8933fd" + "id": "d5be1148-f043-9d05-6699-fe95ee8c1c35" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/r29-a2b-nhh", + "path": "/api/v1/dashboard/d25-w5x-ehk", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"r29-a2b-nhh\"}\n", + "body": "{\"deleted_dashboard_id\":\"d25-w5x-ehk\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "f15c962c-8f92-d149-62e2-9e114b20212d" + "id": "988eecbb-fb2e-5282-88ea-df043176a984" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze index 85c52092329..7315f4dc8b0 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:08:49.284Z \ No newline at end of file +2024-11-14T19:12:45.283Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.json index 9c23765fc78..2b15af776cf 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_legacy_live_span_time_format.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 with legacy live span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"live_span\":\"5m\"},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"dfy-yby-e2c\",\"title\":\"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 with legacy live span time\",\"description\":null,\"author_handle\":\"d5459c54-9e9d-11ee-a5c9-ce6dc639753f\",\"author_name\":\"CI Service Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/dfy-yby-e2c/test-createanewtimeserieswidgetwithlegacylivespantimeformat-1723133329-with-lega\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"live_span\":\"5m\"},\"title\":\"\",\"type\":\"timeseries\"},\"id\":6745766981061097}],\"notify_list\":null,\"created_at\":\"2024-08-08T16:08:49.543129+00:00\",\"modified_at\":\"2024-08-08T16:08:49.543129+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "1627fd1f-2811-0b2a-ceed-a4364777902f" + "id": "66a0ec24-2899-7933-004e-2c8ab8bbdab1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/dfy-yby-e2c", + "path": "/api/v1/dashboard/nsa-nv8-m5q", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"dfy-yby-e2c\"}\n", + "body": "{\"deleted_dashboard_id\":\"nsa-nv8-m5q\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "79e2eafc-a363-ed92-4ea1-8bf392a3f5c7" + "id": "7876f1a4-d0d6-0c7e-1f01-ed85f767157d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze index 038444cbe0f..b51338e8f50 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:09:04.492Z \ No newline at end of file +2024-11-14T19:12:45.751Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.json index 1d7a08273a5..1759ca628ca 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_fixed_span_time_format.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 with new fixed span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"from\":1712080128,\"to\":1712083128,\"type\":\"fixed\"},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"kvv-wiy-nsu\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 with new fixed span time\",\"description\":null,\"author_handle\":\"d5459c54-9e9d-11ee-a5c9-ce6dc639753f\",\"author_name\":\"CI Service Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/kvv-wiy-nsu/test-createanewtimeserieswidgetwithnewfixedspantimeformat-1723133344-with-new-fi\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"from\":1712080128,\"to\":1712083128,\"type\":\"fixed\"},\"title\":\"\",\"type\":\"timeseries\"},\"id\":1421131468062823}],\"notify_list\":null,\"created_at\":\"2024-08-08T16:09:04.750457+00:00\",\"modified_at\":\"2024-08-08T16:09:04.750457+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "285aa01e-1166-6786-677c-d7a20038bb37" + "id": "a2f1f348-b601-2ba8-fdde-25c5b3811e1e" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/kvv-wiy-nsu", + "path": "/api/v1/dashboard/aka-wb3-49f", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"kvv-wiy-nsu\"}\n", + "body": "{\"deleted_dashboard_id\":\"aka-wb3-49f\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "f5220186-2fe5-93c4-4057-4f9e6ac0ea4b" + "id": "35a2eb8b-f451-fd9b-dc1c-359a18951e1c" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze index 80af97252df..955af2958e3 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.freeze @@ -1 +1 @@ -2024-08-08T16:09:15.828Z \ No newline at end of file +2024-11-14T19:12:46.156Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.json b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.json index 9ad7f704307..00bf0847023 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.json +++ b/src/test/resources/cassettes/features/v1/Create_a_new_timeseries_widget_with_new_live_span_time_format.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1723133355 with new live span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"type\":\"live\",\"unit\":\"minute\",\"value\":8},\"title\":\"\",\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"mew-pjn-ndm\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_live_span_time_format-1723133355 with new live span time\",\"description\":null,\"author_handle\":\"d5459c54-9e9d-11ee-a5c9-ce6dc639753f\",\"author_name\":\"CI Service Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/mew-pjn-ndm/test-createanewtimeserieswidgetwithnewlivespantimeformat-1723133355-with-new-liv\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"type\":\"live\",\"unit\":\"minute\",\"value\":8},\"title\":\"\",\"type\":\"timeseries\"},\"id\":6031010449478602}],\"notify_list\":null,\"created_at\":\"2024-08-08T16:09:16.036773+00:00\",\"modified_at\":\"2024-08-08T16:09:16.036773+00:00\",\"reflow_type\":\"auto\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "8ae1f501-c91a-ca52-d237-0241bd3aaebb" + "id": "2018dbcc-02e2-a9eb-6e91-aaf956830ac8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/mew-pjn-ndm", + "path": "/api/v1/dashboard/vtj-mcf-jsm", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"mew-pjn-ndm\"}\n", + "body": "{\"deleted_dashboard_id\":\"vtj-mcf-jsm\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "7705463e-3ec7-15a9-ee6f-ee6630f970d1" + "id": "8f7e9d55-e6d1-9364-9085-425584152cbc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze index 89dac55f335..69b301ba042 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_Dashboard_Not_Found_response.freeze @@ -1 +1 @@ -2023-03-31T21:01:49.932Z \ No newline at end of file +2024-11-14T19:12:46.557Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.freeze index 9de127c1f3f..da3a8ab12d1 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-31T21:01:50.111Z \ No newline at end of file +2024-11-14T19:12:46.664Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.json index c6329ee9114..9b45b053169 100644 --- a/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Create_a_shared_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_shared_dashboard_returns_OK_response-1680296510 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"ku9-p3f-2qu\",\"title\":\"Test-Create_a_shared_dashboard_returns_OK_response-1680296510 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/ku9-p3f-2qu/test-createashareddashboardreturnsokresponse-1680296510-with-profile-metrics-que\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":1709388709940781}],\"notify_list\":null,\"created_at\":\"2023-03-31T21:01:50.263804+00:00\",\"modified_at\":\"2023-03-31T21:01:50.263804+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "3efcf307-e2aa-e772-fe0e-dcf2899ea82d" + "id": "2b701a2e-b614-9a72-ee13-c54c26248035" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"dashboard_id\":\"ku9-p3f-2qu\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_type\":\"open\"}" + "json": "{\"dashboard_id\":\"zc8-ujq-5pw\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_type\":\"open\"}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"ku9-p3f-2qu\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3\",\"created\":\"2023-03-31T21:01:50.643308+00:00\",\"share_type\":\"open\",\"share_list\":null}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "da6b6d1f-25d6-e521-7e98-edc441c52c33" + "id": "31c4d072-1909-81a8-73b5-57c90d3fdb26" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-078f138782b770a6d7512a925664fca3\"}\n", + "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-cdab0ba2d895a0652a2125ec4addf7a4\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "1174a57b-b5f6-b71a-8521-1a7e4607eda1" + "id": "0d61e5d0-e7c8-82a7-0c1c-d12f7aecdafc" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/ku9-p3f-2qu", + "path": "/api/v1/dashboard/zc8-ujq-5pw", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"ku9-p3f-2qu\"}\n", + "body": "{\"deleted_dashboard_id\":\"zc8-ujq-5pw\"}\n", "headers": { "Content-Type": [ "application/json" @@ -109,6 +109,6 @@ "timeToLive": { "unlimited": true }, - "id": "fb3260d9-bc79-b397-dcf8-fa9d415226ed" + "id": "27ad3a08-2a41-35ea-518a-78048639e6db" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.freeze index f5d03f98429..d80bc1bcd29 100644 --- a/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-02-25T08:54:59.728Z \ No newline at end of file +2024-11-14T19:12:47.633Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.json index d9b6bf5c223..39726805bc1 100644 --- a/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Delete_a_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Delete_a_dashboard_returns_OK_response-1645779299 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"sbs-4fb-9dc\",\"title\":\"Test-Delete_a_dashboard_returns_OK_response-1645779299 with Profile Metrics Query\",\"url\":\"/dashboard/sbs-4fb-9dc/test-deleteadashboardreturnsokresponse-1645779299-with-profile-metrics-query\",\"created_at\":\"2022-02-25T08:55:00.681383+00:00\",\"modified_at\":\"2022-02-25T08:55:00.681383+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":7246585146253581}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"7g3-mu4-zqy\",\"title\":\"Test-Delete_a_dashboard_returns_OK_response-1731611567 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/7g3-mu4-zqy/test-deleteadashboardreturnsokresponse-1731611567-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":3061455461089207}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:47.802885+00:00\",\"modified_at\":\"2024-11-14T19:12:47.802885+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "5e3bf6c6-b5df-202d-0c53-ad284f464256" + "id": "ad592bd4-ce5e-7fbb-c20f-a61a88f2557d" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/sbs-4fb-9dc", + "path": "/api/v1/dashboard/7g3-mu4-zqy", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"sbs-4fb-9dc\"}", + "body": "{\"deleted_dashboard_id\":\"7g3-mu4-zqy\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "b8eed09a-07ab-b223-baf9-6760b2fe6b68" + "id": "cccc130c-f138-8c12-d0f5-417af71f72d1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/sbs-4fb-9dc", + "path": "/api/v1/dashboard/7g3-mu4-zqy", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\": [\"Dashboard with ID sbs-4fb-9dc not found\"]}", + "body": "{\"errors\":[\"Dashboard with ID 7g3-mu4-zqy not found\"]}", "headers": { "Content-Type": [ "application/json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "b8eed09a-07ab-b223-baf9-6760b2fe6b69" + "id": "cccc130c-f138-8c12-d0f5-417af71f72d2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.freeze index 1725a43580e..2478cb8050f 100644 --- a/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.freeze @@ -1 +1 @@ -2022-05-12T09:49:49.741Z \ No newline at end of file +2024-11-14T19:12:48.160Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.json b/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.json index d6a0ec5469f..fc0b8147af4 100644 --- a/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v1/Delete_dashboards_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Delete_dashboards_returns_No_Content_response-1652348989 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"u68-sze-n8e\",\"title\":\"Test-Delete_dashboards_returns_No_Content_response-1652348989 with Profile Metrics Query\",\"url\":\"/dashboard/u68-sze-n8e/test-deletedashboardsreturnsnocontentresponse-1652348989-with-profile-metrics-qu\",\"created_at\":\"2022-05-12T09:49:50.272678+00:00\",\"modified_at\":\"2022-05-12T09:49:50.272678+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":6438161043980974}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"7r3-8uu-hh9\",\"title\":\"Test-Delete_dashboards_returns_No_Content_response-1731611568 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/7r3-8uu-hh9/test-deletedashboardsreturnsnocontentresponse-1731611568-with-profile-metrics-qu\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":8097659346546797}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:48.318901+00:00\",\"modified_at\":\"2024-11-14T19:12:48.318901+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "4db895d2-1fa5-c06e-32c0-69f954815af9" + "id": "2c64f345-110a-97b6-9498-8c65f8d6e4aa" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":[{\"id\":\"u68-sze-n8e\",\"type\":\"dashboard\"}]}" + "json": "{\"data\":[{\"id\":\"7r3-8uu-hh9\",\"type\":\"dashboard\"}]}" }, "headers": {}, "method": "DELETE", @@ -42,7 +42,11 @@ "secure": true }, "httpResponse": { - "headers": {}, + "headers": { + "Content-Type": [ + "text/html; charset=utf-8" + ] + }, "statusCode": 204, "reasonPhrase": "No Content" }, @@ -52,18 +56,18 @@ "timeToLive": { "unlimited": true }, - "id": "63f9e704-55b2-52ce-077b-2540ce21acba" + "id": "6c4aa8ff-168d-393d-f5fb-a070993dd1e6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/u68-sze-n8e", + "path": "/api/v1/dashboard/7r3-8uu-hh9", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\": [\"Dashboard with ID u68-sze-n8e not found\"]}", + "body": "{\"errors\":[\"Dashboard with ID 7r3-8uu-hh9 not found\"]}", "headers": { "Content-Type": [ "application/json" @@ -78,6 +82,6 @@ "timeToLive": { "unlimited": true }, - "id": "de3305cd-7dc2-4780-1d01-0cf1001bd06a" + "id": "cf656b6e-e1e6-ab3a-4274-feffefbc778c" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.freeze index 8e5ea146c13..094aed4527f 100644 --- a/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-02-25T08:55:08.687Z \ No newline at end of file +2024-11-14T19:12:48.640Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.json index f562fc435b8..a84a9332bc8 100644 --- a/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_a_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1645779308 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"u9q-fdh-vhp\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1645779308 with Profile Metrics Query\",\"url\":\"/dashboard/u9q-fdh-vhp/test-getadashboardreturnsokresponse-1645779308-with-profile-metrics-query\",\"created_at\":\"2022-02-25T08:55:09.197511+00:00\",\"modified_at\":\"2022-02-25T08:55:09.197511+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":4650197596442225}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"8u7-9gr-rx9\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1731611568 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/8u7-9gr-rx9/test-getadashboardreturnsokresponse-1731611568-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":942871578443424}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:48.809197+00:00\",\"modified_at\":\"2024-11-14T19:12:48.809197+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "65336f52-bb8e-b36c-0235-1154c5d2d56f" + "id": "abf64c35-4579-7714-c484-477564ef9ef0" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v1/dashboard/u9q-fdh-vhp", + "path": "/api/v1/dashboard/8u7-9gr-rx9", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"u9q-fdh-vhp\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1645779308 with Profile Metrics Query\",\"url\":\"/dashboard/u9q-fdh-vhp/test-getadashboardreturnsokresponse-1645779308-with-profile-metrics-query\",\"created_at\":\"2022-02-25T08:55:09.197511+00:00\",\"modified_at\":\"2022-02-25T08:55:09.197511+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":4650197596442225}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"8u7-9gr-rx9\",\"title\":\"Test-Get_a_dashboard_returns_OK_response-1731611568 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/8u7-9gr-rx9/test-getadashboardreturnsokresponse-1731611568-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":942871578443424}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:48.809197+00:00\",\"modified_at\":\"2024-11-14T19:12:48.809197+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "f73bd85c-d119-fe69-a852-f50b5d2dacce" + "id": "35ccbead-8813-5912-6eed-34b43ef97aa0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/u9q-fdh-vhp", + "path": "/api/v1/dashboard/8u7-9gr-rx9", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"u9q-fdh-vhp\"}", + "body": "{\"deleted_dashboard_id\":\"8u7-9gr-rx9\"}\n", "headers": { "Content-Type": [ "application/json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "3e41a42a-4abd-3452-d741-043047cd49e7" + "id": "3f04caa2-e09e-de5e-08d3-52f5669bcd9d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.freeze index b877b6dbf69..ab68b32b6c2 100644 --- a/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:13:43.155Z \ No newline at end of file +2024-11-14T19:12:49.266Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.json index 0cd805fb706..11986e97f96 100644 --- a/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_a_shared_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_a_shared_dashboard_returns_OK_response-1680884023 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"zrc-p5j-6r5\",\"title\":\"Test-Get_a_shared_dashboard_returns_OK_response-1680884023 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/zrc-p5j-6r5/test-getashareddashboardreturnsokresponse-1680884023-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":1984776941235348}],\"notify_list\":null,\"created_at\":\"2023-04-07T16:13:43.596459+00:00\",\"modified_at\":\"2023-04-07T16:13:43.596459+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "10e953df-b8ea-13e1-c159-04e227d93679" + "id": "59cf4599-855c-7712-4fc3-7afffbae57bd" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"dashboard_id\":\"zrc-p5j-6r5\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetashareddashboardreturnsokresponse1680884023@datadoghq.com\"],\"share_type\":\"invite\"}" + "json": "{\"dashboard_id\":\"zwb-m89-nt7\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetashareddashboardreturnsokresponse1731611569@datadoghq.com\"],\"share_type\":\"invite\"}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"zrc-p5j-6r5\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467\",\"created\":\"2023-04-07T16:13:44.162867+00:00\",\"share_type\":\"invite\",\"share_list\":[\"testgetashareddashboardreturnsokresponse1680884023@datadoghq.com\"]}\n", + "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\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "ae8b0730-533f-64e0-ae5c-5d0ecdc0dd7b" + "id": "bbb58eb9-5bc6-e56a-94c7-3633860e6c7d" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"zrc-p5j-6r5\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467\",\"created\":\"2023-04-07T16:13:44.162867+00:00\",\"share_type\":\"invite\",\"share_list\":[\"testgetashareddashboardreturnsokresponse1680884023@datadoghq.com\"]}\n", + "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\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "f396e162-2cf1-0e15-a0fa-fe56f5ece780" + "id": "df42059a-990a-978c-4645-818706503cf8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-c4a0580ce838fc0e47144fc8808f5467\"}\n", + "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-3e108b2f5d0480a793b34eb0c8719db1\"}\n", "headers": { "Content-Type": [ "application/json" @@ -109,18 +109,18 @@ "timeToLive": { "unlimited": true }, - "id": "a41f180b-ecfa-8ca7-d03a-7cef0bff5f0d" + "id": "efe4bc30-66d9-dc05-0223-ad493396702c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/zrc-p5j-6r5", + "path": "/api/v1/dashboard/zwb-m89-nt7", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"zrc-p5j-6r5\"}\n", + "body": "{\"deleted_dashboard_id\":\"zwb-m89-nt7\"}\n", "headers": { "Content-Type": [ "application/json" @@ -135,6 +135,6 @@ "timeToLive": { "unlimited": true }, - "id": "d8803a0a-e5d5-90d0-0a9c-970237d58936" + "id": "4ad2802e-7859-23a9-3fbd-9d216a5cceb4" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze index 4fab458599f..d48ca7e2065 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:13:45.509Z \ No newline at end of file +2024-11-14T19:12:50.331Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.json index 622e21f6917..f1064a30f2b 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_all_invitations_for_a_shared_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1680884025 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"ggv-zp5-2r8\",\"title\":\"Test-Get_all_invitations_for_a_shared_dashboard_returns_OK_response-1680884025 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/ggv-zp5-2r8/test-getallinvitationsforashareddashboardreturnsokresponse-1680884025-with-profi\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":6124782451549434}],\"notify_list\":null,\"created_at\":\"2023-04-07T16:13:45.869264+00:00\",\"modified_at\":\"2023-04-07T16:13:45.869264+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "5c31db7b-1fd8-24f2-2234-65e781e5fd4c" + "id": "b0a1394d-e279-2250-84dc-6c8e3874e970" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"dashboard_id\":\"ggv-zp5-2r8\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetallinvitationsforashareddashboardreturnsokresponse1680884025@datadoghq.com\"],\"share_type\":\"invite\"}" + "json": "{\"dashboard_id\":\"fkc-v6q-qze\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testgetallinvitationsforashareddashboardreturnsokresponse1731611570@datadoghq.com\"],\"share_type\":\"invite\"}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"ggv-zp5-2r8\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be\",\"created\":\"2023-04-07T16:13:46.433503+00:00\",\"share_type\":\"invite\",\"share_list\":[\"testgetallinvitationsforashareddashboardreturnsokresponse1680884025@datadoghq.com\"]}\n", + "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\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "92466265-bce7-b055-d969-781870465cc7" + "id": "b9df4c01-f5d6-1577-70a2-520e2eaff670" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be/invitation", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da/invitation", "keepAlive": false, "secure": true }, @@ -83,18 +83,18 @@ "timeToLive": { "unlimited": true }, - "id": "cee9ba3e-4737-70e5-6ab5-ea13b43ce17d" + "id": "f2eed465-9bcf-da11-6966-a25895e84a46" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-c1e0c122d13080aabd50aa3bbadfe6be\"}\n", + "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-91e2d2e8c19d6a2b80d2b4a75d7303da\"}\n", "headers": { "Content-Type": [ "application/json" @@ -109,18 +109,18 @@ "timeToLive": { "unlimited": true }, - "id": "16751465-3995-d858-6dc2-301473690c95" + "id": "1e57fa9a-208e-132e-bd40-9cd0bd27527f" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/ggv-zp5-2r8", + "path": "/api/v1/dashboard/fkc-v6q-qze", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"ggv-zp5-2r8\"}\n", + "body": "{\"deleted_dashboard_id\":\"fkc-v6q-qze\"}\n", "headers": { "Content-Type": [ "application/json" @@ -135,6 +135,6 @@ "timeToLive": { "unlimited": true }, - "id": "845a66b6-3fe1-ebc7-031c-904dd7ae2888" + "id": "d9813273-3824-1d24-197f-3292b143286d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.freeze index eb75e492363..782c991a59b 100644 --- a/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.freeze @@ -1 +1 @@ -2022-05-12T09:49:51.385Z \ No newline at end of file +2024-11-14T19:12:51.450Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.json b/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.json index af6d12ea4cd..438ad8ef958 100644 --- a/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v1/Restore_deleted_dashboards_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Restore_deleted_dashboards_returns_No_Content_response-1652348991 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"9tx-gsv-z5x\",\"title\":\"Test-Restore_deleted_dashboards_returns_No_Content_response-1652348991 with Profile Metrics Query\",\"url\":\"/dashboard/9tx-gsv-z5x/test-restoredeleteddashboardsreturnsnocontentresponse-1652348991-with-profile-me\",\"created_at\":\"2022-05-12T09:49:51.831214+00:00\",\"modified_at\":\"2022-05-12T09:49:51.831214+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":4207265436765014}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"vmk-awa-gje\",\"title\":\"Test-Restore_deleted_dashboards_returns_No_Content_response-1731611571 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/vmk-awa-gje/test-restoredeleteddashboardsreturnsnocontentresponse-1731611571-with-profile-me\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":1217565763013822}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:51.626570+00:00\",\"modified_at\":\"2024-11-14T19:12:51.626570+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "b4a31a44-4f04-c9f4-1676-461bb395a6b8" + "id": "b5c54424-8296-fd8a-a4c2-5973c994a193" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/9tx-gsv-z5x", + "path": "/api/v1/dashboard/vmk-awa-gje", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"9tx-gsv-z5x\"}", + "body": "{\"deleted_dashboard_id\":\"vmk-awa-gje\"}\n", "headers": { "Content-Type": [ "application/json" @@ -53,13 +53,13 @@ "timeToLive": { "unlimited": true }, - "id": "b7773d7e-c63d-509c-57fe-11bfdca3fa81" + "id": "dd5cd080-321c-8b4d-aa3f-0e2d900a4314" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":[{\"id\":\"9tx-gsv-z5x\",\"type\":\"dashboard\"}]}" + "json": "{\"data\":[{\"id\":\"vmk-awa-gje\",\"type\":\"dashboard\"}]}" }, "headers": {}, "method": "PATCH", @@ -68,7 +68,11 @@ "secure": true }, "httpResponse": { - "headers": {}, + "headers": { + "Content-Type": [ + "text/html; charset=utf-8" + ] + }, "statusCode": 204, "reasonPhrase": "No Content" }, @@ -78,18 +82,18 @@ "timeToLive": { "unlimited": true }, - "id": "b94a8190-bd70-fa3e-719b-d2129a805b3a" + "id": "4396aece-ca77-542f-2052-a6d37ec3974b" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/9tx-gsv-z5x", + "path": "/api/v1/dashboard/vmk-awa-gje", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"9tx-gsv-z5x\"}", + "body": "{\"deleted_dashboard_id\":\"vmk-awa-gje\"}\n", "headers": { "Content-Type": [ "application/json" @@ -104,6 +108,6 @@ "timeToLive": { "unlimited": true }, - "id": "b7773d7e-c63d-509c-57fe-11bfdca3fa82" + "id": "dd5cd080-321c-8b4d-aa3f-0e2d900a4315" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.freeze index a4feec1f533..b52234e3c48 100644 --- a/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-07T16:10:11.930Z \ No newline at end of file +2024-11-14T19:12:52.187Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.json index 582201ce961..406f21a4be7 100644 --- a/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Send_shared_dashboard_invitation_email_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1680883811 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"raa-btt-uqs\",\"title\":\"Test-Send_shared_dashboard_invitation_email_returns_OK_response-1680883811 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/raa-btt-uqs/test-sendshareddashboardinvitationemailreturnsokresponse-1680883811-with-profile\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":2455557193881497}],\"notify_list\":null,\"created_at\":\"2023-04-07T16:10:12.130578+00:00\",\"modified_at\":\"2023-04-07T16:10:12.130578+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "c6dce98d-a860-9415-741e-de45324ad4fd" + "id": "f8457264-2314-678a-f951-a03db913981b" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"dashboard_id\":\"raa-btt-uqs\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com\"],\"share_type\":\"invite\"}" + "json": "{\"dashboard_id\":\"gut-f87-dcm\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com\"],\"share_type\":\"invite\"}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"raa-btt-uqs\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e\",\"created\":\"2023-04-07T16:10:12.476162+00:00\",\"share_type\":\"invite\",\"share_list\":[\"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com\"]}\n", + "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\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,22 +57,22 @@ "timeToLive": { "unlimited": true }, - "id": "3ba7c4f0-9619-07c8-1737-d94ea8e9b88d" + "id": "908b9413-983c-8749-44ab-e00613c6c094" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}" + "json": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e/invitation", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"public_dashboard_invitation\",\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com\",\"share_token\":\"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e\",\"created_at\":\"2023-04-07T16:10:12.708843+00:00\",\"invitation_expiry\":\"2023-04-07T17:10:12.707450+00:00\",\"has_session\":false,\"session_expiry\":null}}}\n", + "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}}}\n", "headers": { "Content-Type": [ "application/json" @@ -87,17 +87,17 @@ "timeToLive": { "unlimited": true }, - "id": "ef3bc890-85ae-6bbd-3795-a54004cd6363" + "id": "5cba2e75-3407-94ef-2379-80a13f23b3ff" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1680883811@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}" + "json": "{\"data\":{\"attributes\":{\"email\":\"testsendshareddashboardinvitationemailreturnsokresponse1731611572@datadoghq.com\"},\"type\":\"public_dashboard_invitation\"}}" }, "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e/invitation", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c/invitation", "keepAlive": false, "secure": true }, @@ -116,18 +116,18 @@ "timeToLive": { "unlimited": true }, - "id": "624c820e-6d9b-55ed-e10c-34ee5ac55c63" + "id": "91c8312d-8d46-b8fe-44ae-beb0a69d7e50" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-0aaf9e22dcfc91f4bf3857f95fbdd16e\"}\n", + "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-1bf4797be5e9c081bbc244a7bf86bf9c\"}\n", "headers": { "Content-Type": [ "application/json" @@ -142,18 +142,18 @@ "timeToLive": { "unlimited": true }, - "id": "03d6041e-c8f4-6eca-bba9-7317258d37fd" + "id": "a0ba5a4a-ac15-3631-12d7-5a1c2b49a308" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/raa-btt-uqs", + "path": "/api/v1/dashboard/gut-f87-dcm", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"raa-btt-uqs\"}\n", + "body": "{\"deleted_dashboard_id\":\"gut-f87-dcm\"}\n", "headers": { "Content-Type": [ "application/json" @@ -168,6 +168,6 @@ "timeToLive": { "unlimited": true }, - "id": "76ab0a51-16b5-6cba-c551-156303080b3c" + "id": "098dea3f-5294-73a6-24f1-8019a1c5a2db" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.freeze index 7ef474129a1..9b016bffb8e 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2022-04-19T09:27:29.726Z \ No newline at end of file +2024-11-14T19:12:53.526Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.json index 0cb451b9047..ae7a056f802 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Update_a_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1650360449 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"f9b-648-ep9\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1650360449 with Profile Metrics Query\",\"url\":\"/dashboard/f9b-648-ep9/test-updateadashboardreturnsokresponse-1650360449-with-profile-metrics-query\",\"created_at\":\"2022-04-19T09:27:29.963904+00:00\",\"modified_at\":\"2022-04-19T09:27:29.963904+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"search\":{\"query\":\"runtime:jvm\"},\"group_by\":[{\"facet\":\"service\",\"sort\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\",\"order\":\"desc\"},\"limit\":10}],\"compute\":{\"facet\":\"@prof_core_cpu_cores\",\"aggregation\":\"sum\"}}}],\"type\":\"timeseries\"},\"id\":130613274141546}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"5xn-4yt-3vj\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1731611573 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/5xn-4yt-3vj/test-updateadashboardreturnsokresponse-1731611573-with-profile-metrics-query\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":326375296924581}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:53.681001+00:00\",\"modified_at\":\"2024-11-14T19:12:53.681001+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "96fbc344-312b-6a8e-933b-e9dd9c9b93bf" + "id": "0054f893-5a1c-3138-fb21-d17139aa1dd1" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"Updated description\",\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1650360449 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "PUT", - "path": "/api/v1/dashboard/f9b-648-ep9", + "path": "/api/v1/dashboard/5xn-4yt-3vj", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"notify_list\":null,\"description\":\"Updated description\",\"restricted_roles\":[],\"author_name\":null,\"template_variables\":null,\"is_read_only\":false,\"id\":\"f9b-648-ep9\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1650360449 with list_stream widget\",\"url\":\"/dashboard/f9b-648-ep9/test-updateadashboardreturnsokresponse-1650360449-with-liststream-widget\",\"created_at\":\"2022-04-19T09:27:29.963904+00:00\",\"modified_at\":\"2022-04-19T09:27:30.331830+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"requests\":[{\"query\":{\"query_string\":\"\",\"data_source\":\"apm_issue_stream\"},\"response_format\":\"event_list\",\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}]}],\"type\":\"list_stream\"},\"id\":7235388013669172}],\"layout_type\":\"ordered\"}", + "body": "{\"id\":\"5xn-4yt-3vj\",\"title\":\"Test-Update_a_dashboard_returns_OK_response-1731611573 with list_stream widget\",\"description\":\"Updated description\",\"author_handle\":\"anika.maskara@datadoghq.com\",\"author_name\":\"Anika Maskara\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/5xn-4yt-3vj/test-updateadashboardreturnsokresponse-1731611573-with-liststream-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":2243312871402041}],\"notify_list\":null,\"created_at\":\"2024-11-14T19:12:53.681001+00:00\",\"modified_at\":\"2024-11-14T19:12:53.919704+00:00\",\"restricted_roles\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "3dd2e6fd-d45a-a7b5-e2e0-9e008a800702" + "id": "452e4779-a7bf-8eb3-e2af-8a9d9c84b255" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/f9b-648-ep9", + "path": "/api/v1/dashboard/5xn-4yt-3vj", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"f9b-648-ep9\"}", + "body": "{\"deleted_dashboard_id\":\"5xn-4yt-3vj\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "0b133903-40c6-520f-660a-fd384789b6bf" + "id": "b5e79832-b296-b65e-5e2c-652a5b4ee80d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.freeze index 09bab8b8312..a9783311d3e 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.freeze @@ -1 +1 @@ -2023-03-10T23:23:35.716Z \ No newline at end of file +2024-11-14T19:12:54.203Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.json index 814afc13b20..abb6c1c747a 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Update_a_dashboard_with_tags_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"ad2-8ch-y8s\",\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/ad2-8ch-y8s/test-updateadashboardwithtagsreturnsokresponse-1678490615-with-profile-metrics-q\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":6897153580739865}],\"notify_list\":null,\"created_at\":\"2023-03-10T23:23:35.908079+00:00\",\"modified_at\":\"2023-03-10T23:23:35.908079+00:00\",\"tags\":[],\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "76989a86-a63f-f987-ee25-10f0d5202ac6" + "id": "46b1c0e6-490a-cfad-748a-1a8d05f55837" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"description\":\"Updated description\",\"layout_type\":\"ordered\",\"tags\":[\"team:foo\",\"team:bar\"],\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with list_stream widget\",\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "PUT", - "path": "/api/v1/dashboard/ad2-8ch-y8s", + "path": "/api/v1/dashboard/czi-xdb-s6p", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"id\":\"ad2-8ch-y8s\",\"title\":\"Test-Update_a_dashboard_with_tags_returns_OK_response-1678490615 with list_stream widget\",\"description\":\"Updated description\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/ad2-8ch-y8s/test-updateadashboardwithtagsreturnsokresponse-1678490615-with-liststream-widget\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"columns\":[{\"field\":\"timestamp\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"apm_issue_stream\",\"query_string\":\"\"},\"response_format\":\"event_list\"}],\"type\":\"list_stream\"},\"id\":4545330920817753}],\"notify_list\":null,\"created_at\":\"2023-03-10T23:23:35.908079+00:00\",\"modified_at\":\"2023-03-10T23:23:36.124521+00:00\",\"tags\":[\"team:foo\",\"team:bar\"],\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "221a1431-6e9a-2807-0d56-43ab26eac02b" + "id": "f2224dc5-2b69-9533-b4f9-3c337b57bee7" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/ad2-8ch-y8s", + "path": "/api/v1/dashboard/czi-xdb-s6p", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"ad2-8ch-y8s\"}\n", + "body": "{\"deleted_dashboard_id\":\"czi-xdb-s6p\"}\n", "headers": { "Content-Type": [ "application/json" @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "868e470a-568c-c70b-2ed2-17f6b3492540" + "id": "f6290b33-16b1-f7da-0ffe-c56ed2fffa3e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.freeze b/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.freeze index eea423a1370..54de005803c 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.freeze @@ -1 +1 @@ -2023-04-12T20:55:44.574Z \ No newline at end of file +2024-11-14T19:12:54.907Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.json index ded5ebf6fa3..06c7f880044 100644 --- a/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Update_a_shared_dashboard_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"layout_type\":\"ordered\",\"title\":\"Test-Update_a_shared_dashboard_returns_OK_response-1681332944 with Profile Metrics Query\",\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"}}]}" + "json": "{\"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\"}}]}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"id\":\"n4p-ymg-wjf\",\"title\":\"Test-Update_a_shared_dashboard_returns_OK_response-1681332944 with Profile Metrics Query\",\"description\":null,\"author_handle\":\"frog@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/n4p-ymg-wjf/test-updateashareddashboardreturnsokresponse-1681332944-with-profile-metrics-que\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"profile_metrics_query\":{\"compute\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\"},\"group_by\":[{\"facet\":\"service\",\"limit\":10,\"sort\":{\"aggregation\":\"sum\",\"facet\":\"@prof_core_cpu_cores\",\"order\":\"desc\"}}],\"search\":{\"query\":\"runtime:jvm\"}}}],\"type\":\"timeseries\"},\"id\":8334852074489292}],\"notify_list\":null,\"created_at\":\"2023-04-12T20:55:45.157005+00:00\",\"modified_at\":\"2023-04-12T20:55:45.157005+00:00\",\"restricted_roles\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "04e6632c-5f5e-932b-8269-4d2e5f2e3804" + "id": "d8e21ef6-c6ec-5a30-e3c8-c17176c21fed" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"dashboard_id\":\"n4p-ymg-wjf\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testupdateashareddashboardreturnsokresponse1681332944@datadoghq.com\"],\"share_type\":\"invite\"}" + "json": "{\"dashboard_id\":\"88w-xn2-mij\",\"dashboard_type\":\"custom_timeboard\",\"global_time\":{\"live_span\":\"1h\"},\"share_list\":[\"testupdateashareddashboardreturnsokresponse1731611574@datadoghq.com\"],\"share_type\":\"invite\"}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"n4p-ymg-wjf\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"1h\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7\",\"created\":\"2023-04-12T20:55:45.513088+00:00\",\"share_type\":\"invite\",\"share_list\":[\"testupdateashareddashboardreturnsokresponse1681332944@datadoghq.com\"]}\n", + "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\"}]}\n", "headers": { "Content-Type": [ "application/json" @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "b8ecddab-1508-d45f-f948-5905956d9435" + "id": "d7b7c3ed-5ab9-9a52-7f6b-b367a143a4ed" }, { "httpRequest": { @@ -67,12 +67,12 @@ }, "headers": {}, "method": "PUT", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"author\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"dashboard_id\":\"n4p-ymg-wjf\",\"dashboard_type\":\"custom_timeboard\",\"global_time_selectable_enabled\":false,\"global_time\":{\"live_span\":\"15m\"},\"selectable_template_vars\":null,\"token\":\"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7\",\"public_url\":\"https://p.datadoghq.com/sb/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7\",\"created\":\"2023-04-12T20:55:45.513088+00:00\",\"share_type\":\"open\",\"share_list\":[]}\n", + "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\":[]}\n", "headers": { "Content-Type": [ "application/json" @@ -87,18 +87,18 @@ "timeToLive": { "unlimited": true }, - "id": "666e7c08-deb0-9c42-30a3-ac7291fe4755" + "id": "275e3b9c-7dd0-bad1-8f2b-86b8859f2a61" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7", + "path": "/api/v1/dashboard/public/fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-02029ebbe19451affffb0342605f03e7\"}\n", + "body": "{\"deleted_public_dashboard_token\":\"fasjyydbcgwwc2uc-671f5753eee0a2a6b3fd80019ccbf1ec\"}\n", "headers": { "Content-Type": [ "application/json" @@ -113,18 +113,18 @@ "timeToLive": { "unlimited": true }, - "id": "2a4053aa-c7c4-be18-706d-24680d08b548" + "id": "2fcaf4a4-9eb2-1ff2-0b10-00d22e9997d1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v1/dashboard/n4p-ymg-wjf", + "path": "/api/v1/dashboard/88w-xn2-mij", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"deleted_dashboard_id\":\"n4p-ymg-wjf\"}\n", + "body": "{\"deleted_dashboard_id\":\"88w-xn2-mij\"}\n", "headers": { "Content-Type": [ "application/json" @@ -139,6 +139,6 @@ "timeToLive": { "unlimited": true }, - "id": "f8c88d89-e4ba-f805-e0e5-0a3a50938315" + "id": "0a62cc69-d520-0c96-4842-e7db234a8e08" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature b/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature index 0b4d397030a..8d1a1bb8aca 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards.feature @@ -198,7 +198,7 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with a toplist widget sorted by group Given new "CreateDashboard" request - And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked","legend": "inline"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","is_read_only":false,"notify_list":[]} + And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked","legend": "inline"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","notify_list":[]} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "toplist" @@ -209,7 +209,7 @@ Feature: Dashboards @skip-typescript @team:DataDog/dashboards-backend Scenario: Create a new dashboard with a toplist widget with stacked type and no legend specified Given new "CreateDashboard" request - And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","is_read_only":false,"notify_list":[]} + And body with value {"title":"{{ unique }}","description":"","widgets":[{"layout":{"x":0,"y":0,"width":47,"height":15},"definition":{"title":"","title_size":"16","title_align":"left","time":{},"style":{"display": {"type": "stacked"},"scaling": "relative","palette": "dog_classic"},"type":"toplist","requests":[{"queries":[{"data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*} by {service}","aggregator":"avg"}],"formulas":[{"formula":"query1"}],"sort":{"count":10,"order_by":[{"type":"group","name":"service","order":"asc"}]},"response_format":"scalar"}]}}],"template_variables":[],"layout_type":"free","notify_list":[]} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "toplist" @@ -360,7 +360,7 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with formula and function heatmap widget Given new "CreateDashboard" request - And body with value {"title": "{{ unique }}", "widgets": [{"layout": {"x": 0, "y": 0, "width": 47, "height": 15}, "definition": {"title": "", "title_size": "16", "title_align": "left", "time": {}, "type": "heatmap", "requests": [{"response_format": "timeseries", "queries": [{"data_source": "metrics", "name": "query1", "query": "avg:system.cpu.user{*}"}], "formulas": [{"formula": "query1"}], "style": {"palette": "dog_classic"}}]}}], "template_variables": [], "layout_type": "free", "is_read_only": false, "notify_list": []} + And body with value {"title": "{{ unique }}", "widgets": [{"layout": {"x": 0, "y": 0, "width": 47, "height": 15}, "definition": {"title": "", "title_size": "16", "title_align": "left", "time": {}, "type": "heatmap", "requests": [{"response_format": "timeseries", "queries": [{"data_source": "metrics", "name": "query1", "query": "avg:system.cpu.user{*}"}], "formulas": [{"formula": "query1"}], "style": {"palette": "dog_classic"}}]}}], "template_variables": [], "layout_type": "free", "notify_list": []} When the request is sent Then the response status is 200 OK And the response "widgets[0].definition.type" is equal to "heatmap" @@ -757,14 +757,14 @@ Feature: Dashboards @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults and default returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "default": "my-host", "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults returns "OK" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK And the response "template_variables[0].name" is equal to "host1" @@ -774,21 +774,21 @@ Feature: Dashboards @skip-validation @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable defaults whose value has no length returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": [""], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": [""], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable presets using values and value returns "Bad Request" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "value": "*", "values": [ "*" ]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "value": "*", "values": [ "*" ]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 400 Bad Request @team:DataDog/dashboards-backend Scenario: Create a new dashboard with template variable presets using values returns "OK" response Given new "CreateDashboard" request - And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "values": ["*", "my-host"]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} + And body with value {"description": null, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "values": ["*", "my-host"]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK And the response "template_variable_presets[0].name" is equal to "my saved view" diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_graph_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_graph_widget.json index e1777b33802..9cc8d7b6c54 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_graph_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_graph_widget.json @@ -26,7 +26,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_value_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_value_widget.json index bd941285d7d..3eec7d23319 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_value_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/alert_value_widget.json @@ -25,7 +25,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/check_status_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/check_status_widget.json index 8e346f95952..fc450c60fe9 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/check_status_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/check_status_widget.json @@ -25,7 +25,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_stream_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_stream_widget.json index db582c77448..02ed43088e0 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_stream_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_stream_widget.json @@ -24,7 +24,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_timeline_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_timeline_widget.json index 16d84984eba..f3be7c13a54 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_timeline_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/event_timeline_widget.json @@ -23,7 +23,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/free_text_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/free_text_widget.json index 25b242531b3..8a26bdac03f 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/free_text_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/free_text_widget.json @@ -22,7 +22,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/geomap_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/geomap_widget.json index 240094d4532..4221e91db9f 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/geomap_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/geomap_widget.json @@ -76,7 +76,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/heatmap_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/heatmap_widget.json index 9f31756deb6..f7aed11f905 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/heatmap_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/heatmap_widget.json @@ -32,7 +32,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/hostmap_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/hostmap_widget.json index 1318ee4e751..d2674f3e013 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/hostmap_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/hostmap_widget.json @@ -33,7 +33,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/iframe_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/iframe_widget.json index c6f0e167dfb..ea24da3ead7 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/iframe_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/iframe_widget.json @@ -19,7 +19,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/image_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/image_widget.json index ca60ce72dc8..7e235eb0e66 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/image_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/image_widget.json @@ -20,7 +20,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/log_stream_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/log_stream_widget.json index 0505c3d3adb..a2e0fda0d85 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/log_stream_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/log_stream_widget.json @@ -36,7 +36,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget.json index 086054cb4a6..c0b2ef166d1 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget.json @@ -27,7 +27,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget_priority_sort.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget_priority_sort.json index daf815145b8..9001902ca6b 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget_priority_sort.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/manage_status_widget_priority_sort.json @@ -28,7 +28,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/note_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/note_widget.json index 4b8abf1de84..fef8bca60cd 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/note_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/note_widget.json @@ -19,7 +19,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/powerpack_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/powerpack_widget.json index de34784a687..a17b4049b21 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/powerpack_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/powerpack_widget.json @@ -24,6 +24,5 @@ } } ], - "description": "description", - "is_read_only": false + "description": "description" } \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget.json index d68b21f5c9a..5baa7c1d5de 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget.json @@ -57,7 +57,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget_text_formatting.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget_text_formatting.json index 16ab243051d..db00df90962 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget_text_formatting.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_table_widget_text_formatting.json @@ -142,6 +142,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_value_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_value_widget.json index 4d02afe6d8f..35f1b25f819 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_value_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/query_value_widget.json @@ -39,7 +39,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/run_workflow_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/run_workflow_widget.json index 8f03275935f..ec2be233b22 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/run_workflow_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/run_workflow_widget.json @@ -27,6 +27,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/scatterplot_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/scatterplot_widget.json index 44bec999333..65bcc2ff3cd 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/scatterplot_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/scatterplot_widget.json @@ -70,7 +70,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/servicemap_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/servicemap_widget.json index ac958dfe1e0..627af2b786d 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/servicemap_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/servicemap_widget.json @@ -26,7 +26,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget.json index 74b5916587f..b8f36370a10 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget.json @@ -27,6 +27,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget_with_sort.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget_with_sort.json index 2cfb87cf068..6db2ea4a7ee 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget_with_sort.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_list_widget_with_sort.json @@ -33,6 +33,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_widget.json index ae88c387a0b..14ad0cd1ba6 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/slo_widget.json @@ -29,7 +29,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/split_graph_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/split_graph_widget.json index b3d6c44293a..574f5243f03 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/split_graph_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/split_graph_widget.json @@ -44,6 +44,5 @@ ], "template_variables":[], "layout_type":"ordered", - "is_read_only":false, "notify_list":[] } \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/toplist_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/toplist_widget.json index bb07133d5f1..aacc72102a5 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/toplist_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/toplist_widget.json @@ -60,7 +60,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ] diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/topology_map_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/topology_map_widget.json index e3cf8835182..1a9bae4f697 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/topology_map_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/topology_map_widget.json @@ -29,6 +29,5 @@ ], "template_variables": [], "layout_type": "free", - "is_read_only": false, "notify_list": [] } diff --git a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/trace_service_widget.json b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/trace_service_widget.json index 62b7bcaf002..3e137fe649c 100644 --- a/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/trace_service_widget.json +++ b/src/test/resources/com/datadog/api/client/v1/api/dashboards_json_payload/trace_service_widget.json @@ -33,7 +33,6 @@ ], "layout_type":"free", - "is_read_only":false, "notify_list":[ ]