Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Fedora Ingest Service
Commits
07924432
Commit
07924432
authored
Apr 15, 2021
by
Thomas Bernhart
Browse files
Switch to Gitlab Package Repository and update dependencies
parent
dbf8adfd
Pipeline
#24841
passed with stages
in 4 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
07924432
...
...
@@ -20,10 +20,9 @@ sourceCompatibility = 1.8
targetCompatibility
=
1.8
repositories
{
jcenter
()
mavenCentral
()
maven
{
url
"https://
dl.bintray.com/memoriav/memobase
"
url
"https://
gitlab.switch.ch/api/v4/projects/1324/packages/maven
"
}
}
...
...
@@ -36,7 +35,7 @@ dependencies {
def
excludeSlf4J
=
{
exclude
group:
'org.slf4j'
}
// JSON Parser
implementation
'com.beust:klaxon:5.
2
'
implementation
'com.beust:klaxon:5.
5
'
implementation
"org.apache.logging.log4j:log4j-api:${log4jV}"
implementation
"org.apache.logging.log4j:log4j-core:${log4jV}"
...
...
@@ -46,8 +45,8 @@ dependencies {
implementation
'org.apache.jena:apache-jena:3.14.0'
,
excludeSlf4J
implementation
'org.memobase:memobase-service-utilities:
2
.0.
2
'
,
excludeSlf4J
implementation
'ch.memobase:fedora-client:0.
7
.0'
,
excludeSlf4J
implementation
'org.memobase:memobase-service-utilities:
3
.0.
1
'
,
excludeSlf4J
implementation
'ch.memobase:fedora-client:0.
8
.0'
,
excludeSlf4J
// KOTLIN IMPORTS
implementation
'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
...
...
src/main/kotlin/Service.kt
View file @
07924432
...
...
@@ -39,8 +39,7 @@ class Service(fileName: String = "app.yml") : Closeable {
companion
object
{
const
val
FEDORA_PROPERTIES_PREFIX
=
"fedora"
const
val
CONSUMER_MAX_POLL_RECORDS
=
"10"
const
val
CONSUMER_MAX_INTERVAL_MS
=
"600000"
// 600000ms = 10min
const
val
CONSUMER_MAX_INTERVAL_MS
=
"600000"
// 600000ms = 10min
const
val
BINARY_FILE_URI_PATH
=
"binary"
const
val
SFTP_PREFIX
=
"sftp:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment