Skip to content

Commit c78571d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 125ab459 of spec repo
1 parent 898b06a commit c78571d

File tree

6 files changed

+12
-24
lines changed

6 files changed

+12
-24
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.6.6",
7-
"regenerated": "2025-03-25 18:26:19.730337",
8-
"spec_repo_commit": "b25d7c85"
7+
"regenerated": "2025-03-26 20:17:00.282716",
8+
"spec_repo_commit": "125ab459"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-25 18:26:19.746346",
13-
"spec_repo_commit": "b25d7c85"
12+
"regenerated": "2025-03-26 20:17:00.299867",
13+
"spec_repo_commit": "125ab459"
1414
}
1515
}
1616
}

examples/v2/action-connection/CreateActionConnection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
data: DatadogAPIClient::V2::ActionConnectionData.new({
88
type: DatadogAPIClient::V2::ActionConnectionDataType::ACTION_CONNECTION,
99
attributes: DatadogAPIClient::V2::ActionConnectionAttributes.new({
10-
name: "Cassette Connection DELETE_ME",
10+
name: "Cassette Connection exampleactionconnection",
1111
integration: DatadogAPIClient::V2::AWSIntegration.new({
1212
type: DatadogAPIClient::V2::AWSIntegrationType::AWS,
1313
credentials: DatadogAPIClient::V2::AWSAssumeRole.new({

examples/v2/action-connection/DeleteActionConnection.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
require "datadog_api_client"
44
api_instance = DatadogAPIClient::V2::ActionConnectionAPI.new
5-
api_instance.delete_action_connection("connection_id")
5+
6+
# there is a valid "action_connection" in the system
7+
ACTION_CONNECTION_DATA_ID = ENV["ACTION_CONNECTION_DATA_ID"]
8+
api_instance.delete_action_connection(ACTION_CONNECTION_DATA_ID)

examples/v2/action-connection/DeleteActionConnection_2142905164.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

features/v2/action_connection.feature

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Feature: Action Connection
2424
@team:DataDog/workflow-automation-dev
2525
Scenario: Create a new Action Connection returns "Successfully created Action Connection" response
2626
Given new "CreateActionConnection" request
27-
And body with value {"data":{"type":"action_connection","attributes":{"name":"Cassette Connection DELETE_ME","integration":{"type":"AWS","credentials":{"type":"AWSAssumeRole","role":"MyRoleUpdated","account_id":"123456789123"}}}}}
27+
And body with value {"data":{"type":"action_connection","attributes":{"name":"Cassette Connection {{ unique_lower_alnum }}","integration":{"type":"AWS","credentials":{"type":"AWSAssumeRole","role":"MyRoleUpdated","account_id":"123456789123"}}}}}
2828
When the request is sent
2929
Then the response status is 201 Successfully created Action Connection
3030

@@ -36,20 +36,13 @@ Feature: Action Connection
3636
Then the response status is 404 Not Found
3737

3838
@team:DataDog/workflow-automation-dev
39-
Scenario: Delete an existing Action Connection returns "Successfully deleted Action Connection" response
39+
Scenario: Delete an existing Action Connection returns "The resource was deleted successfully." response
4040
Given there is a valid "action_connection" in the system
4141
And new "DeleteActionConnection" request
4242
And request contains "connection_id" parameter from "action_connection.data.id"
4343
When the request is sent
4444
Then the response status is 204 The resource was deleted successfully.
4545

46-
@generated @skip @team:DataDog/workflow-automation-dev
47-
Scenario: Delete an existing Action Connection returns "The resource was deleted successfully." response
48-
Given new "DeleteActionConnection" request
49-
And request contains "connection_id" parameter from "REPLACE.ME"
50-
When the request is sent
51-
Then the response status is 204 The resource was deleted successfully.
52-
5346
@team:DataDog/workflow-automation-dev
5447
Scenario: Get an existing Action Connection returns "Bad Request" response
5548
Given new "GetActionConnection" request

features/v2/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": [
44
{
55
"name": "body",
6-
"value": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"Cassette Connection DELETE\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"role\": \"MyRole\",\n \"account_id\": \"123456789123\"\n }\n }\n }\n }\n}"
6+
"value": "{\n \"data\": {\n \"type\": \"action_connection\",\n \"attributes\": {\n \"name\": \"Cassette Connection {{ unique_lower_alnum }}\",\n \"integration\": {\n \"type\": \"AWS\",\n \"credentials\": {\n \"type\": \"AWSAssumeRole\",\n \"role\": \"MyRole\",\n \"account_id\": \"123456789123\"\n }\n }\n }\n }\n}"
77
}
88
],
99
"step": "there is a valid \"action_connection\" in the system",

0 commit comments

Comments
 (0)