- Add the "shutdownService.sh" script.
- Update dependencies.
This commit is contained in:
parent
41af8cc429
commit
89ddd5d963
18
build.gradle
18
build.gradle
|
@ -1,12 +1,14 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'org.springframework.boot' version '2.7.12'
|
id 'org.springframework.boot' version '2.7.14'
|
||||||
id 'io.spring.dependency-management' version '1.1.0'
|
id 'io.spring.dependency-management' version '1.1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'eu.openaire.pdf_aggregation_statistics'
|
java {
|
||||||
version = '0.0.1-SNAPSHOT'
|
group = 'eu.openaire.pdf_aggregation_statistics'
|
||||||
sourceCompatibility = '1.8'
|
version = '0.0.1-SNAPSHOT'
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -56,7 +58,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
|
// https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common
|
||||||
implementation('org.apache.hadoop:hadoop-common:3.3.5') {
|
implementation('org.apache.hadoop:hadoop-common:3.3.6') {
|
||||||
exclude group: 'org.apache.parquet', module: 'parquet-avro'
|
exclude group: 'org.apache.parquet', module: 'parquet-avro'
|
||||||
exclude group: 'org.apache.avro', module: 'avro'
|
exclude group: 'org.apache.avro', module: 'avro'
|
||||||
exclude group: 'org.slf4j', module: 'slf4j-api'
|
exclude group: 'org.slf4j', module: 'slf4j-api'
|
||||||
|
@ -72,7 +74,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-mapreduce-client-core
|
// https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-mapreduce-client-core
|
||||||
implementation('org.apache.hadoop:hadoop-mapreduce-client-core:3.3.5') {
|
implementation('org.apache.hadoop:hadoop-mapreduce-client-core:3.3.6') {
|
||||||
exclude group: 'org.apache.parquet', module: 'parquet-avro'
|
exclude group: 'org.apache.parquet', module: 'parquet-avro'
|
||||||
exclude group: 'org.apache.avro', module: 'avro'
|
exclude group: 'org.apache.avro', module: 'avro'
|
||||||
exclude group: 'org.slf4j', module: 'slf4j-api'
|
exclude group: 'org.slf4j', module: 'slf4j-api'
|
||||||
|
@ -89,7 +91,7 @@ dependencies {
|
||||||
implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1'
|
implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1'
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus
|
// https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus
|
||||||
runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.1'
|
runtimeOnly 'io.micrometer:micrometer-registry-prometheus:1.11.2'
|
||||||
|
|
||||||
testImplementation 'org.springframework.security:spring-security-test'
|
testImplementation 'org.springframework.security:spring-security-test'
|
||||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
|
||||||
|
validateDistributionUrl=true
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -26,7 +26,7 @@ if [[ justInstall -eq 1 && shouldRunInDocker -eq 1 ]]; then
|
||||||
justInstall=0
|
justInstall=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gradleVersion="8.1.1"
|
gradleVersion="8.2.1"
|
||||||
|
|
||||||
if [[ justInstall -eq 0 ]]; then
|
if [[ justInstall -eq 0 ]]; then
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
echo "Running compose down.."
|
||||||
|
sudo docker compose down
|
|
@ -1,6 +1,5 @@
|
||||||
package eu.openaire.pdf_aggregation_statistics;
|
package eu.openaire.pdf_aggregation_statistics;
|
||||||
|
|
||||||
import eu.openaire.pdf_aggregation_statistics.components.SchedulingTasks;
|
|
||||||
import eu.openaire.pdf_aggregation_statistics.util.UriBuilder;
|
import eu.openaire.pdf_aggregation_statistics.util.UriBuilder;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
Loading…
Reference in New Issue