Skip to content

Commit

Permalink
Add Extractor capability
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-marschke committed Jan 15, 2024
1 parent 412c28f commit 4c22d81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dredd/hooks/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func main() {
h.Before("project > /api/project/{project_id}/environment/{environment_id} > Update environment > 204 > application/json", capabilityWrapper("environment"))
h.Before("project > /api/project/{project_id}/environment/{environment_id} > Removes environment > 204 > application/json", capabilityWrapper("environment"))

h.Before("webhook > /api/project/{project_id}/webhook/{webhook_id}/extractors", capabilityWrapper("webhookextractor"))

h.Before("project > /api/project/{project_id}/templates > create template > 201 > application/json", func(t *trans.Transaction) {
addCapabilities([]string{"repository", "inventory", "environment", "view"})
})
Expand Down

0 comments on commit 4c22d81

Please sign in to comment.