Skip to content

Commit

Permalink
Regenerate client from commit fd2aa418 of spec repo (#991)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jul 19, 2022
1 parent 545c903 commit 5e57e5d
Show file tree
Hide file tree
Showing 14 changed files with 129 additions and 18 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-07-19 06:38:49.577914",
"spec_repo_commit": "0fe2fba6"
"regenerated": "2022-07-19 07:52:50.122423",
"spec_repo_commit": "fd2aa418"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-07-19 06:38:49.589953",
"spec_repo_commit": "0fe2fba6"
"regenerated": "2022-07-19 07:52:50.136121",
"spec_repo_commit": "fd2aa418"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2022-07-14T19:05:28.528Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2022-07-14T18:28:01.484Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2022-07-14T18:46:34.950Z

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2022-07-14T18:37:24.177Z

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/v1/synthetics/GetAPITestLatestResults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
p api_instance.get_api_test_latest_results("public_id")
p api_instance.get_api_test_latest_results("hwb-332-3xe")
2 changes: 1 addition & 1 deletion examples/v1/synthetics/GetAPITestResult.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
p api_instance.get_api_test_result("public_id", "result_id")
p api_instance.get_api_test_result("hwb-332-3xe", "3420446318379485707")
2 changes: 1 addition & 1 deletion examples/v1/synthetics/GetBrowserTestLatestResults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
p api_instance.get_browser_test_latest_results("public_id")
p api_instance.get_browser_test_latest_results("2yy-sem-mjh")
2 changes: 1 addition & 1 deletion examples/v1/synthetics/GetBrowserTestResult.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::SyntheticsAPI.new
p api_instance.get_browser_test_result("public_id", "result_id")
p api_instance.get_browser_test_result("2yy-sem-mjh", "5671719892074090418")
30 changes: 20 additions & 10 deletions features/v1/synthetics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,15 @@ Feature: Synthetics
When the request is sent
Then the response status is 404 - Synthetic is not activated for the user

@generated @skip @team:DataDog/synthetics-app
@replay-only @team:DataDog/synthetics-app
Scenario: Get a browser test result returns "OK" response
Given new "GetBrowserTestResult" request
And request contains "public_id" parameter from "REPLACE.ME"
And request contains "result_id" parameter from "REPLACE.ME"
And request contains "public_id" parameter with value "2yy-sem-mjh"
And request contains "result_id" parameter with value "5671719892074090418"
When the request is sent
Then the response status is 200 OK
And the response "result_id" is equal to "5671719892074090418"
And the response "probe_dc" is equal to "aws:ca-central-1"

@generated @skip @team:DataDog/synthetics-app
Scenario: Get a browser test returns "- Synthetic is not activated for the user" response
Expand All @@ -347,12 +349,15 @@ Feature: Synthetics
When the request is sent
Then the response status is 404 - Synthetic is not activated for the user

@generated @skip @team:DataDog/synthetics-app
@replay-only @team:DataDog/synthetics-app
Scenario: Get a browser test's latest results summaries returns "OK" response
Given new "GetBrowserTestLatestResults" request
And request contains "public_id" parameter from "REPLACE.ME"
And request contains "public_id" parameter with value "2yy-sem-mjh"
When the request is sent
Then the response status is 200 OK
And the response "results" has length 3
And the response "results[0].status" is equal to 0
And the response "results[0].probe_dc" is equal to "aws:ca-central-1"

@generated @skip @team:DataDog/synthetics-app
Scenario: Get a global variable returns "Not found" response
Expand Down Expand Up @@ -416,13 +421,15 @@ Feature: Synthetics
When the request is sent
Then the response status is 404 - Synthetic is not activated for the user

@generated @skip @team:DataDog/synthetics-app
@replay-only @team:DataDog/synthetics-app
Scenario: Get an API test result returns "OK" response
Given new "GetAPITestResult" request
And request contains "public_id" parameter from "REPLACE.ME"
And request contains "result_id" parameter from "REPLACE.ME"
And request contains "public_id" parameter with value "hwb-332-3xe"
And request contains "result_id" parameter with value "3420446318379485707"
When the request is sent
Then the response status is 200 OK
And the response "result_id" is equal to "3420446318379485707"
And the response "probe_dc" is equal to "aws:us-west-1"

@team:DataDog/synthetics-app
Scenario: Get an API test result returns result with failure object
Expand Down Expand Up @@ -457,12 +464,15 @@ Feature: Synthetics
When the request is sent
Then the response status is 404 - Synthetic is not activated for the user

@generated @skip @team:DataDog/synthetics-app
@replay-only @team:DataDog/synthetics-app
Scenario: Get an API test's latest results summaries returns "OK" response
Given new "GetAPITestLatestResults" request
And request contains "public_id" parameter from "REPLACE.ME"
And request contains "public_id" parameter with value "hwb-332-3xe"
When the request is sent
Then the response status is 200 OK
And the response "results" has length 150
And the response "results[0].status" is equal to 0
And the response "results[0].probe_dc" is equal to "aws:us-west-1"

@generated @skip @team:DataDog/synthetics-app
Scenario: Get details of batch returns "Batch does not exist." response
Expand Down

0 comments on commit 5e57e5d

Please sign in to comment.