-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deprecate /api/devfile REST API #13868
Conversation
Signed-off-by: Sergii Kabashniuk <[email protected]>
ci-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm generally OK with returning 400 with a meaningful error message but I think we should consider the following:
- we should remove the swagger docs from the methods
- what about returning 301 (or maybe even 308) instead?
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
ok
My intention was a bit different. It's not just to keep it working it's to identify a place what it used and fix it. I next release we want to remove this api at all because we have analog AFAIK there are no places where we use this api. |
@rhopp @nickboldt @sleshchenko @mshaposhnik thoughts? |
...api-workspace/src/main/java/org/eclipse/che/api/workspace/server/devfile/DevfileService.java
Outdated
Show resolved
Hide resolved
...api-workspace/src/main/java/org/eclipse/che/api/workspace/server/devfile/DevfileService.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please tweak the error messages to explain the need for the call to action, and to fix the English syntax.
Signed-off-by: Sergii Kabashniuk <[email protected]>
@nickboldt your comments have been addressed |
ci-test |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
@nickboldt are you ok with the current state of pr? |
Yes, it is test problem(20 sec was not enough for starting Java language server). |
@nickboldt ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@skabashnyuk sorry for slow response. You'd do better to ping on MM, slack, IRC, hangouts or anything that doesn't produce email but a notification of unread messages. :) Email is the thing I do LAST after all the other hailing frequencies are done. |
What does this PR do?
Deprecate /api/devfile REST API
What issues does this PR fix or reference?
need for #13867
Release Notes
n/a
Docs PR
n/a