CST-5249 Restore OpenAIRE on user interfaces, QAAuthorizationFeature fix and IT java class

This commit is contained in:
frabacche
2023-12-15 16:41:48 +01:00
parent f931a52001
commit 0a74a941b0
6 changed files with 111 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;