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

Add ability to use upload service on plugin side #6554

Merged
merged 1 commit into from
Nov 22, 2019
Merged

Conversation

vzhukovs
Copy link
Contributor

@vzhukovs vzhukovs commented Nov 15, 2019

What it does

This changes proposal adds an ability to call upload service from plugin side.

Real world example of usage this api in che-theia. This sample shows how user can upload private ssh key from plugin:
upload_ssh_key

Linked issue in che-theia: eclipse-che/che-theia#547

Signed-off-by: Vladyslav Zhukovskyi vzhukovs@redhat.com

How to test

Clone this example into plugins folder. After theia and plugin build run theia and call action Upload File.

Review checklist

Reminder for reviewers

@vzhukovs vzhukovs added enhancement issues that are enhancements to current functionality - nice to haves plug-in system issues related to the plug-in system Team: Che-Plugins issues related to the che-plugins team labels Nov 15, 2019
@vzhukovs vzhukovs self-assigned this Nov 15, 2019
Copy link
Member

@azatsarynnyy azatsarynnyy left a comment

Choose a reason for hiding this comment

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

I've tested it with the proposed example. Works well!

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
Copy link
Contributor

@vinokurig vinokurig left a comment

Choose a reason for hiding this comment

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

Tested the plugin, works nice!

@vparfonov
Copy link
Contributor

@akosyakov can you review please

@akosyakov
Copy link
Member

@vparfonov please merge it, i will comment if i see something suspicious, PRs was approved for enough time that everybody could have a look at it

@vzhukovs vzhukovs merged commit d5ca4f6 into master Nov 22, 2019
@vzhukovs vzhukovs deleted the che#14911 branch November 22, 2019 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves plug-in system issues related to the plug-in system Team: Che-Plugins issues related to the che-plugins team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants