argos/dmp-backend/core/src/main/java/eu/eudat/service/deposit/DepositProperties.java

97 lines
2.3 KiB
Java
Raw Normal View History

2024-04-01 10:16:19 +02:00
package eu.eudat.service.deposit;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.bind.ConstructorBinding;
import java.util.List;
@ConfigurationProperties(prefix = "deposit")
public class DepositProperties {
2023-12-13 10:42:59 +01:00
private List<DepositSource> sources;
2023-10-26 17:04:55 +02:00
public List<DepositSource> getSources() {
return sources;
}
2023-12-13 10:42:59 +01:00
public void setSources(List<DepositSource> sources) {
this.sources = sources;
}
2023-10-26 17:04:55 +02:00
public static class DepositSource {
2023-12-13 10:42:59 +01:00
private String repositoryId;
private String url;
private String issuerUrl;
private String clientId;
private String clientSecret;
private String scope;
2024-03-11 14:01:56 +01:00
private String pdfTransformerId;
private String rdaTransformerId;
2023-10-26 17:04:55 +02:00
2023-12-13 10:42:59 +01:00
public String getRepositoryId() {
return repositoryId;
}
public void setRepositoryId(String repositoryId) {
this.repositoryId = repositoryId;
2023-10-26 17:04:55 +02:00
}
public String getUrl() {
return url;
}
2023-12-13 10:42:59 +01:00
public void setUrl(String url) {
this.url = url;
}
2023-10-26 17:04:55 +02:00
public String getIssuerUrl() {
return issuerUrl;
}
2023-12-13 10:42:59 +01:00
public void setIssuerUrl(String issuerUrl) {
this.issuerUrl = issuerUrl;
}
2023-10-26 17:04:55 +02:00
public String getClientId() {
return clientId;
}
2023-12-13 10:42:59 +01:00
public void setClientId(String clientId) {
this.clientId = clientId;
}
2023-10-26 17:04:55 +02:00
public String getClientSecret() {
return clientSecret;
}
2023-12-13 10:42:59 +01:00
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
2023-10-26 17:04:55 +02:00
public String getScope() {
return scope;
}
2023-12-13 10:42:59 +01:00
public void setScope(String scope) {
this.scope = scope;
}
2024-03-11 14:01:56 +01:00
public String getPdfTransformerId() {
return pdfTransformerId;
}
public void setPdfTransformerId(String pdfTransformerId) {
this.pdfTransformerId = pdfTransformerId;
}
public String getRdaTransformerId() {
return rdaTransformerId;
}
public void setRdaTransformerId(String rdaTransformerId) {
this.rdaTransformerId = rdaTransformerId;
}
}
}