Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openapi and doc to reflect 202 path in API server delete handler #63418

Merged
merged 2 commits into from
Jul 17, 2018

Conversation

roycaihw
Copy link
Member

@roycaihw roycaihw commented May 4, 2018

What this PR does / why we need it:
Our API server returns 202 Accepted if a delete operation is asynchronous, but it is not reflected in our openapi spec and documentation. This PR adds 202 path in endpoint installer and updates our openapi spec and docs. The change in openapi spec may affect some clients that depend on the error paths. Python client only depends on response type, which is not changed in this PR. Sending this PR to see if it breaks client-go.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
ref #33196

Special notes for your reviewer:

Release note:

OpenAPI spec and documentation reflect 202 Accepted response path for delete request

@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 4, 2018
@k8s-ci-robot k8s-ci-robot requested review from ncdc, piosz and timothysc May 4, 2018 02:23
@roycaihw roycaihw changed the title Update openapi and doc to reflect 202 path in Update openapi and doc to reflect 202 path in API server delete handler May 4, 2018
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels May 4, 2018
@roycaihw
Copy link
Member Author

roycaihw commented May 4, 2018

/sig api-machinery

@k8s-ci-robot k8s-ci-robot added the sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. label May 4, 2018
@roycaihw
Copy link
Member Author

roycaihw commented May 4, 2018

/test pull-kubernetes-e2e-kops-aws

@ncdc
Copy link
Member

ncdc commented May 10, 2018

/uncc

@k8s-ci-robot k8s-ci-robot removed the request for review from ncdc May 10, 2018 14:04
@lavalamp
Copy link
Member

/assign @mbohlool

@mbohlool
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 22, 2018
@roycaihw
Copy link
Member Author

/retest

@roycaihw roycaihw force-pushed the openapi-delete-path branch from f2359e0 to cd18e5e Compare May 24, 2018 18:07
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 24, 2018
@roycaihw roycaihw force-pushed the openapi-delete-path branch from cd18e5e to 0ff4351 Compare May 24, 2018 21:06
@roycaihw
Copy link
Member Author

/retest

@roycaihw roycaihw force-pushed the openapi-delete-path branch from 0ff4351 to cb2860a Compare May 25, 2018 18:18
@roycaihw
Copy link
Member Author

/retest

@mbohlool
Copy link
Contributor

mbohlool commented Jun 1, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 1, 2018
@mbohlool
Copy link
Contributor

mbohlool commented Jun 1, 2018

/retest

@roycaihw
Copy link
Member Author

/retest

1 similar comment
@roycaihw
Copy link
Member Author

/retest

@roycaihw roycaihw force-pushed the openapi-delete-path branch from cb2860a to 9ad6d72 Compare July 11, 2018 22:08
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 11, 2018
@roycaihw
Copy link
Member Author

Rebase and generate the 202 path for new APIs.

@mbohlool If you could add the LGTM label again.

/assign @liggitt
for approval.

@mbohlool
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 14, 2018
@roycaihw
Copy link
Member Author

/retest

@liggitt
Copy link
Member

liggitt commented Jul 17, 2018

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, mbohlool, roycaihw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 17, 2018
@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit a74df59 into kubernetes:master Jul 17, 2018
@roycaihw roycaihw deleted the openapi-delete-path branch August 22, 2018 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants