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

Provide redirect endpoints for JetBrains-based editors #1318

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

vzhukovs
Copy link
Contributor

@vzhukovs vzhukovs commented Jun 23, 2022

What does this PR do?

In favor of the incoming changes in JetBrains-based editors, made by che-incubator/jetbrains-editor-images#121 there is a need to add redirect ports, as it done for che-code and che-theia editors.

Signed-off-by: Vladyslav Zhukovskyi [email protected]

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

eclipse-che/che#21141

How to test this PR?

Open any sample from Devfile registry with the following factory link:
https://che-host/#https://repository/?che-editor=https://gist.githubusercontent.com/vzhukovs/95337765cbde9b6ed1f252e6e77671a2/raw/ce2508d6cd101d400a4b99cc788933ef5f7eff84/che-editor.yaml
and check that Endpoints panel contains intellij-redirect-* ports

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@github-actions
Copy link

Click here to review and test in web IDE: Contribute

Copy link
Contributor

@svor svor left a comment

Choose a reason for hiding this comment

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

screenshot-che-dogfooding apps che-dev x6e0 p1 openshiftapps com-2022 06 23-12_01_28

@svor
Copy link
Contributor

svor commented Jun 23, 2022

/retest

@svor
Copy link
Contributor

svor commented Jun 23, 2022

@vzhukovs are you going to apply the same changes for Devspaces?

che-editors.yaml Outdated
@@ -603,6 +603,27 @@ editors:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
Copy link
Contributor

Choose a reason for hiding this comment

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

I think code-redirect was used for CheCode and theia-redirect for theia so maybe here it should be using intellij or idea-redirect

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, make sense, just didn't notice that fact, that theia has own naming for such endpoints. So, I'm going to update the naming, thanks for pointing on that!

@vzhukovs
Copy link
Contributor Author

@vzhukovs are you going to apply the same changes for Devspaces?

Sure, I'll prepare the PR, but a bit later

@openshift-ci openshift-ci bot removed the lgtm label Jun 23, 2022
@github-actions
Copy link

Click here to review and test in web IDE: Contribute

@vzhukovs vzhukovs force-pushed the jetbrains-endpoints branch from 627f8ff to 0a97e26 Compare June 23, 2022 12:54
@github-actions
Copy link

Click here to review and test in web IDE: Contribute

@vzhukovs
Copy link
Contributor Author

Updated endpoints naming to use intellij-redirect-*

@benoitf
Copy link
Contributor

benoitf commented Jun 23, 2022

@vzhukovs I still see code-*

@github-actions
Copy link

Click here to review and test in web IDE: Contribute

@vzhukovs vzhukovs force-pushed the jetbrains-endpoints branch from 2a821c1 to 9001d83 Compare June 23, 2022 13:04
@github-actions
Copy link

Click here to review and test in web IDE: Contribute

@vzhukovs
Copy link
Contributor Author

@benoitf not, it should be updated

@openshift-ci
Copy link

openshift-ci bot commented Jun 23, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: benoitf, svor, vzhukovs

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

@benoitf
Copy link
Contributor

benoitf commented Jun 23, 2022

@vzhukovs yep 👍

@vzhukovs
Copy link
Contributor Author

@vzhukovs vzhukovs merged commit c687188 into main Jun 23, 2022
@vzhukovs vzhukovs deleted the jetbrains-endpoints branch June 23, 2022 14:36
@che-bot che-bot added this to the 7.50 milestone Jun 23, 2022
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.

4 participants