For implementing DELETE/PUT methods for /repositories/{id}/builds endpoint we need to figure out a plan for handling the consequences of deleting/modifying a build. There will be various scenarios to deal with:
- What should happen if the build is deleted/modified before the start? Do we count that (deleted/unmodified) build and maintain history OR simply eliminate/update it as nothing was posted.
- What should happen if the build is started but not finished yet?
- What should happen if some/all deployments have been notified?
- If the solution has something to do with history or revert back to the previous build, then we also need to figure out for corner cases like
DELETE/PUT request after the first build.
Broker Specs (broker.yaml)
Broker Swagger UI
For implementing
DELETE/PUTmethods for/repositories/{id}/buildsendpoint we need to figure out a plan for handling the consequences of deleting/modifying a build. There will be various scenarios to deal with:DELETE/PUTrequest after the first build.Broker Specs (broker.yaml)
Broker Swagger UI