forked from lsmyrnaios/UrlsController
- Fix getter and setter methods for the "isAuthoritative" field.
- Update Gradle.
This commit is contained in:
parent
b2ce6393c1
commit
ebf8896005
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
@ -26,7 +26,7 @@ if [[ justInstall -eq 1 && shouldRunInDocker -eq 1 ]]; then
|
||||||
justInstall=0
|
justInstall=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gradleVersion="8.3"
|
gradleVersion="8.4"
|
||||||
|
|
||||||
if [[ justInstall -eq 0 ]]; then
|
if [[ justInstall -eq 0 ]]; then
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,6 @@ public class BulkImport {
|
||||||
public BulkImportSource() {
|
public BulkImportSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getDatasourceID() {
|
public String getDatasourceID() {
|
||||||
return datasourceID;
|
return datasourceID;
|
||||||
}
|
}
|
||||||
|
@ -108,15 +107,14 @@ public class BulkImport {
|
||||||
this.mimeType = mimeType;
|
this.mimeType = mimeType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isAuthoritative() {
|
public boolean getIsAuthoritative() {
|
||||||
return isAuthoritative;
|
return isAuthoritative;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAuthoritative(boolean authoritative) {
|
public void setIsAuthoritative(boolean isAuthoritative) {
|
||||||
isAuthoritative = authoritative;
|
this.isAuthoritative = isAuthoritative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "BulkImportSource{" +
|
return "BulkImportSource{" +
|
||||||
|
|
|
@ -399,7 +399,7 @@ public class BulkImportServiceImpl implements BulkImportService {
|
||||||
DatabaseConnector.databaseLock.unlock();
|
DatabaseConnector.databaseLock.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
String openAireId = generateOpenaireId(fileNameID, datasourcePrefix, bulkImportSource.isAuthoritative());
|
String openAireId = generateOpenaireId(fileNameID, datasourcePrefix, bulkImportSource.getIsAuthoritative());
|
||||||
if ( openAireId == null )
|
if ( openAireId == null )
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue