@@ -11,183 +11,160 @@ Feature: ServiceNow Integration
1111
1212 @generated @skip @team:Datadog/collaboration-integrations
1313 Scenario : Create ServiceNow template returns "Bad Request" response
14- Given operation "CreateServiceNowTemplate" enabled
15- And new "CreateServiceNowTemplate" request
14+ Given new "CreateServiceNowTemplate" request
1615 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" }}
1716 When the request is sent
1817 Then the response status is 400 Bad Request
1918
2019 @generated @skip @team:Datadog/collaboration-integrations
2120 Scenario : Create ServiceNow template returns "Created" response
22- Given operation "CreateServiceNowTemplate" enabled
23- And new "CreateServiceNowTemplate" request
21+ Given new "CreateServiceNowTemplate" request
2422 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" }}
2523 When the request is sent
2624 Then the response status is 201 Created
2725
2826 @generated @skip @team:Datadog/collaboration-integrations
2927 Scenario : Delete ServiceNow template returns "Bad Request" response
30- Given operation "DeleteServiceNowTemplate" enabled
31- And new "DeleteServiceNowTemplate" request
28+ Given new "DeleteServiceNowTemplate" request
3229 And request contains "template_id" parameter from "REPLACE.ME"
3330 When the request is sent
3431 Then the response status is 400 Bad Request
3532
3633 @generated @skip @team:Datadog/collaboration-integrations
3734 Scenario : Delete ServiceNow template returns "Not Found" response
38- Given operation "DeleteServiceNowTemplate" enabled
39- And new "DeleteServiceNowTemplate" request
35+ Given new "DeleteServiceNowTemplate" request
4036 And request contains "template_id" parameter from "REPLACE.ME"
4137 When the request is sent
4238 Then the response status is 404 Not Found
4339
4440 @generated @skip @team:Datadog/collaboration-integrations
4541 Scenario : Delete ServiceNow template returns "OK" response
46- Given operation "DeleteServiceNowTemplate" enabled
47- And new "DeleteServiceNowTemplate" request
42+ Given new "DeleteServiceNowTemplate" request
4843 And request contains "template_id" parameter from "REPLACE.ME"
4944 When the request is sent
5045 Then the response status is 200 OK
5146
5247 @generated @skip @team:Datadog/collaboration-integrations
5348 Scenario : Get ServiceNow template returns "Bad Request" response
54- Given operation "GetServiceNowTemplate" enabled
55- And new "GetServiceNowTemplate" request
49+ Given new "GetServiceNowTemplate" request
5650 And request contains "template_id" parameter from "REPLACE.ME"
5751 When the request is sent
5852 Then the response status is 400 Bad Request
5953
6054 @generated @skip @team:Datadog/collaboration-integrations
6155 Scenario : Get ServiceNow template returns "Not Found" response
62- Given operation "GetServiceNowTemplate" enabled
63- And new "GetServiceNowTemplate" request
56+ Given new "GetServiceNowTemplate" request
6457 And request contains "template_id" parameter from "REPLACE.ME"
6558 When the request is sent
6659 Then the response status is 404 Not Found
6760
6861 @generated @skip @team:Datadog/collaboration-integrations
6962 Scenario : Get ServiceNow template returns "OK" response
70- Given operation "GetServiceNowTemplate" enabled
71- And new "GetServiceNowTemplate" request
63+ Given new "GetServiceNowTemplate" request
7264 And request contains "template_id" parameter from "REPLACE.ME"
7365 When the request is sent
7466 Then the response status is 200 OK
7567
7668 @generated @skip @team:Datadog/collaboration-integrations
7769 Scenario : List ServiceNow assignment groups returns "Bad Request" response
78- Given operation "ListServiceNowAssignmentGroups" enabled
79- And new "ListServiceNowAssignmentGroups" request
70+ Given new "ListServiceNowAssignmentGroups" request
8071 And request contains "instance_id" parameter from "REPLACE.ME"
8172 When the request is sent
8273 Then the response status is 400 Bad Request
8374
8475 @generated @skip @team:Datadog/collaboration-integrations
8576 Scenario : List ServiceNow assignment groups returns "Not Found" response
86- Given operation "ListServiceNowAssignmentGroups" enabled
87- And new "ListServiceNowAssignmentGroups" request
77+ Given new "ListServiceNowAssignmentGroups" request
8878 And request contains "instance_id" parameter from "REPLACE.ME"
8979 When the request is sent
9080 Then the response status is 404 Not Found
9181
9282 @generated @skip @team:Datadog/collaboration-integrations
9383 Scenario : List ServiceNow assignment groups returns "OK" response
94- Given operation "ListServiceNowAssignmentGroups" enabled
95- And new "ListServiceNowAssignmentGroups" request
84+ Given new "ListServiceNowAssignmentGroups" request
9685 And request contains "instance_id" parameter from "REPLACE.ME"
9786 When the request is sent
9887 Then the response status is 200 OK
9988
10089 @generated @skip @team:Datadog/collaboration-integrations
10190 Scenario : List ServiceNow business services returns "Bad Request" response
102- Given operation "ListServiceNowBusinessServices" enabled
103- And new "ListServiceNowBusinessServices" request
91+ Given new "ListServiceNowBusinessServices" request
10492 And request contains "instance_id" parameter from "REPLACE.ME"
10593 When the request is sent
10694 Then the response status is 400 Bad Request
10795
10896 @generated @skip @team:Datadog/collaboration-integrations
10997 Scenario : List ServiceNow business services returns "Not Found" response
110- Given operation "ListServiceNowBusinessServices" enabled
111- And new "ListServiceNowBusinessServices" request
98+ Given new "ListServiceNowBusinessServices" request
11299 And request contains "instance_id" parameter from "REPLACE.ME"
113100 When the request is sent
114101 Then the response status is 404 Not Found
115102
116103 @generated @skip @team:Datadog/collaboration-integrations
117104 Scenario : List ServiceNow business services returns "OK" response
118- Given operation "ListServiceNowBusinessServices" enabled
119- And new "ListServiceNowBusinessServices" request
105+ Given new "ListServiceNowBusinessServices" request
120106 And request contains "instance_id" parameter from "REPLACE.ME"
121107 When the request is sent
122108 Then the response status is 200 OK
123109
124110 @generated @skip @team:Datadog/collaboration-integrations
125111 Scenario : List ServiceNow instances returns "Not Found" response
126- Given operation "ListServiceNowInstances" enabled
127- And new "ListServiceNowInstances" request
112+ Given new "ListServiceNowInstances" request
128113 When the request is sent
129114 Then the response status is 404 Not Found
130115
131116 @generated @skip @team:Datadog/collaboration-integrations
132117 Scenario : List ServiceNow instances returns "OK" response
133- Given operation "ListServiceNowInstances" enabled
134- And new "ListServiceNowInstances" request
118+ Given new "ListServiceNowInstances" request
135119 When the request is sent
136120 Then the response status is 200 OK
137121
138122 @generated @skip @team:Datadog/collaboration-integrations
139123 Scenario : List ServiceNow templates returns "OK" response
140- Given operation "ListServiceNowTemplates" enabled
141- And new "ListServiceNowTemplates" request
124+ Given new "ListServiceNowTemplates" request
142125 When the request is sent
143126 Then the response status is 200 OK
144127
145128 @generated @skip @team:Datadog/collaboration-integrations
146129 Scenario : List ServiceNow users returns "Bad Request" response
147- Given operation "ListServiceNowUsers" enabled
148- And new "ListServiceNowUsers" request
130+ Given new "ListServiceNowUsers" request
149131 And request contains "instance_id" parameter from "REPLACE.ME"
150132 When the request is sent
151133 Then the response status is 400 Bad Request
152134
153135 @generated @skip @team:Datadog/collaboration-integrations
154136 Scenario : List ServiceNow users returns "Not Found" response
155- Given operation "ListServiceNowUsers" enabled
156- And new "ListServiceNowUsers" request
137+ Given new "ListServiceNowUsers" request
157138 And request contains "instance_id" parameter from "REPLACE.ME"
158139 When the request is sent
159140 Then the response status is 404 Not Found
160141
161142 @generated @skip @team:Datadog/collaboration-integrations
162143 Scenario : List ServiceNow users returns "OK" response
163- Given operation "ListServiceNowUsers" enabled
164- And new "ListServiceNowUsers" request
144+ Given new "ListServiceNowUsers" request
165145 And request contains "instance_id" parameter from "REPLACE.ME"
166146 When the request is sent
167147 Then the response status is 200 OK
168148
169149 @generated @skip @team:Datadog/collaboration-integrations
170150 Scenario : Update ServiceNow template returns "Bad Request" response
171- Given operation "UpdateServiceNowTemplate" enabled
172- And new "UpdateServiceNowTemplate" request
151+ Given new "UpdateServiceNowTemplate" request
173152 And request contains "template_id" parameter from "REPLACE.ME"
174153 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" }}
175154 When the request is sent
176155 Then the response status is 400 Bad Request
177156
178157 @generated @skip @team:Datadog/collaboration-integrations
179158 Scenario : Update ServiceNow template returns "Not Found" response
180- Given operation "UpdateServiceNowTemplate" enabled
181- And new "UpdateServiceNowTemplate" request
159+ Given new "UpdateServiceNowTemplate" request
182160 And request contains "template_id" parameter from "REPLACE.ME"
183161 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" }}
184162 When the request is sent
185163 Then the response status is 404 Not Found
186164
187165 @generated @skip @team:Datadog/collaboration-integrations
188166 Scenario : Update ServiceNow template returns "OK" response
189- Given operation "UpdateServiceNowTemplate" enabled
190- And new "UpdateServiceNowTemplate" request
167+ Given new "UpdateServiceNowTemplate" request
191168 And request contains "template_id" parameter from "REPLACE.ME"
192169 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" }}
193170 When the request is sent
0 commit comments