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

Expose editor yaml definitions from the dashboard #22994

Closed
dkwon17 opened this issue Jun 3, 2024 · 1 comment
Closed

Expose editor yaml definitions from the dashboard #22994

dkwon17 opened this issue Jun 3, 2024 · 1 comment
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template.

Comments

@dkwon17
Copy link
Contributor

dkwon17 commented Jun 3, 2024

Is your enhancement related to a problem? Please describe

When the plugin registry hosted editor definitions, it allowed defining editors in devworkspaces by providing a url to the plugin registry service:

kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: my-devworkspace
  namespace: user1-dev
spec:
  routingClass: che
  started: true
  contributions:
    - name: ide
      uri: http://plugin-registry.eclipse-che.svc.cluster.local:8080/v3/plugins/che-incubator/che-code/latest/devfile.yaml
  template:
    projects:
      - name: my-project-name
        git:
          remotes:
            origin: https://github.com/eclipse-che/che-docs
    components:
      - name: tooling-container
        container:
          image: quay.io/devfile/universal-developer-image:ubi8-latest

Describe the solution you'd like

With the plugin registry will soon not provide editor definitions anymore, this is would now not be possible.

It would be great if the dashboard provides an endpoint to get editor definitions:

http://che-dashboard.eclipse-che.svc.cluster.local:8080/dashboard/api/editor/che-incubator/che-code/latest

should return the yaml definition of che-incubator/che-code/latest

Describe alternatives you've considered

No response

Additional context

Related issue: PRs related to #22932

@dkwon17 dkwon17 added kind/enhancement A feature request - must adhere to the feature request template. area/dashboard labels Jun 3, 2024
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jun 3, 2024
@AObuchow AObuchow removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jun 4, 2024
@ibuziuk
Copy link
Member

ibuziuk commented Jun 26, 2024

@ibuziuk ibuziuk closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

No branches or pull requests

4 participants