Skip to content

Commit e232aa0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 1847a67 of spec repo (#505)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 5a86331 commit e232aa0

File tree

185 files changed

+6613
-5259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+6613
-5259
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev8",
7-
"regenerated": "2021-07-01 15:11:03.927323",
8-
"spec_repo_commit": "17171be"
7+
"regenerated": "2021-07-01 19:05:29.738551",
8+
"spec_repo_commit": "1847a67"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev8",
12-
"regenerated": "2021-07-01 15:11:29.357765",
13-
"spec_repo_commit": "17171be"
12+
"regenerated": "2021-07-01 19:05:55.554024",
13+
"spec_repo_commit": "1847a67"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-04-09T22:22:15.472687+02:00
1+
2021-04-19T16:30:56.580Z

tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_a_profile_metric_query.yaml

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,43 @@
11
interactions:
22
- request:
3-
body: '{"layout_type": "ordered", "title": "Test-Create_a_new_dashboard_with_a_profile_metric_query-1617999735
4-
with Profile Metrics Query", "widgets": [{"definition": {"type": "timeseries",
5-
"requests": [{"profile_metrics_query": {"compute": {"aggregation": "sum", "facet":
6-
"@prof_core_cpu_cores"}, "search": {"query": "runtime:jvm"}, "group_by": [{"facet":
7-
"service", "limit": 10, "sort": {"aggregation": "sum", "order": "desc", "facet":
8-
"@prof_core_cpu_cores"}}]}}]}}]}'
3+
body: '{"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_a_profile_metric_query-1618849856
4+
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"}}]}'
95
headers:
10-
Accept:
6+
accept:
7+
- application/json, */*;q=0.8
8+
connection:
9+
- close
10+
content-length:
11+
- '434'
12+
content-type:
1113
- application/json
12-
Content-Type:
13-
- application/json
14-
Dd-Operation-Id:
15-
- CreateDashboard
16-
User-Agent:
17-
- datadog-api-client-python/1.0.0b8.dev29 (python 3.8.8; os Darwin; arch x86_64)
14+
host:
15+
- api.datadoghq.com
16+
user-agent:
17+
- datadog-api-client-typescript/0.1.0 (node 15.11.0; os Darwin; arch x64)
18+
x-datadog-parent-id:
19+
- '3655514069460001882'
20+
x-datadog-trace-id:
21+
- '3655514069460001882'
1822
method: POST
1923
uri: https://api.datadoghq.com/api/v1/dashboard
2024
response:
2125
body:
22-
string: '{"notify_list":null,"description":null,"author_name":null,"template_variables":null,"is_read_only":false,"id":"wkx-vhy-96m","title":"Test-Create_a_new_dashboard_with_a_profile_metric_query-1617999735
23-
with Profile Metrics Query","url":"/dashboard/wkx-vhy-96m/test-createanewdashboardwithaprofilemetricquery-1617999735-with-profile-metrics","created_at":"2021-04-09T20:22:16.068974+00:00","modified_at":"2021-04-09T20:22:16.068974+00:00","author_handle":"[email protected]","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":3620343832605725}],"layout_type":"ordered"}'
26+
string: '{"notify_list":null,"description":null,"author_name":null,"template_variables":null,"is_read_only":false,"id":"u82-g9u-st4","title":"Test-Create_a_new_dashboard_with_a_profile_metric_query-1618849856
27+
with Profile Metrics Query","url":"/dashboard/u82-g9u-st4/test-createanewdashboardwithaprofilemetricquery-1618849856-with-profile-metrics","created_at":"2021-04-19T16:30:57.031039+00:00","modified_at":"2021-04-19T16:30:57.031039+00:00","author_handle":"[email protected]","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":2478815064249381}],"layout_type":"ordered"}'
2428
headers:
25-
Connection:
26-
- keep-alive
27-
Content-Length:
28-
- '824'
29-
Content-Type:
30-
- application/json
31-
Date:
32-
- Fri, 09 Apr 2021 20:22:16 GMT
3329
cache-control:
3430
- no-cache
31+
connection:
32+
- close
33+
content-length:
34+
- '824'
3535
content-security-policy:
3636
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
37+
content-type:
38+
- application/json
39+
date:
40+
- Mon, 19 Apr 2021 16:30:57 GMT
3741
pragma:
3842
- no-cache
3943
strict-transport-security:
@@ -43,9 +47,9 @@ interactions:
4347
x-content-type-options:
4448
- nosniff
4549
x-dd-debug:
46-
- 2328yjLSqI4XmR1pVqrPRR/SFcQsbafjEpPmZx7/3PfxUK1nJQQsX+wrMelyVyj+
50+
- F5gm0Rce1/Abr9/0Fw8HAqWfiz0FdiH8er/AXnN6lOn3L6KyGgbsLCwgPlob1No8
4751
x-dd-version:
48-
- '35.4280781'
52+
- '35.4342685'
4953
x-frame-options:
5054
- SAMEORIGIN
5155
status:
@@ -54,32 +58,36 @@ interactions:
5458
- request:
5559
body: null
5660
headers:
57-
Accept:
58-
- application/json
59-
Content-Type:
60-
- application/json
61-
Dd-Operation-Id:
62-
- DeleteDashboard
63-
User-Agent:
64-
- datadog-api-client-python/1.0.0b8.dev29 (python 3.8.8; os Darwin; arch x86_64)
61+
accept:
62+
- application/json, */*;q=0.8
63+
connection:
64+
- close
65+
host:
66+
- api.datadoghq.com
67+
user-agent:
68+
- datadog-api-client-typescript/0.1.0 (node 15.11.0; os Darwin; arch x64)
69+
x-datadog-parent-id:
70+
- '3655514069460001882'
71+
x-datadog-trace-id:
72+
- '3655514069460001882'
6573
method: DELETE
66-
uri: https://api.datadoghq.com/api/v1/dashboard/wkx-vhy-96m
74+
uri: https://api.datadoghq.com/api/v1/dashboard/u82-g9u-st4
6775
response:
6876
body:
69-
string: '{"deleted_dashboard_id":"wkx-vhy-96m"}'
77+
string: '{"deleted_dashboard_id":"u82-g9u-st4"}'
7078
headers:
71-
Connection:
72-
- keep-alive
73-
Content-Length:
74-
- '38'
75-
Content-Type:
76-
- application/json
77-
Date:
78-
- Fri, 09 Apr 2021 20:22:16 GMT
7979
cache-control:
8080
- no-cache
81+
connection:
82+
- close
83+
content-length:
84+
- '38'
8185
content-security-policy:
8286
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
87+
content-type:
88+
- application/json
89+
date:
90+
- Mon, 19 Apr 2021 16:30:57 GMT
8391
pragma:
8492
- no-cache
8593
strict-transport-security:
@@ -89,9 +97,9 @@ interactions:
8997
x-content-type-options:
9098
- nosniff
9199
x-dd-debug:
92-
- l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt
100+
- 5gfwVh/5HZ+AnGd/Di93w3NEWC6KMHT9KzmHEiRJmNdOjBtAsbOcgVFyqEChw71h
93101
x-dd-version:
94-
- '35.4280781'
102+
- '35.4342685'
95103
x-frame-options:
96104
- SAMEORIGIN
97105
status:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-04-19T13:26:11.403713+02:00
1+
2021-04-16T11:32:11.163Z

tests/v1/cassettes/test_scenarios/test_create_a_new_dashboard_with_timeseries_widget_containing_style_attributes.yaml

Lines changed: 54 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
11
interactions:
22
- request:
3-
body: '{"layout_type": "ordered", "title": "Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1618831571
4-
with timeseries widget", "widgets": [{"definition": {"type": "timeseries", "requests":
5-
[{"q": "sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()",
6-
"on_right_yaxis": false, "style": {"palette": "warm", "line_type": "solid",
7-
"line_width": "normal"}, "display_type": "bars"}]}}]}'
3+
body: '{"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1618572731
4+
with timeseries widget","widgets":[{"definition":{"requests":[{"display_type":"bars","on_right_yaxis":false,"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec}
5+
by {resource_name}.as_count()","style":{"line_type":"solid","line_width":"normal","palette":"warm"}}],"type":"timeseries"}}]}'
86
headers:
9-
Accept:
7+
accept:
8+
- application/json, */*;q=0.8
9+
connection:
10+
- close
11+
content-length:
12+
- '419'
13+
content-type:
1014
- application/json
11-
Content-Type:
12-
- application/json
13-
Dd-Operation-Id:
14-
- CreateDashboard
15-
User-Agent:
16-
- datadog-api-client-python/1.0.0b8.dev35+dirty (python 3.8.8; os Darwin; arch
17-
x86_64)
15+
host:
16+
- api.datadoghq.com
17+
user-agent:
18+
- datadog-api-client-typescript/0.1.0 (node 14.16.1; os Linux; arch x64)
19+
x-datadog-parent-id:
20+
- '6513831381695070861'
21+
x-datadog-trace-id:
22+
- '6520343188750172941'
1823
method: POST
1924
uri: https://api.datadoghq.com/api/v1/dashboard
2025
response:
2126
body:
22-
string: '{"notify_list":null,"description":null,"author_name":null,"template_variables":null,"is_read_only":false,"id":"7qi-ra9-fus","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1618831571
23-
with timeseries widget","url":"/dashboard/7qi-ra9-fus/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1618831571","created_at":"2021-04-19T11:26:12.097700+00:00","modified_at":"2021-04-19T11:26:12.097700+00:00","author_handle":"[email protected]","widgets":[{"definition":{"requests":[{"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec}
24-
by {resource_name}.as_count()","on_right_yaxis":false,"style":{"line_width":"normal","palette":"warm","line_type":"solid"},"display_type":"bars"}],"type":"timeseries"},"id":3590868120738659}],"layout_type":"ordered"}'
27+
string: '{"notify_list":null,"description":null,"author_name":"CI Account","template_variables":null,"is_read_only":false,"id":"edw-vay-96u","title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1618572731
28+
with timeseries widget","url":"/dashboard/edw-vay-96u/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1618572731","created_at":"2021-04-16T11:32:11.338701+00:00","modified_at":"2021-04-16T11:32:11.338701+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","widgets":[{"definition":{"requests":[{"q":"sum:trace.test.errors{env:prod,service:datadog-api-spec}
29+
by {resource_name}.as_count()","on_right_yaxis":false,"style":{"line_width":"normal","palette":"warm","line_type":"solid"},"display_type":"bars"}],"type":"timeseries"},"id":1125815002687389}],"layout_type":"ordered"}'
2530
headers:
26-
Connection:
27-
- keep-alive
28-
Content-Length:
29-
- '810'
30-
Content-Type:
31-
- application/json
32-
Date:
33-
- Mon, 19 Apr 2021 11:26:12 GMT
3431
cache-control:
3532
- no-cache
33+
connection:
34+
- close
35+
content-length:
36+
- '836'
3637
content-security-policy:
3738
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
39+
content-type:
40+
- application/json
41+
date:
42+
- Fri, 16 Apr 2021 11:32:11 GMT
3843
pragma:
3944
- no-cache
4045
strict-transport-security:
@@ -44,9 +49,9 @@ interactions:
4449
x-content-type-options:
4550
- nosniff
4651
x-dd-debug:
47-
- l4HFlaRP3QwYSqoGKhzbYfv7zgkK63HIRR7YkyVYZspq0lGjjTBwoK8V/alf+XYt
52+
- twvpGlmuom5y6A0pjGtXzTf554cmwJgTcCZ71fK4H/RDi+v5ehBK0zQiRcTJQG5C
4853
x-dd-version:
49-
- '35.4339380'
54+
- '35.4327367'
5055
x-frame-options:
5156
- SAMEORIGIN
5257
status:
@@ -55,33 +60,36 @@ interactions:
5560
- request:
5661
body: null
5762
headers:
58-
Accept:
59-
- application/json
60-
Content-Type:
61-
- application/json
62-
Dd-Operation-Id:
63-
- DeleteDashboard
64-
User-Agent:
65-
- datadog-api-client-python/1.0.0b8.dev35+dirty (python 3.8.8; os Darwin; arch
66-
x86_64)
63+
accept:
64+
- application/json, */*;q=0.8
65+
connection:
66+
- close
67+
host:
68+
- api.datadoghq.com
69+
user-agent:
70+
- datadog-api-client-typescript/0.1.0 (node 14.16.1; os Linux; arch x64)
71+
x-datadog-parent-id:
72+
- '7704306972974471993'
73+
x-datadog-trace-id:
74+
- '6520343188750172941'
6775
method: DELETE
68-
uri: https://api.datadoghq.com/api/v1/dashboard/7qi-ra9-fus
76+
uri: https://api.datadoghq.com/api/v1/dashboard/edw-vay-96u
6977
response:
7078
body:
71-
string: '{"deleted_dashboard_id":"7qi-ra9-fus"}'
79+
string: '{"deleted_dashboard_id":"edw-vay-96u"}'
7280
headers:
73-
Connection:
74-
- keep-alive
75-
Content-Length:
76-
- '38'
77-
Content-Type:
78-
- application/json
79-
Date:
80-
- Mon, 19 Apr 2021 11:26:12 GMT
8181
cache-control:
8282
- no-cache
83+
connection:
84+
- close
85+
content-length:
86+
- '38'
8387
content-security-policy:
8488
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
89+
content-type:
90+
- application/json
91+
date:
92+
- Fri, 16 Apr 2021 11:32:11 GMT
8593
pragma:
8694
- no-cache
8795
strict-transport-security:
@@ -93,7 +101,7 @@ interactions:
93101
x-dd-debug:
94102
- gYZcaADwbKcv7Hm19HJx6WsLoKuOijDWAt2viPeCfWqUgyKY+9e1xZdmMJeXV3YV
95103
x-dd-version:
96-
- '35.4339380'
104+
- '35.4327367'
97105
x-frame-options:
98106
- SAMEORIGIN
99107
status:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-05-06T19:23:43.286154+00:00
1+
2021-05-11T11:04:06.514Z

0 commit comments

Comments
 (0)