Skip to content
Snippets Groups Projects

feat: Add SpringerDownloadService

Merged Mathieu.Vonlanthen requested to merge MVO-download-springer into master
Files
5
@@ -29,11 +29,13 @@ public class SystemPropertyController implements ControllerWithHateoasHome {
private String defaultChecksum;
private String defaultLicense;
private String fileSizeLimit;
private int limitMaxContributors;
public SystemProperties(AouProperties aouProperties) {
this.defaultChecksum = aouProperties.getParameters().getDefaultChecksum();
this.defaultLicense = aouProperties.getParameters().getDefaultLicense();
this.fileSizeLimit = String.valueOf(aouProperties.getParameters().getFileSizeLimit().toBytes());
this.limitMaxContributors = aouProperties.getMetadata().getImports().getLimitMaxContributors();
}
public String getDefaultChecksum() {
@@ -47,6 +49,10 @@ public class SystemPropertyController implements ControllerWithHateoasHome {
public String getFileSizeLimit() {
return this.fileSizeLimit;
}
public int getLimitMaxContributors() {
return this.limitMaxContributors;
}
}
public SystemPropertyController(AouProperties aouProperties) {
Loading