mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 22:13:08 +00:00
CST-5249 Restore OpenAIRE on user interfaces, QAAuthorizationFeature fix and IT java class
This commit is contained in:
@@ -34,9 +34,17 @@ public class QAEvent {
|
||||
private String source;
|
||||
|
||||
private String eventId;
|
||||
|
||||
/**
|
||||
* contains the targeted dspace object,
|
||||
* ie: oai:www.openstarts.units.it:123456789/1120 contains the handle
|
||||
* of the DSpace pbject in its final part 123456789/1120
|
||||
* */
|
||||
private String originalId;
|
||||
|
||||
/**
|
||||
* evaluated with the targeted dspace object id
|
||||
*
|
||||
* */
|
||||
private String target;
|
||||
|
||||
private String related;
|
||||
|
@@ -103,7 +103,7 @@ public class OpenaireRestConnector {
|
||||
|
||||
if (StringUtils.isBlank(tokenServiceUrl) || StringUtils.isBlank(clientId)
|
||||
|| StringUtils.isBlank(clientSecret)) {
|
||||
throw new IOException("Cannot grab Openaire token with nulls service url, client id or secret");
|
||||
throw new IOException("Cannot grab OpenAIRE token with nulls service url, client id or secret");
|
||||
}
|
||||
|
||||
String auth = clientId + ":" + clientSecret;
|
||||
|
Reference in New Issue
Block a user