Skip to content

Commit

Permalink
rm web ints (#1859)
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 committed Feb 6, 2024
1 parent 2b282ba commit 57eecfb
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 122 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.6",
"regenerated": "2024-02-05 19:51:56.938870",
"spec_repo_commit": "4e68d2cd"
"regenerated": "2024-02-06 09:57:39.026179",
"spec_repo_commit": "3518f3a0"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-05 19:51:56.952999",
"spec_repo_commit": "4e68d2cd"
"regenerated": "2024-02-06 09:57:39.062425",
"spec_repo_commit": "3518f3a0"
}
}
}
18 changes: 9 additions & 9 deletions tests/v1/features/pagerduty_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,65 +9,65 @@ Feature: PagerDuty Integration
And a valid "appKeyAuth" key in the system
And an instance of "PagerDutyIntegration" API

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Create a new service object returns "Bad Request" response
Given new "CreatePagerDutyIntegrationService" request
And body with value {"service_key": "", "service_name": ""}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Create a new service object returns "OK" response
Given new "CreatePagerDutyIntegrationService" request
And body with value {"service_key": "", "service_name": ""}
When the request is sent
Then the response status is 201 OK

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Delete a single service object returns "Item Not Found" response
Given new "DeletePagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Delete a single service object returns "No Content" response
Given new "DeletePagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 204 No Content

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get a single service object returns "Item Not Found" response
Given new "GetPagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get a single service object returns "OK" response
Given new "GetPagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a single service object returns "Bad Request" response
Given new "UpdatePagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
And body with value {"service_key": ""}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a single service object returns "Item Not Found" response
Given new "UpdatePagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
And body with value {"service_key": ""}
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a single service object returns "OK" response
Given new "UpdatePagerDutyIntegrationService" request
And request contains "service_name" parameter from "REPLACE.ME"
Expand Down
30 changes: 15 additions & 15 deletions tests/v1/features/slack_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,100 +9,100 @@ Feature: Slack Integration
And a valid "appKeyAuth" key in the system
And an instance of "SlackIntegration" API

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Slack integration channel returns "Bad Request" response
Given new "CreateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And body with value {"display": {"message": true, "notified": true, "snapshot": true, "tags": true}, "name": "#general"}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Slack integration channel returns "Item Not Found" response
Given new "CreateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And body with value {"display": {"message": true, "notified": true, "snapshot": true, "tags": true}, "name": "#general"}
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Create a Slack integration channel returns "OK" response
Given new "CreateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And body with value {"display": {"message": true, "notified": true, "snapshot": true, "tags": true}, "name": "#general"}
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Slack integration channel returns "Bad Request" response
Given new "GetSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Slack integration channel returns "Item Not Found" response
Given new "GetSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get a Slack integration channel returns "OK" response
Given new "GetSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get all channels in a Slack integration returns "Bad Request" response
Given new "GetSlackIntegrationChannels" request
And request contains "account_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get all channels in a Slack integration returns "Item Not Found" response
Given new "GetSlackIntegrationChannels" request
And request contains "account_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Get all channels in a Slack integration returns "OK" response
Given new "GetSlackIntegrationChannels" request
And request contains "account_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Remove a Slack integration channel returns "Bad Request" response
Given new "RemoveSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Remove a Slack integration channel returns "Item Not Found" response
Given new "RemoveSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Remove a Slack integration channel returns "The channel was removed successfully." response
Given new "RemoveSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
And request contains "channel_name" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 204 The channel was removed successfully.

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Slack integration channel returns "Bad Request" response
Given new "UpdateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
Expand All @@ -111,7 +111,7 @@ Feature: Slack Integration
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Slack integration channel returns "Item Not Found" response
Given new "UpdateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
Expand All @@ -120,7 +120,7 @@ Feature: Slack Integration
When the request is sent
Then the response status is 404 Item Not Found

@generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
@generated @skip @team:DataDog/saas-integrations
Scenario: Update a Slack integration channel returns "OK" response
Given new "UpdateSlackIntegrationChannel" request
And request contains "account_name" parameter from "REPLACE.ME"
Expand Down
Loading

0 comments on commit 57eecfb

Please sign in to comment.