mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
merge with 2.0.0-m3
This commit is contained in:
@@ -53,7 +53,7 @@ public final class PluginCenterDto implements Serializable {
|
|||||||
private String category;
|
private String category;
|
||||||
private String author;
|
private String author;
|
||||||
private String avatarUrl;
|
private String avatarUrl;
|
||||||
private String sha256;
|
private String sha256sum;
|
||||||
|
|
||||||
@XmlElement(name = "conditions")
|
@XmlElement(name = "conditions")
|
||||||
private Condition conditions;
|
private Condition conditions;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public abstract class PluginCenterDtoMapper {
|
|||||||
for (PluginCenterDto.Plugin plugin : pluginCenterDto.getEmbedded().getPlugins()) {
|
for (PluginCenterDto.Plugin plugin : pluginCenterDto.getEmbedded().getPlugins()) {
|
||||||
String url = plugin.getLinks().get("download").getHref();
|
String url = plugin.getLinks().get("download").getHref();
|
||||||
AvailablePluginDescriptor descriptor = new AvailablePluginDescriptor(
|
AvailablePluginDescriptor descriptor = new AvailablePluginDescriptor(
|
||||||
map(plugin), map(plugin.getConditions()), plugin.getDependencies(), url, plugin.getSha256()
|
map(plugin), map(plugin.getConditions()), plugin.getDependencies(), url, plugin.getSha256sum()
|
||||||
);
|
);
|
||||||
plugins.add(new AvailablePlugin(descriptor));
|
plugins.add(new AvailablePlugin(descriptor));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user