From a38b50587da5d05d9b183999102d80a298a3cda8 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 26 Mar 2026 16:14:02 +0000 Subject: [PATCH] Regenerate client from commit 325795c of spec repo --- .generator/schemas/v2/openapi.yaml | 27 --- .../CreateServiceNowTemplate.java | 1 - .../DeleteServiceNowTemplate.java | 1 - .../GetServiceNowTemplate.java | 1 - .../ListServiceNowAssignmentGroups.java | 1 - .../ListServiceNowBusinessServices.java | 1 - .../ListServiceNowInstances.java | 1 - .../ListServiceNowTemplates.java | 1 - .../ListServiceNowUsers.java | 1 - .../UpdateServiceNowTemplate.java | 1 - .../com/datadog/api/client/ApiClient.java | 9 - .../v2/api/ServiceNowIntegrationApi.java | 157 ------------------ .../v2/api/servicenow_integration.feature | 69 +++----- 13 files changed, 23 insertions(+), 248 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4b32533f735..647c8d0d440 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -87463,9 +87463,6 @@ paths: summary: List ServiceNow assignment groups tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/business_services/{instance_id}: get: description: |- @@ -87504,9 +87501,6 @@ paths: summary: List ServiceNow business services tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles: get: description: |- @@ -87524,9 +87518,6 @@ paths: summary: List ServiceNow templates tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- Create a new ServiceNow template. @@ -87555,9 +87546,6 @@ paths: summary: Create ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles/{template_id}: delete: description: |- @@ -87592,9 +87580,6 @@ paths: summary: Delete ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: |- Get a ServiceNow template by ID. @@ -87632,9 +87617,6 @@ paths: summary: Get ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: |- Update a ServiceNow template by ID. @@ -87678,9 +87660,6 @@ paths: summary: Update ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/instances: get: description: |- @@ -87704,9 +87683,6 @@ paths: summary: List ServiceNow instances tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/users/{instance_id}: get: description: |- @@ -87745,9 +87721,6 @@ paths: summary: List ServiceNow users tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integrations: get: operationId: ListIntegrations diff --git a/examples/v2/servicenow-integration/CreateServiceNowTemplate.java b/examples/v2/servicenow-integration/CreateServiceNowTemplate.java index f41cdcf7968..b8d8b5afae1 100644 --- a/examples/v2/servicenow-integration/CreateServiceNowTemplate.java +++ b/examples/v2/servicenow-integration/CreateServiceNowTemplate.java @@ -14,7 +14,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.createServiceNowTemplate", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); ServiceNowTemplateCreateRequest body = diff --git a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.java b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.java index 1dcbc0e13bf..7b533397fc2 100644 --- a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.java +++ b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.deleteServiceNowTemplate", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/GetServiceNowTemplate.java b/examples/v2/servicenow-integration/GetServiceNowTemplate.java index 83adff49ff0..b486aaa0ff5 100644 --- a/examples/v2/servicenow-integration/GetServiceNowTemplate.java +++ b/examples/v2/servicenow-integration/GetServiceNowTemplate.java @@ -9,7 +9,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.getServiceNowTemplate", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.java b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.java index 51fd6b57d89..155069ed70e 100644 --- a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.java +++ b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.java @@ -9,7 +9,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listServiceNowAssignmentGroups", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.java b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.java index a277ff30bc0..218c42fe317 100644 --- a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.java +++ b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.java @@ -9,7 +9,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listServiceNowBusinessServices", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/ListServiceNowInstances.java b/examples/v2/servicenow-integration/ListServiceNowInstances.java index da679f96288..b91b157b504 100644 --- a/examples/v2/servicenow-integration/ListServiceNowInstances.java +++ b/examples/v2/servicenow-integration/ListServiceNowInstances.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listServiceNowInstances", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/ListServiceNowTemplates.java b/examples/v2/servicenow-integration/ListServiceNowTemplates.java index 97deb9ae09b..9eb48f19c02 100644 --- a/examples/v2/servicenow-integration/ListServiceNowTemplates.java +++ b/examples/v2/servicenow-integration/ListServiceNowTemplates.java @@ -8,7 +8,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listServiceNowTemplates", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/ListServiceNowUsers.java b/examples/v2/servicenow-integration/ListServiceNowUsers.java index 68443ec8e9f..6153ca983f8 100644 --- a/examples/v2/servicenow-integration/ListServiceNowUsers.java +++ b/examples/v2/servicenow-integration/ListServiceNowUsers.java @@ -9,7 +9,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.listServiceNowUsers", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); try { diff --git a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.java b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.java index a455f22a97d..1107a42e417 100644 --- a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.java +++ b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.java @@ -14,7 +14,6 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); - defaultClient.setUnstableOperationEnabled("v2.updateServiceNowTemplate", true); ServiceNowIntegrationApi apiInstance = new ServiceNowIntegrationApi(defaultClient); ServiceNowTemplateUpdateRequest body = diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index 0ffe54678e7..03d15246b69 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -898,15 +898,6 @@ public class ApiClient { put("v2.updateJiraIssueTemplate", false); put("v2.createTenancyConfig", false); put("v2.getTenancyConfigs", false); - put("v2.createServiceNowTemplate", false); - put("v2.deleteServiceNowTemplate", false); - put("v2.getServiceNowTemplate", false); - put("v2.listServiceNowAssignmentGroups", false); - put("v2.listServiceNowBusinessServices", false); - put("v2.listServiceNowInstances", false); - put("v2.listServiceNowTemplates", false); - put("v2.listServiceNowUsers", false); - put("v2.updateServiceNowTemplate", false); put("v2.createLLMObsDataset", false); put("v2.createLLMObsDatasetRecords", false); put("v2.createLLMObsExperiment", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/ServiceNowIntegrationApi.java b/src/main/java/com/datadog/api/client/v2/api/ServiceNowIntegrationApi.java index f6cf3bd28cd..91b1c8002e9 100644 --- a/src/main/java/com/datadog/api/client/v2/api/ServiceNowIntegrationApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/ServiceNowIntegrationApi.java @@ -99,13 +99,6 @@ public CompletableFuture createServiceNowTemplateAsy */ public ApiResponse createServiceNowTemplateWithHttpInfo( ServiceNowTemplateCreateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "createServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -148,16 +141,6 @@ public ApiResponse createServiceNowTemplateWithHttpI */ public CompletableFuture> createServiceNowTemplateWithHttpInfoAsync(ServiceNowTemplateCreateRequest body) { - // Check if unstable operation is enabled - String operationId = "createServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -246,13 +229,6 @@ public CompletableFuture deleteServiceNowTemplateAsync(UUID templateId) { */ public ApiResponse deleteServiceNowTemplateWithHttpInfo(UUID templateId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "deleteServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'templateId' is set @@ -298,16 +274,6 @@ public ApiResponse deleteServiceNowTemplateWithHttpInfo(UUID templateId) */ public CompletableFuture> deleteServiceNowTemplateWithHttpInfoAsync( UUID templateId) { - // Check if unstable operation is enabled - String operationId = "deleteServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'templateId' is set @@ -401,13 +367,6 @@ public CompletableFuture getServiceNowTemplateAsync( */ public ApiResponse getServiceNowTemplateWithHttpInfo(UUID templateId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "getServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'templateId' is set @@ -453,16 +412,6 @@ public ApiResponse getServiceNowTemplateWithHttpInfo */ public CompletableFuture> getServiceNowTemplateWithHttpInfoAsync(UUID templateId) { - // Check if unstable operation is enabled - String operationId = "getServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'templateId' is set @@ -558,13 +507,6 @@ public CompletableFuture listServiceNowAssig */ public ApiResponse listServiceNowAssignmentGroupsWithHttpInfo( UUID instanceId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listServiceNowAssignmentGroups"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -612,17 +554,6 @@ public ApiResponse listServiceNowAssignmentG */ public CompletableFuture> listServiceNowAssignmentGroupsWithHttpInfoAsync(UUID instanceId) { - // Check if unstable operation is enabled - String operationId = "listServiceNowAssignmentGroups"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = - new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -721,13 +652,6 @@ public CompletableFuture listServiceNowBusin */ public ApiResponse listServiceNowBusinessServicesWithHttpInfo( UUID instanceId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listServiceNowBusinessServices"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -775,17 +699,6 @@ public ApiResponse listServiceNowBusinessSer */ public CompletableFuture> listServiceNowBusinessServicesWithHttpInfoAsync(UUID instanceId) { - // Check if unstable operation is enabled - String operationId = "listServiceNowBusinessServices"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = - new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -878,13 +791,6 @@ public CompletableFuture listServiceNowInstancesAsy */ public ApiResponse listServiceNowInstancesWithHttpInfo() throws ApiException { - // Check if unstable operation is enabled - String operationId = "listServiceNowInstances"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/integration/servicenow/instances"; @@ -920,17 +826,6 @@ public ApiResponse listServiceNowInstancesWithHttpI */ public CompletableFuture> listServiceNowInstancesWithHttpInfoAsync() { - // Check if unstable operation is enabled - String operationId = "listServiceNowInstances"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = - new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/integration/servicenow/instances"; @@ -1007,13 +902,6 @@ public CompletableFuture listServiceNowTemplatesAsy */ public ApiResponse listServiceNowTemplatesWithHttpInfo() throws ApiException { - // Check if unstable operation is enabled - String operationId = "listServiceNowTemplates"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/integration/servicenow/handles"; @@ -1049,17 +937,6 @@ public ApiResponse listServiceNowTemplatesWithHttpI */ public CompletableFuture> listServiceNowTemplatesWithHttpInfoAsync() { - // Check if unstable operation is enabled - String operationId = "listServiceNowTemplates"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = - new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/integration/servicenow/handles"; @@ -1141,13 +1018,6 @@ public CompletableFuture listServiceNowUsersAsync(UUID */ public ApiResponse listServiceNowUsersWithHttpInfo(UUID instanceId) throws ApiException { - // Check if unstable operation is enabled - String operationId = "listServiceNowUsers"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -1193,16 +1063,6 @@ public ApiResponse listServiceNowUsersWithHttpInfo(UUID */ public CompletableFuture> listServiceNowUsersWithHttpInfoAsync(UUID instanceId) { - // Check if unstable operation is enabled - String operationId = "listServiceNowUsers"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = null; // verify the required parameter 'instanceId' is set @@ -1300,13 +1160,6 @@ public CompletableFuture updateServiceNowTemplateAsy */ public ApiResponse updateServiceNowTemplateWithHttpInfo( UUID templateId, ServiceNowTemplateUpdateRequest body) throws ApiException { - // Check if unstable operation is enabled - String operationId = "updateServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); - } Object localVarPostBody = body; // verify the required parameter 'templateId' is set @@ -1360,16 +1213,6 @@ public ApiResponse updateServiceNowTemplateWithHttpI public CompletableFuture> updateServiceNowTemplateWithHttpInfoAsync( UUID templateId, ServiceNowTemplateUpdateRequest body) { - // Check if unstable operation is enabled - String operationId = "updateServiceNowTemplate"; - if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { - apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); - } else { - CompletableFuture> result = new CompletableFuture<>(); - result.completeExceptionally( - new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); - return result; - } Object localVarPostBody = body; // verify the required parameter 'templateId' is set diff --git a/src/test/resources/com/datadog/api/client/v2/api/servicenow_integration.feature b/src/test/resources/com/datadog/api/client/v2/api/servicenow_integration.feature index 24f9878c0d8..21093fd0f79 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/servicenow_integration.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/servicenow_integration.feature @@ -11,165 +11,144 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Bad Request" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Created" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 201 Created @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Bad Request" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Not Found" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "OK" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Bad Request" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Not Found" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "OK" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Bad Request" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Not Found" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "OK" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Bad Request" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Not Found" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "OK" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "Not Found" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "OK" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow templates returns "OK" response - Given operation "ListServiceNowTemplates" enabled - And new "ListServiceNowTemplates" request + Given new "ListServiceNowTemplates" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Bad Request" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Not Found" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "OK" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Bad Request" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -177,8 +156,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Not Found" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -186,8 +164,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "OK" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent