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
histhub
dodis
Commits
0b58f476
Commit
0b58f476
authored
Jan 25, 2019
by
Tobias Steiner
Browse files
Debug flab and conditional for sitemap
parent
0ea523b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Extractor.ts
View file @
0b58f476
...
...
@@ -27,6 +27,7 @@ class Extractor extends Transform {
console
.
log
(
"
Messages
"
);
const
data
=
JSON
.
parse
(
chunk
.
parsed
.
doc
.
res
.
body
);
console
.
log
(
data
);
try
{
const
res
=
{
id
:
data
.
data
.
id
.
toString
(),
...
...
src/index.ts
View file @
0b58f476
...
...
@@ -46,7 +46,9 @@ kafka.init().then(async () => {
/**
* Generate sitemap of all resources
*/
new
SitemapGenerator
(
magpieProducer
);
if
(
core
.
getNconf
().
get
(
'
buildSitemap
'
))
{
new
SitemapGenerator
(
magpieProducer
);
}
/**
* On data (flow mode) extract data from magpie and send them to the geolinker
...
...
Write
Preview
Supports
Markdown
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