Skip to content

Commit

Permalink
Regenerate client from commit 55922470 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 22, 2022
1 parent 94d3b50 commit 8d4d503
Show file tree
Hide file tree
Showing 13 changed files with 107 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-06-20 06:54:41.109272",
"spec_repo_commit": "17f09b79"
"regenerated": "2022-06-22 15:23:51.453877",
"spec_repo_commit": "55922470"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-06-20 06:54:41.128692",
"spec_repo_commit": "17f09b79"
"regenerated": "2022-06-22 15:23:51.468090",
"spec_repo_commit": "55922470"
}
}
}
8 changes: 8 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12027,6 +12027,12 @@ components:
- TYPE_TEXT
- UPLOAD_FILES
- WAIT
SyntheticsTestCiOptions:
description: CI/CD options for a Synthetic test.
properties:
executionRule:
$ref: '#/components/schemas/SyntheticsTestExecutionRule'
type: object
SyntheticsTestConfig:
description: Configuration object for a Synthetic test.
properties:
Expand Down Expand Up @@ -12192,6 +12198,8 @@ components:
description: For SSL test, whether or not the test should fail on revoked
certificate in stapled OCSP.
type: boolean
ci:
$ref: '#/components/schemas/SyntheticsTestCiOptions'
device_ids:
description: For browser test, array with the different device IDs used
to run the test.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"2022-05-18T13:08:12.878Z"
"2022-06-17T07:42:57.557Z"
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"entries": [
{
"_id": "19ad0a979b5d2b9976ec73b74de0cf7c",
"_id": "6f57420de311eb600099523bfc0f2fd9",
"_order": 0,
"cache": {},
"request": {
"bodySize": 848,
"bodySize": 881,
"cookies": [],
"headers": [
{
Expand All @@ -26,23 +26,23 @@
"value": "application/json"
}
],
"headersSize": 585,
"headersSize": 586,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"config\":{\"assertions\":[],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"method\":\"GET\",\"url\":\"https://datadoghq.com\"},\"setCookie\":\"name:test\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1652879292\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"device_ids\":[\"tablet\"],\"disableCors\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"noScreenshot\":true,\"retry\":{\"count\":3,\"interval\":10},\"rumSettings\":{\"applicationId\":\"mockApplicationId\",\"clientTokenId\":123456,\"isEnabled\":true},\"tick_every\":300},\"steps\":[{\"allowFailure\":false,\"isCritical\":true,\"name\":\"Refresh page\",\"params\":{},\"type\":\"refresh\"}],\"tags\":[\"testing:browser\"],\"type\":\"browser\"}"
"text": "{\"config\":{\"assertions\":[],\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"request\":{\"method\":\"GET\",\"url\":\"https://datadoghq.com\"},\"setCookie\":\"name:test\"},\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1655451777\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"ci\":{\"executionRule\":\"skipped\"},\"device_ids\":[\"tablet\"],\"disableCors\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"noScreenshot\":true,\"retry\":{\"count\":3,\"interval\":10},\"rumSettings\":{\"applicationId\":\"mockApplicationId\",\"clientTokenId\":123456,\"isEnabled\":true},\"tick_every\":300},\"steps\":[{\"allowFailure\":false,\"isCritical\":true,\"name\":\"Refresh page\",\"params\":{},\"type\":\"refresh\"}],\"tags\":[\"testing:browser\"],\"type\":\"browser\"}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/browser"
},
"response": {
"bodySize": 1045,
"bodySize": 1078,
"content": {
"mimeType": "application/json",
"size": 1045,
"text": "{\"status\":\"paused\",\"public_id\":\"wfe-m7p-h4b\",\"tags\":[\"testing:browser\"],\"org_id\":321813,\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"deleted_at\":null,\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1652879292\",\"monitor_id\":71860323,\"type\":\"browser\",\"created_at\":\"2022-05-18T13:08:13.276145+00:00\",\"modified_at\":\"2022-05-18T13:08:13.276145+00:00\",\"steps\":[{\"name\":\"Refresh page\",\"allowFailure\":false,\"params\":{},\"isCritical\":true,\"type\":\"refresh\"}],\"config\":{\"setCookie\":\"name:test\",\"request\":{\"url\":\"https://datadoghq.com\",\"method\":\"GET\"},\"assertions\":[],\"configVariables\":[{\"pattern\":\"content-type\",\"type\":\"text\",\"example\":\"content-type\",\"name\":\"PROPERTY\"}]},\"options\":{\"accept_self_signed\":false,\"retry\":{\"count\":3,\"interval\":10},\"min_location_failed\":1,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"noScreenshot\":true,\"rumSettings\":{\"isEnabled\":true,\"applicationId\":\"mockApplicationId\",\"clientTokenId\":123456},\"disableCors\":true,\"device_ids\":[\"tablet\"],\"tick_every\":300}}"
"size": 1078,
"text": "{\"status\":\"paused\",\"public_id\":\"m3n-vmq-fd3\",\"tags\":[\"testing:browser\"],\"org_id\":321813,\"locations\":[\"aws:us-east-2\"],\"message\":\"Test message\",\"deleted_at\":null,\"name\":\"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1655451777\",\"monitor_id\":74294599,\"type\":\"browser\",\"created_at\":\"2022-06-17T07:42:58.262163+00:00\",\"modified_at\":\"2022-06-17T07:42:58.262163+00:00\",\"steps\":[{\"name\":\"Refresh page\",\"allowFailure\":false,\"params\":{},\"isCritical\":true,\"type\":\"refresh\"}],\"config\":{\"setCookie\":\"name:test\",\"request\":{\"url\":\"https://datadoghq.com\",\"method\":\"GET\"},\"assertions\":[],\"configVariables\":[{\"pattern\":\"content-type\",\"type\":\"text\",\"example\":\"content-type\",\"name\":\"PROPERTY\"}]},\"options\":{\"accept_self_signed\":false,\"retry\":{\"count\":3,\"interval\":10},\"min_location_failed\":1,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"ci\":{\"executionRule\":\"skipped\"},\"noScreenshot\":true,\"rumSettings\":{\"isEnabled\":true,\"applicationId\":\"mockApplicationId\",\"clientTokenId\":12345},\"disableCors\":true,\"device_ids\":[\"tablet\"],\"tick_every\":300}}"
},
"cookies": [],
"headers": [
Expand All @@ -51,17 +51,17 @@
"value": "application/json"
}
],
"headersSize": 667,
"headersSize": 666,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-05-18T13:08:12.898Z",
"time": 426
"startedDateTime": "2022-06-17T07:42:57.572Z",
"time": 724
},
{
"_id": "76fc582c80fc7ec5dbafdb295ed98df2",
"_id": "c5079f787dd367dcfd03fe67de8bc455",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -85,7 +85,7 @@
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"public_ids\":[\"wfe-m7p-h4b\"]}"
"text": "{\"public_ids\":[\"m3n-vmq-fd3\"]}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete"
Expand All @@ -95,7 +95,7 @@
"content": {
"mimeType": "application/json",
"size": 95,
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-05-18T13:08:18.431221+00:00\",\"public_id\":\"wfe-m7p-h4b\"}]}"
"text": "{\"deleted_tests\":[{\"deleted_at\":\"2022-06-17T07:43:03.760052+00:00\",\"public_id\":\"m3n-vmq-fd3\"}]}"
},
"cookies": [],
"headers": [
Expand All @@ -104,14 +104,14 @@
"value": "application/json"
}
],
"headersSize": 665,
"headersSize": 664,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2022-05-18T13:08:13.336Z",
"time": 5178
"startedDateTime": "2022-06-17T07:42:58.308Z",
"time": 5625
}
],
"pages": [],
Expand Down
3 changes: 3 additions & 0 deletions examples/v1/synthetics/CreateSyntheticsAPITest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = {
message: "Notification message",
name: "Example test name",
options: {
ci: {
executionRule: "blocking",
},
deviceIds: ["laptop_large"],
monitorOptions: {},
restrictedRoles: ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const params: v1.SyntheticsApiCreateSyntheticsBrowserTestRequest = {
clientTokenId: 123456,
},
tickEvery: 300,
ci: {
executionRule: "skipped",
},
},
tags: ["testing:browser"],
type: "browser",
Expand Down
3 changes: 3 additions & 0 deletions examples/v1/synthetics/UpdateBrowserTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ const params: v1.SyntheticsApiUpdateBrowserTestRequest = {
message: "",
name: "Example test name",
options: {
ci: {
executionRule: "blocking",
},
deviceIds: ["laptop_large"],
monitorOptions: {},
restrictedRoles: ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
Expand Down
Loading

0 comments on commit 8d4d503

Please sign in to comment.