@@ -10,21 +10,21 @@ Feature: Service Definition
1010 @generated @skip @team:DataDog/service-catalog
1111 Scenario : Create or update service definition returns "Bad Request" response
1212 Given new "CreateOrUpdateServiceDefinitions" request
13- And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "langauges " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
13+ And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "languages " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
1414 When the request is sent
1515 Then the response status is 400 Bad Request
1616
1717 @generated @skip @team:DataDog/service-catalog
1818 Scenario : Create or update service definition returns "CREATED" response
1919 Given new "CreateOrUpdateServiceDefinitions" request
20- And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "langauges " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
20+ And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "languages " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
2121 When the request is sent
2222 Then the response status is 200 CREATED
2323
2424 @generated @skip @team:DataDog/service-catalog
2525 Scenario : Create or update service definition returns "Conflict" response
2626 Given new "CreateOrUpdateServiceDefinitions" request
27- And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "langauges " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
27+ And body with value {"application" : "my-app" , "contacts" : [{"contact" : "https://teams.microsoft.com/myteam" , "name" : "My team channel" , "type" : "slack" }], "dd-service" : "my-service" , "description" : "My service description" , "extensions" : {"myorg/extension" : "extensionValue" }, "integrations" : {"opsgenie" : {"region" : "US" , "service-url" : "https://my-org.opsgenie.com/service/123e4567-e89b-12d3-a456-426614174000" }, "pagerduty" : {"service-url" : "https://my-org.pagerduty.com/service-directory/PMyService" }}, "languages " : ["dotnet" , "go" , "java" , "js" , "php" , "python" , "ruby" , "c++" ], "lifecycle" : "sandbox" , "links" : [{"name" : "Runbook" , "provider" : "Github" , "type" : "runbook" , "url" : "https://my-runbook" }], "schema-version" : "v2.2" , "tags" : ["my:tag" , "service:tag" ], "team" : "my-team" , "tier" : "High" , "type" : "web" }
2828 When the request is sent
2929 Then the response status is 409 Conflict
3030
0 commit comments