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

chore: Document the usage of the che-server API #723

Merged
merged 3 commits into from
Feb 7, 2023
Merged

chore: Document the usage of the che-server API #723

merged 3 commits into from
Feb 7, 2023

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Feb 6, 2023

Signed-off-by: Anatolii Bazko abazko@redhat.com

What does this PR do?

Document the usage of the che-server API

What issues does this PR fix or reference?

eclipse-che/che#21848

Is it tested? How?

N/A

Release Notes

N/A

Docs PR

N/A

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha tolusha requested a review from ibuziuk February 6, 2023 15:55
@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2023

Click here to review and test in web IDE: Contribute

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Feb 6, 2023

Click here to review and test in web IDE: Contribute

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-723

1 similar comment
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-723

@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #723 (cbbc289) into main (e49b18d) will not change coverage.
The diff coverage is n/a.

❗ Current head cbbc289 differs from pull request most recent head 66d5147. Consider uploading reports for the commit 66d5147 to get more accurate results

@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   63.42%   63.42%           
=======================================
  Files         288      288           
  Lines        8602     8602           
  Branches     1357     1357           
=======================================
  Hits         5456     5456           
  Misses       2922     2922           
  Partials      224      224           
Flag Coverage Δ
unittests 63.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@ibuziuk ibuziuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akurinnoy @olexii4 folks, could you please review and confirm that those are the only API used by the dashboard

README.md Outdated
| GET | /workspace/settings |
| GET | /oauth |
| GET | /oauth/authenticate |
| GET | /oauth/callback |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW: che-workspace-client doesn't support bouth /oauth/callback and /oauth/authenticate.
I think we should remove them.
@akurinnoy WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw both /oauth/callback and /oauth/authenticate in network tab. Where do they come from?

Copy link
Contributor

@olexii4 olexii4 Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tolusha We probably need them for the authorization flow.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olexii4 those requests are not initiated by the dashboard

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olexii4 @akurinnoy folks, but who is doing /oauth/callback && /oauth/authenticate ?

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm label Feb 7, 2023
@che-bot
Copy link
Contributor

che-bot commented Feb 7, 2023

Click here to review and test in web IDE: Contribute

@openshift-ci
Copy link

openshift-ci bot commented Feb 7, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: akurinnoy, olexii4, tolusha

The full list of commands accepted by this bot can be found 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

@github-actions
Copy link

github-actions bot commented Feb 7, 2023

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-723

@tolusha tolusha merged commit e4c94dc into main Feb 7, 2023
@tolusha tolusha deleted the 21848 branch February 7, 2023 10:44
@che-bot che-bot added this to the 7.61 milestone Feb 7, 2023
@devstudio-release
Copy link

Build 3.6 :: dashboard_3.x/189: Console, Changes, Git Data

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.6 :: get-sources-rhpkg-container-build_3.x/2175: FAILURE

dashboard : 3.x ::
; copied to quay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants