Revision 60370
Added by Konstantina Galouni over 2 years ago
modules/uoa-orcid-service/trunk/src/main/java/eu/dnetlib/uoaorcidservice/configuration/properties/OrcidConfig.java | ||
---|---|---|
1 |
package eu.dnetlib.uoaorcidservice.configuration.properties; |
|
2 |
|
|
3 |
import org.springframework.boot.context.properties.ConfigurationProperties; |
|
4 |
|
|
5 |
@ConfigurationProperties("orcidservice.orcid") |
|
6 |
public class OrcidConfig { |
|
7 |
private String apiURL; |
|
8 |
private String tokenURL; |
|
9 |
private String clientId; |
|
10 |
private String clientSecret; |
|
11 |
|
|
12 |
public String getApiURL() { |
|
13 |
return apiURL; |
|
14 |
} |
|
15 |
|
|
16 |
public void setApiURL(String apiURL) { |
|
17 |
this.apiURL = apiURL; |
|
18 |
} |
|
19 |
|
|
20 |
public String getTokenURL() { |
|
21 |
return tokenURL; |
|
22 |
} |
|
23 |
|
|
24 |
public void setTokenURL(String tokenURL) { |
|
25 |
this.tokenURL = tokenURL; |
|
26 |
} |
|
27 |
|
|
28 |
public String getClientId() { |
|
29 |
return clientId; |
|
30 |
} |
|
31 |
|
|
32 |
public void setClientId(String clientId) { |
|
33 |
this.clientId = clientId; |
|
34 |
} |
|
35 |
|
|
36 |
public String getClientSecret() { |
|
37 |
return clientSecret; |
|
38 |
} |
|
39 |
|
|
40 |
public void setClientSecret(String clientSecret) { |
|
41 |
this.clientSecret = clientSecret; |
|
42 |
} |
|
43 |
} |
Also available in: Unified diff
[Trunk | Orcid Service]: OrcidConfig.java: Missing configuration file from previous commit.