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
Deletion Components
Import Process Delete
Commits
dbd9f18e
Unverified
Commit
dbd9f18e
authored
Nov 26, 2020
by
Sebastian Schüpbach
Browse files
more logging
Signed-off-by:
Sebastian Schüpbach
<
sebastian.schuepbach@unibas.ch
>
parent
5a32dbd0
Pipeline
#17899
passed with stages
in 5 minutes and 27 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/main/scala/ch/memobase/App.scala
View file @
dbd9f18e
...
@@ -53,8 +53,15 @@ object App
...
@@ -53,8 +53,15 @@ object App
None
None
}
}
}
}
.
filter
(
record
=>
filters
.
forall
(
f
=>
f
(
record
)))
.
filter
(
record
=>
{
.
foldLeft
(
HashSet
[
DeleteMessage
]())((
agg
,
record
)
=>
agg
+
DeleteMessage
(
record
,
sessionId
))
logger
.
info
(
"Filtering"
)
filters
.
forall
(
f
=>
f
(
record
))
}
)
.
foldLeft
(
HashSet
[
DeleteMessage
]())((
agg
,
record
)
=>
{
logger
.
info
(
"Aggregating"
)
agg
+
DeleteMessage
(
record
,
sessionId
)
})
)
)
.
foreach
(
id
=>
sendDelete
(
id
))
.
foreach
(
id
=>
sendDelete
(
id
))
}
catch
{
}
catch
{
...
...
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