-
Notifications
You must be signed in to change notification settings - Fork 23
che-starter #316: Adding support of attributes in workspace config required for Che 7 support. Adding tests for che 7 / theia stacks #323
Conversation
…kspace config required for Che 7 support. Adding tests for che 7 / theia stacks Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
Workspace creation works just fine with attributes in the workspace config, but there is a problem with the startup. Basically, the following link is used for workspace startup after creation:
However, when I navigate to this URL theia IDE is not shown for some reason, even though workspace is marked as started: However, when I navigate to the very same workspace from dashboard via https://che.prod-preview.openshift.io/dashboard/#/ide/ibuziuk@redhat.com/che-starter-h7u51 theia IDE is shown without problems: @l0rd @garagatyi do you think this might be an IDE issue ? any ideas whom should I contact regarding this ? |
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
Yes I had the same problem when working with Anyway it looks to me something that should be fixed upstream. |
This REST link was added by request from IDE team a long time ago. So, no wonder that it is outdated. |
By outdated I mean that it is designed to be compatible with the GWT IDE. We didn't think about theia back then |
Workspace link has only GWT IDE location. From dashboard - we redirect to workspace-loader app and it decides which IDE to load in this method https://github.com/eclipse/che/blob/master/workspace-loader/src/index.ts#L348 |
@ashumilova @l0rd thanks for clarifications. I have created dedicated issue upstream - eclipse-che/che#12376 |
Just a suggestion - maybe send from che-starter not to workspace ide link, but to workspace loader in the format: "workspace-loader/namespace/workspacename" and it will handle the IDEs? |
@ashumilova it is not that simple since it would require changes in fabric8-wit / fabric8-ui which are also fall back on the ide url send from che-starter which is than opened in the browser. So, the possible workaround would be similar to what @l0rd suggested in his comment above [1]. However, the ideal solution would be fixing this problem upstream. [1] #323 (comment) |
Yes, I mean nearly the same like here: |
So, you mean |
No, here are my workspace links: |
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
related issue - #316