Skip to content
GitLab
Menu
Projects
Groups
Snippets
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
Reports Processing
Commits
ed91bcab
Commit
ed91bcab
authored
Aug 17, 2021
by
Jonas Waeber
Browse files
Update license headers
parent
30ff3b0a
Changes
7
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ed91bcab
##
Elastic Bulk Action Service
##
Reports Processor
A service which can create, index, update and delete documents from a elasticsearch cluster with a bulk processor.
The source for the consumer is one or several Kafka topics. Failed operations are reported to a specific topic.
\ No newline at end of file
A small service which process all reports that are sent.
*
Combines the actual report with the header metadata.
*
Adds the step name and session id to the id of the message to ensure that it is unique in elasticsearch
\ No newline at end of file
src/main/kotlin/App.kt
View file @
ed91bcab
/*
* Copyright (C) 2020 Memoriav
* Copyright (C) 2020
-2021
Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
src/main/kotlin/IndexReport.kt
View file @
ed91bcab
/*
* Copyright (C) 2020 Memoriav
* Copyright (C) 2020
-2021
Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
src/main/kotlin/KafkaTopology.kt
View file @
ed91bcab
/*
* Copyright (C) 2020 Memoriav
* Copyright (C) 2020
-2021
Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
@@ -14,7 +14,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
ch.memobase
import
com.beust.klaxon.Klaxon
...
...
src/main/kotlin/Report.kt
View file @
ed91bcab
/*
* mapper-service
* Copyright (C) 2020 Memoriav
* Copyright (C) 2020-2021 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
@@ -15,7 +14,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
ch.memobase
import
com.beust.klaxon.Klaxon
...
...
src/main/kotlin/Service.kt
View file @
ed91bcab
/*
* Copyright (C) 2020 Memoriav
* Copyright (C) 2020
-2021
Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
...
...
src/test/kotlin/TestProcessing.kt
View file @
ed91bcab
/*
* Copyright (C) 2020-2021 Memoriav
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import
ch.memobase.KafkaTopology
import
ch.memobase.Service
import
org.apache.kafka.common.serialization.StringDeserializer
...
...
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