diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index bed8d5118..590f5d3c1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -121702,9 +121702,6 @@ paths: summary: Aggregate cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/bulk: post: description: Applies a single action (such as changing priority, status, assignment, or archiving) to multiple cases at once. The list of case IDs and the action type with its payload are specified in the request body. @@ -121749,9 +121746,6 @@ paths: summary: Bulk update cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/count: get: description: Returns case counts, optionally grouped by one or more fields (for example, status, priority). Supports a query filter to narrow the scope. @@ -121814,9 +121808,6 @@ paths: summary: Count cases tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link: get: description: Returns all links associated with a case. Links define relationships (for example, BLOCKS) between cases. Requires entity_type and entity_id query parameters. @@ -121880,9 +121871,6 @@ paths: summary: List case links tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a directional link between two cases (for example, case A blocks case B). The parent and child cases and their relationship type must be specified. operationId: CreateCaseLink @@ -121941,9 +121929,6 @@ paths: summary: Create a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/link/{link_id}: delete: description: Deletes an existing link between cases by link ID. @@ -121971,9 +121956,6 @@ paths: summary: Delete a case link tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects: get: description: >- @@ -122100,9 +122082,6 @@ paths: summary: List project favorites tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}: delete: description: Remove a project using the project's `id`. @@ -122249,9 +122228,6 @@ paths: summary: Unfavorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Marks a case project as a favorite for the current authenticated user. operationId: FavoriteCaseProject @@ -122278,9 +122254,6 @@ paths: summary: Favorite a project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/notification_rules: get: description: >- @@ -122542,9 +122515,6 @@ paths: summary: List automation rules tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates an automation rule for a project. The rule defines a trigger event (for example, case created, status transitioned) and an action to execute. operationId: CreateCaseAutomationRule @@ -122618,9 +122588,6 @@ paths: summary: Create an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}: delete: description: Permanently deletes an automation rule from a project. @@ -122651,9 +122618,6 @@ paths: summary: Delete an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single automation rule identified by its UUID, including its trigger, action, and current state (enabled/disabled). operationId: GetCaseAutomationRule @@ -122707,9 +122671,6 @@ paths: summary: Get an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the trigger, action, name, or state of an existing automation rule. operationId: UpdateCaseAutomationRule @@ -122784,9 +122745,6 @@ paths: summary: Update an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/disable: post: description: Disables an automation rule so it no longer triggers on case events. The rule configuration is preserved. @@ -122841,9 +122799,6 @@ paths: summary: Disable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/projects/{project_id}/rules/{rule_id}/enable: post: description: Enables a previously disabled automation rule so it triggers on matching case events. @@ -122898,9 +122853,6 @@ paths: summary: Enable an automation rule tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types: get: description: Get all case types @@ -123085,9 +123037,6 @@ paths: summary: Update a case type tags: - Case Management Type - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/types/{case_type_id}/custom_attributes: get: description: Get all custom attribute config of case type @@ -123261,9 +123210,6 @@ paths: summary: Update custom attribute config tags: - Case Management Attribute - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views: get: description: Returns all saved case views for a given project. Views are saved search queries that allow quick access to filtered lists of cases. @@ -123311,9 +123257,6 @@ paths: summary: List case views tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a new saved case view with a name, filter query, and associated project. Optionally, a notification rule can be linked to the view. operationId: CreateCaseView @@ -123368,9 +123311,6 @@ paths: summary: Create a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/views/{view_id}: delete: description: Permanently deletes a saved case view. @@ -123398,9 +123338,6 @@ paths: summary: Delete a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: Returns a single saved case view identified by its UUID, including its query, associated project, and timestamps. operationId: GetCaseView @@ -123441,9 +123378,6 @@ paths: summary: Get a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, or notification rule of an existing case view. operationId: UpdateCaseView @@ -123498,9 +123432,6 @@ paths: summary: Update a case view tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}: get: description: >- @@ -123860,9 +123791,6 @@ paths: summary: Update case comment tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}: delete: description: Delete custom attribute from case @@ -124102,9 +124030,6 @@ paths: summary: Update case due date tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/insights: delete: description: Removes one or more previously added insights from a case by specifying their type and resource identifier in the request body. @@ -124187,9 +124112,6 @@ paths: summary: Remove insights from a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: >- Adds one or more insights to a case. Insights are references to related Datadog resources (such as monitors, security signals, incidents, or error tracking issues) that provide investigative context. Up to 100 insights can be added per request. Each insight requires a type (see `CaseInsightType` for allowed values), a ref (URL path to the resource), and a resource_id. @@ -124272,9 +124194,6 @@ paths: summary: Add insights to a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -124409,9 +124328,6 @@ paths: summary: Link incident to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/jira_issues: delete: description: Remove the link between a Jira issue and a case @@ -124455,9 +124371,6 @@ paths: summary: Remove Jira issue link from case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). patch: description: Link an existing Jira issue to a case operationId: LinkJiraIssueToCase @@ -124520,9 +124433,6 @@ paths: summary: Link existing Jira issue to case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Create a new Jira issue and link it to a case operationId: CreateCaseJiraIssue @@ -124582,9 +124492,6 @@ paths: summary: Create Jira issue for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/notebook: post: description: Create a new investigation notebook and link it to a case @@ -124640,9 +124547,6 @@ paths: summary: Create investigation notebook for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/project: patch: description: Update the project associated with a case @@ -124714,9 +124618,6 @@ paths: summary: Update case project tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/relationships/servicenow_tickets: post: description: Create a new ServiceNow incident ticket and link it to a case @@ -124775,9 +124676,6 @@ paths: summary: Create ServiceNow ticket for case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/resolved_reason: post: description: Sets the resolved reason for a security case (for example, FALSE_POSITIVE, TRUE_POSITIVE). Applicable to security-type cases. @@ -124841,9 +124739,6 @@ paths: summary: Update case resolved reason tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/status: post: description: Update case status @@ -124973,9 +124868,6 @@ paths: summary: Get case timeline tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/title: post: description: Update case title @@ -125203,9 +125095,6 @@ paths: summary: List case watchers tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/cases/{case_id}/watchers/{user_uuid}: delete: description: Removes a user from the watchers list of a case. The user no longer receives notifications about updates to the case. @@ -125234,9 +125123,6 @@ paths: summary: Unwatch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Adds a user (identified by their UUID) as a watcher of a case. The user receives notifications about subsequent updates to the case. operationId: WatchCase @@ -125264,9 +125150,6 @@ paths: summary: Watch a case tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/catalog/entity: get: description: Get a list of entities from Software Catalog. @@ -158333,9 +158216,6 @@ paths: summary: List maintenance windows tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: Creates a maintenance window for event management cases with a name, case filter query, and time range (start and end). operationId: CreateMaintenanceWindow @@ -158392,9 +158272,6 @@ paths: summary: Create a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/maintenance_windows/{maintenance_window_id}: delete: description: Permanently deletes a maintenance window. @@ -158422,9 +158299,6 @@ paths: summary: Delete a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: Updates the name, query, start time, or end time of an existing maintenance window. operationId: UpdateMaintenanceWindow @@ -158483,9 +158357,6 @@ paths: summary: Update a maintenance window tags: - Case Management - x-unstable: |- - **Note**: This endpoint is in preview and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/metrics: get: description: |- diff --git a/examples/v2_case-management-attribute_UpdateCustomAttributeConfig.rs b/examples/v2_case-management-attribute_UpdateCustomAttributeConfig.rs index 24f5b2590..2cf77d5f9 100644 --- a/examples/v2_case-management-attribute_UpdateCustomAttributeConfig.rs +++ b/examples/v2_case-management-attribute_UpdateCustomAttributeConfig.rs @@ -23,8 +23,7 @@ async fn main() { ])), ), ); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCustomAttributeConfig", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAttributeAPI::with_config(configuration); let resp = api .update_custom_attribute_config( diff --git a/examples/v2_case-management-type_UpdateCaseType.rs b/examples/v2_case-management-type_UpdateCaseType.rs index ae4d46644..138221433 100644 --- a/examples/v2_case-management-type_UpdateCaseType.rs +++ b/examples/v2_case-management-type_UpdateCaseType.rs @@ -15,8 +15,7 @@ async fn main() { .emoji("🕵🏻‍♂️".to_string()), ), ); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseType", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementTypeAPI::with_config(configuration); let resp = api.update_case_type("case_type_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_AddCaseInsights.rs b/examples/v2_case-management_AddCaseInsights.rs index b575c57b5..6a3cc5188 100644 --- a/examples/v2_case-management_AddCaseInsights.rs +++ b/examples/v2_case-management_AddCaseInsights.rs @@ -18,8 +18,7 @@ async fn main() { )]), CaseResourceType::CASE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.AddCaseInsights", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.add_case_insights("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_AggregateCases.rs b/examples/v2_case-management_AggregateCases.rs index b66e81b91..3cb62a006 100644 --- a/examples/v2_case-management_AggregateCases.rs +++ b/examples/v2_case-management_AggregateCases.rs @@ -16,8 +16,7 @@ async fn main() { ), CaseAggregateResourceType::AGGREGATE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.AggregateCases", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.aggregate_cases(body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_BulkUpdateCases.rs b/examples/v2_case-management_BulkUpdateCases.rs index c99cae152..453d2191b 100644 --- a/examples/v2_case-management_BulkUpdateCases.rs +++ b/examples/v2_case-management_BulkUpdateCases.rs @@ -18,8 +18,7 @@ async fn main() { .payload(BTreeMap::from([("priority".to_string(), "P1".to_string())])), CaseBulkResourceType::BULK, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.BulkUpdateCases", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.bulk_update_cases(body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_CountCases.rs b/examples/v2_case-management_CountCases.rs index 9f0cb2855..33adbab3c 100644 --- a/examples/v2_case-management_CountCases.rs +++ b/examples/v2_case-management_CountCases.rs @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::CountCasesOptionalParams #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CountCases", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.count_cases(CountCasesOptionalParams::default()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_CreateCaseAutomationRule.rs b/examples/v2_case-management_CreateCaseAutomationRule.rs index 951784643..36b565434 100644 --- a/examples/v2_case-management_CreateCaseAutomationRule.rs +++ b/examples/v2_case-management_CreateCaseAutomationRule.rs @@ -28,8 +28,7 @@ async fn main() { .state(CaseAutomationRuleState::ENABLED), CaseAutomationRuleResourceType::RULE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .create_case_automation_rule("project_id".to_string(), body) diff --git a/examples/v2_case-management_CreateCaseJiraIssue.rs b/examples/v2_case-management_CreateCaseJiraIssue.rs index 4b6b9c55e..e912154a3 100644 --- a/examples/v2_case-management_CreateCaseJiraIssue.rs +++ b/examples/v2_case-management_CreateCaseJiraIssue.rs @@ -14,8 +14,7 @@ async fn main() { .fields(BTreeMap::from([])), JiraIssueResourceType::ISSUES, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseJiraIssue", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .create_case_jira_issue("case_id".to_string(), body) diff --git a/examples/v2_case-management_CreateCaseLink.rs b/examples/v2_case-management_CreateCaseLink.rs index 3745ad9e8..88446ad17 100644 --- a/examples/v2_case-management_CreateCaseLink.rs +++ b/examples/v2_case-management_CreateCaseLink.rs @@ -18,8 +18,7 @@ async fn main() { ), CaseLinkResourceType::LINK, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseLink", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.create_case_link(body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_CreateCaseNotebook.rs b/examples/v2_case-management_CreateCaseNotebook.rs index 53ca91643..5d37999e6 100644 --- a/examples/v2_case-management_CreateCaseNotebook.rs +++ b/examples/v2_case-management_CreateCaseNotebook.rs @@ -8,8 +8,7 @@ use datadog_api_client::datadogV2::model::NotebookResourceType; #[tokio::main] async fn main() { let body = NotebookCreateRequest::new(NotebookCreateData::new(NotebookResourceType::NOTEBOOK)); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseNotebook", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.create_case_notebook("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_CreateCaseServiceNowTicket.rs b/examples/v2_case-management_CreateCaseServiceNowTicket.rs index f501f5002..b5572d6a0 100644 --- a/examples/v2_case-management_CreateCaseServiceNowTicket.rs +++ b/examples/v2_case-management_CreateCaseServiceNowTicket.rs @@ -13,8 +13,7 @@ async fn main() { .assignment_group("IT Support".to_string()), ServiceNowTicketResourceType::TICKETS, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseServiceNowTicket", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .create_case_service_now_ticket("case_id".to_string(), body) diff --git a/examples/v2_case-management_CreateCaseView.rs b/examples/v2_case-management_CreateCaseView.rs index 5bd222cd2..b5ee9060b 100644 --- a/examples/v2_case-management_CreateCaseView.rs +++ b/examples/v2_case-management_CreateCaseView.rs @@ -16,8 +16,7 @@ async fn main() { ), CaseViewResourceType::VIEW, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateCaseView", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.create_case_view(body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_CreateMaintenanceWindow.rs b/examples/v2_case-management_CreateMaintenanceWindow.rs index dccd30034..3df3ac38e 100644 --- a/examples/v2_case-management_CreateMaintenanceWindow.rs +++ b/examples/v2_case-management_CreateMaintenanceWindow.rs @@ -22,8 +22,7 @@ async fn main() { ), MaintenanceWindowResourceType::MAINTENANCE_WINDOW, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.CreateMaintenanceWindow", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.create_maintenance_window(body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_DeleteCaseAutomationRule.rs b/examples/v2_case-management_DeleteCaseAutomationRule.rs index 7f196fab6..88f0868f6 100644 --- a/examples/v2_case-management_DeleteCaseAutomationRule.rs +++ b/examples/v2_case-management_DeleteCaseAutomationRule.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.DeleteCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .delete_case_automation_rule("project_id".to_string(), "rule_id".to_string()) diff --git a/examples/v2_case-management_DeleteCaseLink.rs b/examples/v2_case-management_DeleteCaseLink.rs index 331b0bafe..955139e7e 100644 --- a/examples/v2_case-management_DeleteCaseLink.rs +++ b/examples/v2_case-management_DeleteCaseLink.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.DeleteCaseLink", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .delete_case_link("804cd682-55f6-4541-ab00-b608b282ea7d".to_string()) diff --git a/examples/v2_case-management_DeleteCaseView.rs b/examples/v2_case-management_DeleteCaseView.rs index a644b81ac..1014d0acb 100644 --- a/examples/v2_case-management_DeleteCaseView.rs +++ b/examples/v2_case-management_DeleteCaseView.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.DeleteCaseView", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.delete_case_view("view_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_DeleteMaintenanceWindow.rs b/examples/v2_case-management_DeleteMaintenanceWindow.rs index 3707b8ab4..547fbe5d5 100644 --- a/examples/v2_case-management_DeleteMaintenanceWindow.rs +++ b/examples/v2_case-management_DeleteMaintenanceWindow.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.DeleteMaintenanceWindow", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .delete_maintenance_window("maintenance_window_id".to_string()) diff --git a/examples/v2_case-management_DisableCaseAutomationRule.rs b/examples/v2_case-management_DisableCaseAutomationRule.rs index 8b7d22003..fb4d794b3 100644 --- a/examples/v2_case-management_DisableCaseAutomationRule.rs +++ b/examples/v2_case-management_DisableCaseAutomationRule.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.DisableCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .disable_case_automation_rule("project_id".to_string(), "rule_id".to_string()) diff --git a/examples/v2_case-management_EnableCaseAutomationRule.rs b/examples/v2_case-management_EnableCaseAutomationRule.rs index c5b39fca4..27ee38fb3 100644 --- a/examples/v2_case-management_EnableCaseAutomationRule.rs +++ b/examples/v2_case-management_EnableCaseAutomationRule.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.EnableCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .enable_case_automation_rule("project_id".to_string(), "rule_id".to_string()) diff --git a/examples/v2_case-management_FavoriteCaseProject.rs b/examples/v2_case-management_FavoriteCaseProject.rs index ec2dde355..688b0ab4b 100644 --- a/examples/v2_case-management_FavoriteCaseProject.rs +++ b/examples/v2_case-management_FavoriteCaseProject.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.FavoriteCaseProject", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.favorite_case_project("project_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_GetCaseAutomationRule.rs b/examples/v2_case-management_GetCaseAutomationRule.rs index 4b3eaef19..ee69ecb95 100644 --- a/examples/v2_case-management_GetCaseAutomationRule.rs +++ b/examples/v2_case-management_GetCaseAutomationRule.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.GetCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .get_case_automation_rule("project_id".to_string(), "rule_id".to_string()) diff --git a/examples/v2_case-management_GetCaseView.rs b/examples/v2_case-management_GetCaseView.rs index e5d7c7ea3..c60a94e68 100644 --- a/examples/v2_case-management_GetCaseView.rs +++ b/examples/v2_case-management_GetCaseView.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.GetCaseView", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.get_case_view("view_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_LinkIncident.rs b/examples/v2_case-management_LinkIncident.rs index 2a10cdc79..159751dc0 100644 --- a/examples/v2_case-management_LinkIncident.rs +++ b/examples/v2_case-management_LinkIncident.rs @@ -11,8 +11,7 @@ async fn main() { "00000000-0000-0000-0000-000000000000".to_string(), IncidentResourceType::INCIDENTS, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.LinkIncident", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.link_incident("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_LinkJiraIssueToCase.rs b/examples/v2_case-management_LinkJiraIssueToCase.rs index 76d214885..e880f7e96 100644 --- a/examples/v2_case-management_LinkJiraIssueToCase.rs +++ b/examples/v2_case-management_LinkJiraIssueToCase.rs @@ -12,8 +12,7 @@ async fn main() { JiraIssueLinkAttributes::new("https://jira.example.com/browse/PROJ-123".to_string()), JiraIssueResourceType::ISSUES, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.LinkJiraIssueToCase", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .link_jira_issue_to_case("case_id".to_string(), body) diff --git a/examples/v2_case-management_ListCaseAutomationRules.rs b/examples/v2_case-management_ListCaseAutomationRules.rs index ee69f4468..9dc3f7b30 100644 --- a/examples/v2_case-management_ListCaseAutomationRules.rs +++ b/examples/v2_case-management_ListCaseAutomationRules.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListCaseAutomationRules", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .list_case_automation_rules("project_id".to_string()) diff --git a/examples/v2_case-management_ListCaseLinks.rs b/examples/v2_case-management_ListCaseLinks.rs index cb078da5a..5fcf5fce0 100644 --- a/examples/v2_case-management_ListCaseLinks.rs +++ b/examples/v2_case-management_ListCaseLinks.rs @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::ListCaseLinksOptionalPar #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListCaseLinks", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .list_case_links( diff --git a/examples/v2_case-management_ListCaseTimeline.rs b/examples/v2_case-management_ListCaseTimeline.rs index eb0069fd8..41baa4836 100644 --- a/examples/v2_case-management_ListCaseTimeline.rs +++ b/examples/v2_case-management_ListCaseTimeline.rs @@ -5,8 +5,7 @@ use datadog_api_client::datadogV2::api_case_management::ListCaseTimelineOptional #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListCaseTimeline", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .list_case_timeline( diff --git a/examples/v2_case-management_ListCaseViews.rs b/examples/v2_case-management_ListCaseViews.rs index a7732bb50..2000d27ce 100644 --- a/examples/v2_case-management_ListCaseViews.rs +++ b/examples/v2_case-management_ListCaseViews.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListCaseViews", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.list_case_views("project_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_ListCaseWatchers.rs b/examples/v2_case-management_ListCaseWatchers.rs index 3a09bd5c0..b7f4171d0 100644 --- a/examples/v2_case-management_ListCaseWatchers.rs +++ b/examples/v2_case-management_ListCaseWatchers.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListCaseWatchers", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.list_case_watchers("case_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_ListMaintenanceWindows.rs b/examples/v2_case-management_ListMaintenanceWindows.rs index 429f008a4..76c8bd4cc 100644 --- a/examples/v2_case-management_ListMaintenanceWindows.rs +++ b/examples/v2_case-management_ListMaintenanceWindows.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListMaintenanceWindows", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.list_maintenance_windows().await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_ListUserCaseProjectFavorites.rs b/examples/v2_case-management_ListUserCaseProjectFavorites.rs index af5a49d4a..676540bea 100644 --- a/examples/v2_case-management_ListUserCaseProjectFavorites.rs +++ b/examples/v2_case-management_ListUserCaseProjectFavorites.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.ListUserCaseProjectFavorites", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.list_user_case_project_favorites().await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_MoveCaseToProject.rs b/examples/v2_case-management_MoveCaseToProject.rs index 535f5d603..b6ccfee43 100644 --- a/examples/v2_case-management_MoveCaseToProject.rs +++ b/examples/v2_case-management_MoveCaseToProject.rs @@ -11,8 +11,7 @@ async fn main() { "e555e290-ed65-49bd-ae18-8acbfcf18db7".to_string(), ProjectResourceType::PROJECT, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.MoveCaseToProject", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.move_case_to_project("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_RemoveCaseInsights.rs b/examples/v2_case-management_RemoveCaseInsights.rs index ae6dd64fc..f19a51cc3 100644 --- a/examples/v2_case-management_RemoveCaseInsights.rs +++ b/examples/v2_case-management_RemoveCaseInsights.rs @@ -18,8 +18,7 @@ async fn main() { )]), CaseResourceType::CASE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.RemoveCaseInsights", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.remove_case_insights("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_UnfavoriteCaseProject.rs b/examples/v2_case-management_UnfavoriteCaseProject.rs index 6eaa1fc64..d5c049ca8 100644 --- a/examples/v2_case-management_UnfavoriteCaseProject.rs +++ b/examples/v2_case-management_UnfavoriteCaseProject.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UnfavoriteCaseProject", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.unfavorite_case_project("project_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_UnlinkJiraIssue.rs b/examples/v2_case-management_UnlinkJiraIssue.rs index 19e2e693b..ec27f3d2c 100644 --- a/examples/v2_case-management_UnlinkJiraIssue.rs +++ b/examples/v2_case-management_UnlinkJiraIssue.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UnlinkJiraIssue", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.unlink_jira_issue("case_id".to_string()).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_UnwatchCase.rs b/examples/v2_case-management_UnwatchCase.rs index cd1361b83..e858d04cc 100644 --- a/examples/v2_case-management_UnwatchCase.rs +++ b/examples/v2_case-management_UnwatchCase.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UnwatchCase", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .unwatch_case("case_id".to_string(), "user_uuid".to_string()) diff --git a/examples/v2_case-management_UpdateCaseAutomationRule.rs b/examples/v2_case-management_UpdateCaseAutomationRule.rs index 06f007092..afedadce4 100644 --- a/examples/v2_case-management_UpdateCaseAutomationRule.rs +++ b/examples/v2_case-management_UpdateCaseAutomationRule.rs @@ -29,8 +29,7 @@ async fn main() { .state(CaseAutomationRuleState::ENABLED), ), ); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseAutomationRule", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .update_case_automation_rule("project_id".to_string(), "rule_id".to_string(), body) diff --git a/examples/v2_case-management_UpdateCaseComment.rs b/examples/v2_case-management_UpdateCaseComment.rs index 23c24a030..140293a0a 100644 --- a/examples/v2_case-management_UpdateCaseComment.rs +++ b/examples/v2_case-management_UpdateCaseComment.rs @@ -12,8 +12,7 @@ async fn main() { CaseUpdateCommentAttributes::new("Updated comment text".to_string()), CaseResourceType::CASE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseComment", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .update_case_comment("case_id".to_string(), "cell_id".to_string(), body) diff --git a/examples/v2_case-management_UpdateCaseDueDate.rs b/examples/v2_case-management_UpdateCaseDueDate.rs index bd036b9f3..26aa40c7f 100644 --- a/examples/v2_case-management_UpdateCaseDueDate.rs +++ b/examples/v2_case-management_UpdateCaseDueDate.rs @@ -12,8 +12,7 @@ async fn main() { CaseUpdateDueDateAttributes::new("2026-12-31".to_string()), CaseResourceType::CASE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseDueDate", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.update_case_due_date("case_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_UpdateCaseResolvedReason.rs b/examples/v2_case-management_UpdateCaseResolvedReason.rs index c4a52a0fe..909a1600f 100644 --- a/examples/v2_case-management_UpdateCaseResolvedReason.rs +++ b/examples/v2_case-management_UpdateCaseResolvedReason.rs @@ -12,8 +12,7 @@ async fn main() { CaseUpdateResolvedReasonAttributes::new("FALSE_POSITIVE".to_string()), CaseResourceType::CASE, )); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseResolvedReason", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .update_case_resolved_reason("case_id".to_string(), body) diff --git a/examples/v2_case-management_UpdateCaseView.rs b/examples/v2_case-management_UpdateCaseView.rs index 383b9dcab..34aa3c61b 100644 --- a/examples/v2_case-management_UpdateCaseView.rs +++ b/examples/v2_case-management_UpdateCaseView.rs @@ -11,8 +11,7 @@ async fn main() { let body = CaseViewUpdateRequest::new( CaseViewUpdate::new(CaseViewResourceType::VIEW).attributes(CaseViewUpdateAttributes::new()), ); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateCaseView", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api.update_case_view("view_id".to_string(), body).await; if let Ok(value) = resp { diff --git a/examples/v2_case-management_UpdateMaintenanceWindow.rs b/examples/v2_case-management_UpdateMaintenanceWindow.rs index 866e1fb15..565eed53d 100644 --- a/examples/v2_case-management_UpdateMaintenanceWindow.rs +++ b/examples/v2_case-management_UpdateMaintenanceWindow.rs @@ -12,8 +12,7 @@ async fn main() { MaintenanceWindowUpdate::new(MaintenanceWindowResourceType::MAINTENANCE_WINDOW) .attributes(MaintenanceWindowUpdateAttributes::new()), ); - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.UpdateMaintenanceWindow", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .update_maintenance_window("maintenance_window_id".to_string(), body) diff --git a/examples/v2_case-management_WatchCase.rs b/examples/v2_case-management_WatchCase.rs index da970a958..1b30fc786 100644 --- a/examples/v2_case-management_WatchCase.rs +++ b/examples/v2_case-management_WatchCase.rs @@ -4,8 +4,7 @@ use datadog_api_client::datadogV2::api_case_management::CaseManagementAPI; #[tokio::main] async fn main() { - let mut configuration = datadog::Configuration::new(); - configuration.set_unstable_operation_enabled("v2.WatchCase", true); + let configuration = datadog::Configuration::new(); let api = CaseManagementAPI::with_config(configuration); let resp = api .watch_case("case_id".to_string(), "user_uuid".to_string()) diff --git a/src/datadog/configuration.rs b/src/datadog/configuration.rs index e61234317..5bad27ded 100644 --- a/src/datadog/configuration.rs +++ b/src/datadog/configuration.rs @@ -246,49 +246,6 @@ impl Default for Configuration { ("v2.get_investigation".to_owned(), false), ("v2.list_investigations".to_owned(), false), ("v2.trigger_investigation".to_owned(), false), - ("v2.add_case_insights".to_owned(), false), - ("v2.aggregate_cases".to_owned(), false), - ("v2.bulk_update_cases".to_owned(), false), - ("v2.count_cases".to_owned(), false), - ("v2.create_case_automation_rule".to_owned(), false), - ("v2.create_case_jira_issue".to_owned(), false), - ("v2.create_case_link".to_owned(), false), - ("v2.create_case_notebook".to_owned(), false), - ("v2.create_case_service_now_ticket".to_owned(), false), - ("v2.create_case_view".to_owned(), false), - ("v2.create_maintenance_window".to_owned(), false), - ("v2.delete_case_automation_rule".to_owned(), false), - ("v2.delete_case_link".to_owned(), false), - ("v2.delete_case_view".to_owned(), false), - ("v2.delete_maintenance_window".to_owned(), false), - ("v2.disable_case_automation_rule".to_owned(), false), - ("v2.enable_case_automation_rule".to_owned(), false), - ("v2.favorite_case_project".to_owned(), false), - ("v2.get_case_automation_rule".to_owned(), false), - ("v2.get_case_view".to_owned(), false), - ("v2.link_incident".to_owned(), false), - ("v2.link_jira_issue_to_case".to_owned(), false), - ("v2.list_case_automation_rules".to_owned(), false), - ("v2.list_case_links".to_owned(), false), - ("v2.list_case_timeline".to_owned(), false), - ("v2.list_case_views".to_owned(), false), - ("v2.list_case_watchers".to_owned(), false), - ("v2.list_maintenance_windows".to_owned(), false), - ("v2.list_user_case_project_favorites".to_owned(), false), - ("v2.move_case_to_project".to_owned(), false), - ("v2.remove_case_insights".to_owned(), false), - ("v2.unfavorite_case_project".to_owned(), false), - ("v2.unlink_jira_issue".to_owned(), false), - ("v2.unwatch_case".to_owned(), false), - ("v2.update_case_automation_rule".to_owned(), false), - ("v2.update_case_comment".to_owned(), false), - ("v2.update_case_due_date".to_owned(), false), - ("v2.update_case_resolved_reason".to_owned(), false), - ("v2.update_case_view".to_owned(), false), - ("v2.update_maintenance_window".to_owned(), false), - ("v2.watch_case".to_owned(), false), - ("v2.update_case_type".to_owned(), false), - ("v2.update_custom_attribute_config".to_owned(), false), ("v2.create_change_request".to_owned(), false), ("v2.create_change_request_branch".to_owned(), false), ("v2.delete_change_request_decision".to_owned(), false), diff --git a/src/datadogV2/api/api_case_management.rs b/src/datadogV2/api/api_case_management.rs index fa67370bc..474c58859 100644 --- a/src/datadogV2/api/api_case_management.rs +++ b/src/datadogV2/api/api_case_management.rs @@ -8,7 +8,6 @@ use flate2::{ Compression, }; use futures_core::stream::Stream; -use log::warn; use reqwest::header::{HeaderMap, HeaderValue}; use serde::{Deserialize, Serialize}; use std::io::Write; @@ -775,14 +774,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.add_case_insights"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.add_case_insights' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -935,14 +926,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.aggregate_cases"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.aggregate_cases' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -1388,14 +1371,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.bulk_update_cases"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.bulk_update_cases' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -1694,14 +1669,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.count_cases"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.count_cases' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } // unbox and build optional parameters let query_filter = params.query_filter; @@ -1980,14 +1947,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.create_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2135,14 +2094,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.create_case_jira_issue"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_jira_issue' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2290,14 +2241,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.create_case_link"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_link' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2443,14 +2386,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.create_case_notebook"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_notebook' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2591,14 +2526,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.create_case_service_now_ticket"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_service_now_ticket' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2746,14 +2673,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.create_case_view"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_case_view' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -2908,14 +2827,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.create_maintenance_window"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.create_maintenance_window' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -3373,14 +3284,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.delete_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.delete_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -3675,14 +3578,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.delete_case_link"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.delete_case_link' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -3771,14 +3666,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.delete_case_view"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.delete_case_view' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -3870,14 +3757,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.delete_maintenance_window"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.delete_maintenance_window' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -4168,14 +4047,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.disable_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.disable_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -4291,14 +4162,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.enable_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.enable_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -4395,14 +4258,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.favorite_case_project"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.favorite_case_project' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -4613,14 +4468,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.get_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.get_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -4728,14 +4575,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.get_case_view"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.get_case_view' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -5158,14 +4997,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.link_incident"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.link_incident' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -5310,14 +5141,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.link_jira_issue_to_case"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.link_jira_issue_to_case' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -5470,14 +5293,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_case_automation_rules"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_case_automation_rules' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -5592,14 +5407,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_case_links"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_case_links' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } // unbox and build optional parameters let relationship = params.relationship; @@ -5720,14 +5527,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_case_timeline"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_case_timeline' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } // unbox and build optional parameters let page_size = params.page_size; @@ -5852,14 +5651,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_case_views"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_case_views' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -5967,14 +5758,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_case_watchers"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_case_watchers' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -6082,14 +5865,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_maintenance_windows"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_maintenance_windows' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -6196,14 +5971,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.list_user_case_project_favorites"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.list_user_case_project_favorites' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -6314,14 +6081,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.move_case_to_project"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.move_case_to_project' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -6479,14 +6238,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.remove_case_insights"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.remove_case_insights' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -7097,14 +6848,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.unfavorite_case_project"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.unfavorite_case_project' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -7193,14 +6936,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.unlink_jira_issue"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.unlink_jira_issue' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -7291,14 +7026,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.unwatch_case"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.unwatch_case' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -7561,14 +7288,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_case_automation_rule"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_automation_rule' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -7719,14 +7438,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.update_case_comment"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_comment' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -8196,14 +7907,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_case_due_date"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_due_date' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -8361,14 +8064,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_case_resolved_reason"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_resolved_reason' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -8676,14 +8371,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_case_view"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_view' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -8844,14 +8531,6 @@ impl CaseManagementAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_maintenance_window"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_maintenance_window' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; @@ -9598,14 +9277,6 @@ impl CaseManagementAPI { ) -> Result, datadog::Error> { let local_configuration = &self.config; let operation_id = "v2.watch_case"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.watch_case' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; diff --git a/src/datadogV2/api/api_case_management_attribute.rs b/src/datadogV2/api/api_case_management_attribute.rs index d02ef1a91..d3f9c8e21 100644 --- a/src/datadogV2/api/api_case_management_attribute.rs +++ b/src/datadogV2/api/api_case_management_attribute.rs @@ -6,7 +6,6 @@ use flate2::{ write::{GzEncoder, ZlibEncoder}, Compression, }; -use log::warn; use reqwest::header::{HeaderMap, HeaderValue}; use serde::{Deserialize, Serialize}; use std::io::Write; @@ -638,14 +637,6 @@ impl CaseManagementAttributeAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_custom_attribute_config"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_custom_attribute_config' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; diff --git a/src/datadogV2/api/api_case_management_type.rs b/src/datadogV2/api/api_case_management_type.rs index 946fcbfa7..934d03766 100644 --- a/src/datadogV2/api/api_case_management_type.rs +++ b/src/datadogV2/api/api_case_management_type.rs @@ -6,7 +6,6 @@ use flate2::{ write::{GzEncoder, ZlibEncoder}, Compression, }; -use log::warn; use reqwest::header::{HeaderMap, HeaderValue}; use serde::{Deserialize, Serialize}; use std::io::Write; @@ -495,14 +494,6 @@ impl CaseManagementTypeAPI { > { let local_configuration = &self.config; let operation_id = "v2.update_case_type"; - if local_configuration.is_unstable_operation_enabled(operation_id) { - warn!("Using unstable operation {operation_id}"); - } else { - let local_error = datadog::UnstableOperationDisabledError { - msg: "Operation 'v2.update_case_type' is not enabled".to_string(), - }; - return Err(datadog::Error::UnstableOperationDisabledError(local_error)); - } let local_client = &self.client; diff --git a/tests/scenarios/features/v2/case_management.feature b/tests/scenarios/features/v2/case_management.feature index 04f9d8e06..8e2e9f6f6 100644 --- a/tests/scenarios/features/v2/case_management.feature +++ b/tests/scenarios/features/v2/case_management.feature @@ -12,8 +12,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Bad Request" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -21,8 +20,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "Not Found" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -30,8 +28,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Add insights to a case returns "OK" response - Given operation "AddCaseInsights" enabled - And new "AddCaseInsights" request + Given new "AddCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -39,24 +36,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Bad Request" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "Not Found" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Aggregate cases returns "OK" response - Given operation "AggregateCases" enabled - And new "AggregateCases" request + Given new "AggregateCases" request And body with value {"data": {"attributes": {"group_by": {"groups": ["status"], "limit": 14}, "query_filter": "service:case-api"}, "type": "aggregate"}} When the request is sent Then the response status is 200 OK @@ -117,24 +111,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Bad Request" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "Not Found" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Bulk update cases returns "OK" response - Given operation "BulkUpdateCases" enabled - And new "BulkUpdateCases" request + Given new "BulkUpdateCases" request And body with value {"data": {"attributes": {"case_ids": ["case-id-1", "case-id-2"], "payload": {"priority": "P1"}, "type": "priority"}, "type": "bulk"}} When the request is sent Then the response status is 200 OK @@ -167,29 +158,25 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Bad Request" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Count cases returns "Not Found" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Count cases returns "OK" response - Given operation "CountCases" enabled - And new "CountCases" request + Given new "CountCases" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Accepted" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -197,8 +184,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Bad Request" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -206,8 +192,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create Jira issue for case returns "Not Found" response - Given operation "CreateCaseJiraIssue" enabled - And new "CreateCaseJiraIssue" request + Given new "CreateCaseJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"fields": {}, "issue_type_id": "10001", "jira_account_id": "1234", "project_id": "5678"}, "type": "issues"}} When the request is sent @@ -215,8 +200,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Accepted" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -224,8 +208,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Bad Request" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -233,8 +216,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create ServiceNow ticket for case returns "Not Found" response - Given operation "CreateCaseServiceNowTicket" enabled - And new "CreateCaseServiceNowTicket" request + Given new "CreateCaseServiceNowTicket" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group": "IT Support", "instance_name": "my-instance"}, "type": "tickets"}} When the request is sent @@ -242,24 +224,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Bad Request" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Created" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case link returns "Not Found" response - Given operation "CreateCaseLink" enabled - And new "CreateCaseLink" request + Given new "CreateCaseLink" request And body with value {"data": {"attributes": {"child_entity_id": "4417921d-0866-4a38-822c-6f2a0f65f77d", "child_entity_type": "CASE", "parent_entity_id": "bf0cbac6-4c16-4cfb-b6bf-ca5e0ec37a4f", "parent_entity_type": "CASE", "relationship": "BLOCKS"}, "type": "link"}} When the request is sent Then the response status is 404 Not Found @@ -292,48 +271,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Bad Request" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Created" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a case view returns "Not Found" response - Given operation "CreateCaseView" enabled - And new "CreateCaseView" request + Given new "CreateCaseView" request And body with value {"data": {"attributes": {"name": "Open bugs", "project_id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "query": "status:open type:bug"}, "type": "view"}} When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Bad Request" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Created" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 201 Created @generated @skip @team:DataDog/case-management Scenario: Create a maintenance window returns "Not Found" response - Given operation "CreateMaintenanceWindow" enabled - And new "CreateMaintenanceWindow" request + Given new "CreateMaintenanceWindow" request And body with value {"data": {"attributes": {"end_at": "2026-06-01T06:00:00Z", "name": "Weekly maintenance", "query": "project:SEC", "start_at": "2026-06-01T00:00:00Z"}, "type": "maintenance_window"}} When the request is sent Then the response status is 404 Not Found @@ -385,8 +358,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Bad Request" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -394,8 +366,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Created" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -403,8 +374,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create an automation rule returns "Not Found" response - Given operation "CreateCaseAutomationRule" enabled - And new "CreateCaseAutomationRule" request + Given new "CreateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} When the request is sent @@ -412,8 +382,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Bad Request" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -421,8 +390,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "No Content" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -430,8 +398,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Create investigation notebook for case returns "Not Found" response - Given operation "CreateCaseNotebook" enabled - And new "CreateCaseNotebook" request + Given new "CreateCaseNotebook" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"type": "notebook"}} When the request is sent @@ -439,72 +406,63 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Bad Request" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "No Content" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case link returns "Not Found" response - Given operation "DeleteCaseLink" enabled - And new "DeleteCaseLink" request + Given new "DeleteCaseLink" request And request contains "link_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Bad Request" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "No Content" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a case view returns "Not Found" response - Given operation "DeleteCaseView" enabled - And new "DeleteCaseView" request + Given new "DeleteCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Bad Request" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "No Content" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Delete a maintenance window returns "Not Found" response - Given operation "DeleteMaintenanceWindow" enabled - And new "DeleteMaintenanceWindow" request + Given new "DeleteMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -527,8 +485,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "No Content" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -536,8 +493,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Delete an automation rule returns "Not Found" response - Given operation "DeleteCaseAutomationRule" enabled - And new "DeleteCaseAutomationRule" request + Given new "DeleteCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -593,8 +549,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Bad Request" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -602,8 +557,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "Not Found" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -611,8 +565,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Disable an automation rule returns "OK" response - Given operation "DisableCaseAutomationRule" enabled - And new "DisableCaseAutomationRule" request + Given new "DisableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -620,8 +573,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Bad Request" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -629,8 +581,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "Not Found" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -638,8 +589,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Enable an automation rule returns "OK" response - Given operation "EnableCaseAutomationRule" enabled - And new "EnableCaseAutomationRule" request + Given new "EnableCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -647,48 +597,42 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Bad Request" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "No Content" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Favorite a project returns "Not Found" response - Given operation "FavoriteCaseProject" enabled - And new "FavoriteCaseProject" request + Given new "FavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Bad Request" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "Not Found" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get a case view returns "OK" response - Given operation "GetCaseView" enabled - And new "GetCaseView" request + Given new "GetCaseView" request And request contains "view_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -713,8 +657,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Bad Request" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -722,8 +665,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "Not Found" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -731,8 +673,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get an automation rule returns "OK" response - Given operation "GetCaseAutomationRule" enabled - And new "GetCaseAutomationRule" request + Given new "GetCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" When the request is sent @@ -740,24 +681,21 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Bad Request" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "Not Found" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Get case timeline returns "OK" response - Given operation "ListCaseTimeline" enabled - And new "ListCaseTimeline" request + Given new "ListCaseTimeline" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @@ -829,8 +767,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Bad Request" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -838,8 +775,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Conflict" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -847,8 +783,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "No Content" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -856,8 +791,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link existing Jira issue to case returns "Not Found" response - Given operation "LinkJiraIssueToCase" enabled - And new "LinkJiraIssueToCase" request + Given new "LinkJiraIssueToCase" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"jira_issue_url": "https://jira.example.com/browse/PROJ-123"}, "type": "issues"}} When the request is sent @@ -865,8 +799,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Bad Request" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -874,8 +807,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Created" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -883,8 +815,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Link incident to case returns "Not Found" response - Given operation "LinkIncident" enabled - And new "LinkIncident" request + Given new "LinkIncident" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "incidents"}} When the request is sent @@ -892,32 +823,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Bad Request" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "Not Found" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List automation rules returns "OK" response - Given operation "ListCaseAutomationRules" enabled - And new "ListCaseAutomationRules" request + Given new "ListCaseAutomationRules" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case links returns "Bad Request" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -925,8 +852,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "Not Found" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -934,8 +860,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case links returns "OK" response - Given operation "ListCaseLinks" enabled - And new "ListCaseLinks" request + Given new "ListCaseLinks" request And request contains "entity_type" parameter from "REPLACE.ME" And request contains "entity_id" parameter from "REPLACE.ME" When the request is sent @@ -943,114 +868,99 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: List case views returns "Bad Request" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case views returns "Not Found" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case views returns "OK" response - Given operation "ListCaseViews" enabled - And new "ListCaseViews" request + Given new "ListCaseViews" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Bad Request" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "Not Found" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List case watchers returns "OK" response - Given operation "ListCaseWatchers" enabled - And new "ListCaseWatchers" request + Given new "ListCaseWatchers" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Bad Request" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "Not Found" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List maintenance windows returns "OK" response - Given operation "ListMaintenanceWindows" enabled - And new "ListMaintenanceWindows" request + Given new "ListMaintenanceWindows" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Bad Request" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "Not Found" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: List project favorites returns "OK" response - Given operation "ListUserCaseProjectFavorites" enabled - And new "ListUserCaseProjectFavorites" request + Given new "ListUserCaseProjectFavorites" request When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Bad Request" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "No Content" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Remove Jira issue link from case returns "Not Found" response - Given operation "UnlinkJiraIssue" enabled - And new "UnlinkJiraIssue" request + Given new "UnlinkJiraIssue" request And request contains "case_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @@ -1071,8 +981,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Bad Request" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1080,8 +989,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "Not Found" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1089,8 +997,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Remove insights from a case returns "OK" response - Given operation "RemoveCaseInsights" enabled - And new "RemoveCaseInsights" request + Given new "RemoveCaseInsights" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"insights": [{"ref": "/monitors/12345?q=total", "resource_id": "12345", "type": "SECURITY_SIGNAL"}]}, "type": "case"}} When the request is sent @@ -1177,32 +1084,28 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Bad Request" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "No Content" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:DataDog/case-management Scenario: Unfavorite a project returns "Not Found" response - Given operation "UnfavoriteCaseProject" enabled - And new "UnfavoriteCaseProject" request + Given new "UnfavoriteCaseProject" request And request contains "project_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Bad Request" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1210,8 +1113,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "No Content" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1219,8 +1121,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Unwatch a case returns "Not Found" response - Given operation "UnwatchCase" enabled - And new "UnwatchCase" request + Given new "UnwatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1228,8 +1129,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Bad Request" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1237,8 +1137,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "Not Found" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1246,8 +1145,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a case view returns "OK" response - Given operation "UpdateCaseView" enabled - And new "UpdateCaseView" request + Given new "UpdateCaseView" request And request contains "view_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "view"}} When the request is sent @@ -1255,8 +1153,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Bad Request" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1264,8 +1161,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "Not Found" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1273,8 +1169,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update a maintenance window returns "OK" response - Given operation "UpdateMaintenanceWindow" enabled - And new "UpdateMaintenanceWindow" request + Given new "UpdateMaintenanceWindow" request And request contains "maintenance_window_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {}, "type": "maintenance_window"}} When the request is sent @@ -1335,8 +1230,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Bad Request" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1345,8 +1239,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "Not Found" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1355,8 +1248,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update an automation rule returns "OK" response - Given operation "UpdateCaseAutomationRule" enabled - And new "UpdateCaseAutomationRule" request + Given new "UpdateCaseAutomationRule" request And request contains "project_id" parameter from "REPLACE.ME" And request contains "rule_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"action": {"data": {"handle": "workflow-handle-123"}, "type": "execute_workflow"}, "name": "Auto-assign workflow", "state": "ENABLED", "trigger": {"data": {}, "type": "case_created"}}, "type": "rule"}} @@ -1391,8 +1283,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Bad Request" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1401,8 +1292,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "Not Found" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1411,8 +1301,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case comment returns "OK" response - Given operation "UpdateCaseComment" enabled - And new "UpdateCaseComment" request + Given new "UpdateCaseComment" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "cell_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"comment": "Updated comment text"}, "type": "case"}} @@ -1481,8 +1370,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Bad Request" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1490,8 +1378,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "Not Found" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1499,8 +1386,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case due date returns "OK" response - Given operation "UpdateCaseDueDate" enabled - And new "UpdateCaseDueDate" request + Given new "UpdateCaseDueDate" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"due_date": "2026-12-31"}, "type": "case"}} When the request is sent @@ -1535,8 +1421,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Bad Request" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1544,8 +1429,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "Not Found" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1553,8 +1437,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case project returns "OK" response - Given operation "MoveCaseToProject" enabled - And new "MoveCaseToProject" request + Given new "MoveCaseToProject" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}} When the request is sent @@ -1562,8 +1445,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Bad Request" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1571,8 +1453,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "Not Found" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1580,8 +1461,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Update case resolved reason returns "OK" response - Given operation "UpdateCaseResolvedReason" enabled - And new "UpdateCaseResolvedReason" request + Given new "UpdateCaseResolvedReason" request And request contains "case_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"security_resolved_reason": "FALSE_POSITIVE"}, "type": "case"}} When the request is sent @@ -1642,8 +1522,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Bad Request" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1651,8 +1530,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Created" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent @@ -1660,8 +1538,7 @@ Feature: Case Management @generated @skip @team:DataDog/case-management Scenario: Watch a case returns "Not Found" response - Given operation "WatchCase" enabled - And new "WatchCase" request + Given new "WatchCase" request And request contains "case_id" parameter from "REPLACE.ME" And request contains "user_uuid" parameter from "REPLACE.ME" When the request is sent diff --git a/tests/scenarios/features/v2/case_management_attribute.feature b/tests/scenarios/features/v2/case_management_attribute.feature index 47806e809..b7e100610 100644 --- a/tests/scenarios/features/v2/case_management_attribute.feature +++ b/tests/scenarios/features/v2/case_management_attribute.feature @@ -78,8 +78,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Bad Request" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -88,8 +87,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "Not Found" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} @@ -98,8 +96,7 @@ Feature: Case Management Attribute @generated @skip @team:DataDog/case-management Scenario: Update custom attribute config returns "OK" response - Given operation "UpdateCustomAttributeConfig" enabled - And new "UpdateCustomAttributeConfig" request + Given new "UpdateCustomAttributeConfig" request And request contains "case_type_id" parameter from "REPLACE.ME" And request contains "custom_attribute_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Updated description.", "display_name": "AWS Region", "type": "NUMBER", "type_data": {"options": [{"value": "us-east-1"}]}}, "type": "custom_attribute"}} diff --git a/tests/scenarios/features/v2/case_management_type.feature b/tests/scenarios/features/v2/case_management_type.feature index 260ac3d3c..6415083b6 100644 --- a/tests/scenarios/features/v2/case_management_type.feature +++ b/tests/scenarios/features/v2/case_management_type.feature @@ -47,8 +47,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Bad Request" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -56,8 +55,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "Not Found" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent @@ -65,8 +63,7 @@ Feature: Case Management Type @generated @skip @team:DataDog/case-management Scenario: Update a case type returns "OK" response - Given operation "UpdateCaseType" enabled - And new "UpdateCaseType" request + Given new "UpdateCaseType" request And request contains "case_type_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "\ud83d\udd75\ud83c\udffb\u200d\u2642\ufe0f", "name": "Investigation"}, "type": "case_type"}} When the request is sent