-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Handle more fields in plugin meta YAML #12489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @garagatyi wdyt?
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Outdated
Show resolved
Hide resolved
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Outdated
Show resolved
Hide resolved
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Show resolved
Hide resolved
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Show resolved
Hide resolved
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Show resolved
Hide resolved
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Show resolved
Hide resolved
ci-test |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
@@ -153,6 +154,9 @@ public PluginMeta tags(List<String> tags) { | |||
} | |||
|
|||
public List<String> getTags() { | |||
if (tags == null) { | |||
return new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be assigned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, also added initialization in the field itself
ci-test |
...workspace/src/main/java/org/eclipse/che/api/workspace/server/wsplugins/model/PluginMeta.java
Outdated
Show resolved
Hide resolved
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
@garagatyi fyi, as @sleshchenko said, I decided to remove initialization in all fields in the class, since they are lazily initialized in getters anyway, and so would be consistent for all fields |
@ibuziuk FYI |
ci-test |
@garagatyi @sleshchenko I have also a proposition to add |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
Please, sign your commits. |
I'm OK with your proposal. |
ci-test |
Results of automated E2E tests of Eclipse Che Multiuser on OCP: |
Selenium tests execution on Eclipse Che Multiuser on OCP (https://ci.codenvycorp.com/job/che-pullrequests-test-ocp/1506/) doesn't show any regression against this Pull Request. |
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
6f33d7a
to
280e11d
Compare
What does this PR do?
Add more possible fields for plugin yaml (not validated anyhow atm), for use in plugin viewer:
category
publisher
repository
tags
mediaImage
mediaVideo
firstPublicationDate
latestUpdateDate
preview
What issues does this PR fix or reference?
eclipse-che/che-plugin-registry#71
Release Notes
Docs PR