Skip to content

Commit

Permalink
Add RUM to cleanup script, update RUM test to use unique names (#1513)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Sep 19, 2023
1 parent 23b9f43 commit 04925b8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 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.5",
"regenerated": "2023-09-19 14:54:21.693981",
"spec_repo_commit": "e63e296b"
"regenerated": "2023-09-19 15:38:33.843772",
"spec_repo_commit": "30c5293b"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-19 14:54:21.714354",
"spec_repo_commit": "e63e296b"
"regenerated": "2023-09-19 15:38:33.860502",
"spec_repo_commit": "30c5293b"
}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-12-05T18:20:06.486Z
2023-08-29T17:05:14.023Z

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

2 changes: 1 addition & 1 deletion examples/v2/rum/CreateRUMApplication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
body = DatadogAPIClient::V2::RUMApplicationCreateRequest.new({
data: DatadogAPIClient::V2::RUMApplicationCreate.new({
attributes: DatadogAPIClient::V2::RUMApplicationCreateAttributes.new({
name: "my_new_rum_application",
name: "test-rum-5c67ebb32077e1d9",
type: "ios",
}),
type: DatadogAPIClient::V2::RUMApplicationCreateType::RUM_APPLICATION_CREATE,
Expand Down
4 changes: 2 additions & 2 deletions features/v2/rum.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Feature: RUM
@team:DataDog/rum-backend
Scenario: Create a new RUM application returns "OK" response
Given new "CreateRUMApplication" request
And body with value {"data": {"attributes": {"name": "my_new_rum_application", "type": "ios"}, "type": "rum_application_create"}}
And body with value {"data": {"attributes": {"name": "test-rum-{{ unique_hash }}", "type": "ios"}, "type": "rum_application_create"}}
When the request is sent
Then the response status is 200 RUM application.
And the response "data.type" is equal to "rum_application"
And the response "data.attributes.type" is equal to "ios"
And the response "data.attributes.name" is equal to "my_new_rum_application"
And the response "data.attributes.name" is equal to "test-rum-{{ unique_hash }}"

@team:DataDog/rum-backend
Scenario: Delete a RUM application returns "No Content" response
Expand Down

0 comments on commit 04925b8

Please sign in to comment.