Skip to content

[CHATINTS-929] Update url for create workflow webhook handle monitor #2594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6",
"regenerated": "2025-06-16 08:24:57.537286",
"spec_repo_commit": "b2c4e7e8"
"regenerated": "2025-06-16 16:45:04.093324",
"spec_repo_commit": "6e1eb13f"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-06-16 08:24:57.552103",
"spec_repo_commit": "b2c4e7e8"
"regenerated": "2025-06-16 16:45:04.108012",
"spec_repo_commit": "6e1eb13f"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
data=MicrosoftTeamsWorkflowsWebhookHandleRequestData(
attributes=MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes(
name="Example-Microsoft-Teams-Integration",
url="https://fake.url.com",
url="https://example.logic.azure.com/workflows/123",
),
type=MicrosoftTeamsWorkflowsWebhookHandleType.WORKFLOWS_WEBHOOK_HANDLE,
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:52.782Z
2025-05-28T18:45:50.103Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012","url":"https://fake.url.com"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950","url":"https://example.logic.azure.com/workflows/123"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
Expand All @@ -10,7 +10,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":{"id":"264ae337-af6e-4c54-8e90-2612426f270e","type":"workflows-webhook-handle","attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1738093012"}}}'
string: '{"data":{"id":"6207c675-cdc3-4cd4-903a-e7a6a3fbac0d","type":"workflows-webhook-handle","attributes":{"name":"Test-Create_workflow_webhook_handle_returns_CREATED_response-1748457950"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -23,7 +23,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/264ae337-af6e-4c54-8e90-2612426f270e
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/6207c675-cdc3-4cd4-903a-e7a6a3fbac0d
response:
body:
string: ''
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.060Z
2025-05-28T18:45:50.331Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1738093013","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
Expand All @@ -10,7 +10,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":{"id":"859e58f9-f63e-4ead-bde4-31265b79c6a7","type":"workflows-webhook-handle","attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1738093013"}}}'
string: '{"data":{"id":"9d270a4a-287c-4225-a1cf-3b657416a471","type":"workflows-webhook-handle","attributes":{"name":"Test-Delete_workflow_webhook_handle_returns_OK_response-1748457950"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -23,7 +23,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471
response:
body:
string: ''
Expand All @@ -37,7 +37,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/859e58f9-f63e-4ead-bde4-31265b79c6a7
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/9d270a4a-287c-4225-a1cf-3b657416a471
response:
body:
string: ''
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.337Z
2025-05-28T18:45:50.625Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
Expand All @@ -10,7 +10,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":{"id":"49cc81df-ccaf-48e3-b532-abf24d3b5287","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013"}}}'
string: '{"data":{"id":"a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -26,7 +26,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":[{"id":"49cc81df-ccaf-48e3-b532-abf24d3b5287","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1738093013"}}]}'
string: '{"data":[{"id":"250dc9c5-c441-4dd5-95af-eff475b0f03a","type":"workflows-webhook-handle","attributes":{"name":"Example-Create_workflow_webhook_handle_returns_CREATED_response_1742407475"}},{"id":"905704d9-dd74-4b4a-9904-3d77aafb2bb7","type":"workflows-webhook-handle","attributes":{"name":"Example-Get_workflow_webhook_handle_information_returns_OK_response_1745273073"}},{"id":"97465cdf-3af2-4e22-bcf1-9cfee14cc54a","type":"workflows-webhook-handle","attributes":{"name":"Example-Update_workflow_webhook_handle_returns_OK_response_1745273074"}},{"id":"612d2d5d-0d3a-417c-91a3-080bdc967d76","type":"workflows-webhook-handle","attributes":{"name":"Example-Delete_workflow_webhook_handle_returns_OK_response_1745273075"}},{"id":"aa140346-f905-4e95-aad6-e50f6ca1a645","type":"workflows-webhook-handle","attributes":{"name":"Example-Create_workflow_webhook_handle_returns_CREATED_response_1745273075"}},{"id":"15dec2cf-1457-41dc-bb81-3fefbdaf37b2","type":"workflows-webhook-handle","attributes":{"name":"Example-Get_all_workflow_webhook_handles_returns_OK_response_1745273074"}},{"id":"a12261ae-dae6-4733-847d-16d4865b94a7","type":"workflows-webhook-handle","attributes":{"name":"Example-Create_workflow_webhook_handle_returns_CREATED_response_1747943050"}},{"id":"a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_all_workflow_webhook_handles_returns_OK_response-1748457950"}}]}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -39,7 +39,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/49cc81df-ccaf-48e3-b532-abf24d3b5287
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/a415a4f2-2b2b-49ad-9f53-3ff6cf5427a4
response:
body:
string: ''
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.606Z
2025-05-28T18:45:51.042Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
Expand All @@ -10,7 +10,7 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":{"id":"cf3d9006-205e-47b2-9e6a-bea534a2d38b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013"}}}'
string: '{"data":{"id":"ac10e097-66cf-4ab3-8659-a6f6c413d51b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -23,10 +23,10 @@ interactions:
accept:
- application/json
method: GET
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b
response:
body:
string: '{"data":{"id":"cf3d9006-205e-47b2-9e6a-bea534a2d38b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1738093013"}}}'
string: '{"data":{"id":"ac10e097-66cf-4ab3-8659-a6f6c413d51b","type":"workflows-webhook-handle","attributes":{"name":"Test-Get_workflow_webhook_handle_information_returns_OK_response-1748457951"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -39,7 +39,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/cf3d9006-205e-47b2-9e6a-bea534a2d38b
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/ac10e097-66cf-4ab3-8659-a6f6c413d51b
response:
body:
string: ''
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-01-28T19:36:53.897Z
2025-05-28T18:45:51.379Z
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951","url":"https://prod-100.westus.logic.azure.com:443/workflows/abcd1234"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
Expand All @@ -10,25 +10,25 @@ interactions:
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
response:
body:
string: '{"data":{"id":"756d04a2-e0b5-439a-9be0-8772b62ba02c","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013"}}}'
string: '{"data":{"id":"5c6eadf5-0758-416a-ab9e-f69aa76d69f1","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951"}}}'
headers:
content-type:
- application/vnd.api+json
status:
code: 201
message: Created
- request:
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated"},"type":"workflows-webhook-handle"}}'
body: '{"data":{"attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated"},"type":"workflows-webhook-handle"}}'
headers:
accept:
- application/json
content-type:
- application/json
method: PATCH
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1
response:
body:
string: '{"data":{"id":"756d04a2-e0b5-439a-9be0-8772b62ba02c","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1738093013--updated"}}}'
string: '{"data":{"id":"5c6eadf5-0758-416a-ab9e-f69aa76d69f1","type":"workflows-webhook-handle","attributes":{"name":"Test-Update_workflow_webhook_handle_returns_OK_response-1748457951--updated"}}}'
headers:
content-type:
- application/vnd.api+json
Expand All @@ -41,7 +41,7 @@ interactions:
accept:
- '*/*'
method: DELETE
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/756d04a2-e0b5-439a-9be0-8772b62ba02c
uri: https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/5c6eadf5-0758-416a-ab9e-f69aa76d69f1
response:
body:
string: ''
Expand Down
2 changes: 1 addition & 1 deletion tests/v2/features/microsoft_teams_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Feature: Microsoft Teams Integration
@team:DataDog/chat-integrations
Scenario: Create workflow webhook handle returns "CREATED" response
Given new "CreateWorkflowsWebhookHandle" request
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://fake.url.com"}, "type": "workflows-webhook-handle"}}
And body with value {"data": {"attributes": {"name": "{{unique}}", "url": "https://example.logic.azure.com/workflows/123"}, "type": "workflows-webhook-handle"}}
When the request is sent
Then the response status is 201 CREATED
And the response "data.attributes.name" is equal to "{{unique}}"
Expand Down