Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56916,7 +56916,7 @@ paths:
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
- appKeyAuth: []
appKeyAuth: []
summary: Delete a deployment event
tags:
- DORA Metrics
Expand Down Expand Up @@ -56992,7 +56992,7 @@ paths:
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
- appKeyAuth: []
appKeyAuth: []
summary: Get a deployment event
tags:
- DORA Metrics
Expand Down Expand Up @@ -57073,7 +57073,7 @@ paths:
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
- appKeyAuth: []
appKeyAuth: []
summary: Delete a failure event
tags:
- DORA Metrics
Expand Down Expand Up @@ -57149,7 +57149,7 @@ paths:
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
- appKeyAuth: []
appKeyAuth: []
summary: Get a failure event
tags:
- DORA Metrics
Expand Down
12 changes: 8 additions & 4 deletions features/v2/dora_metrics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,32 @@ Feature: DORA Metrics

@generated @skip @team:DataDog/ci-app-backend
Scenario: Get a deployment event returns "Bad Request" response
Given new "GetDORADeployment" request
Given a valid "appKeyAuth" key in the system
And new "GetDORADeployment" request
And request contains "deployment_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/ci-app-backend
Scenario: Get a deployment event returns "OK" response
Given new "GetDORADeployment" request
Given a valid "appKeyAuth" key in the system
And new "GetDORADeployment" request
And request contains "deployment_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/ci-app-backend
Scenario: Get a failure event returns "Bad Request" response
Given new "GetDORAFailure" request
Given a valid "appKeyAuth" key in the system
And new "GetDORAFailure" request
And request contains "failure_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/ci-app-backend
Scenario: Get a failure event returns "OK" response
Given new "GetDORAFailure" request
Given a valid "appKeyAuth" key in the system
And new "GetDORAFailure" request
And request contains "failure_id" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK
Expand Down