Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07c762d845 | ||
|
|
e9dfdbbcf2 | ||
|
|
cd5bc1d0e7 | ||
|
|
462d30dbc4 | ||
|
|
a336ff05fd | ||
|
|
ede4e60907 | ||
|
|
0f3bfbc6c4 | ||
|
|
546a5d7815 | ||
|
|
f95b285ff8 | ||
|
|
2139f11878 | ||
|
|
55c8b45cc7 | ||
|
|
d1c9650c4d | ||
|
|
1e9958f540 | ||
|
|
cd3fbf7d67 | ||
|
|
56c0eb61cd | ||
|
|
23c985ff94 | ||
|
|
8824400cc9 | ||
|
|
5d9b33d685 | ||
|
|
856cf6e122 | ||
|
|
bdf93458fa | ||
|
|
95263b41e3 |
@@ -20,7 +20,7 @@
|
||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
||||
"fileBaseName": "dump-organizations",
|
||||
"targetDcatGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizationsdeltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"cleanupOldDumps": true
|
||||
},
|
||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations": {
|
||||
@@ -28,7 +28,7 @@
|
||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
||||
"fileBaseName": "dump-organizations",
|
||||
"targetDcatGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizationsdeltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"cleanupOldDumps": true
|
||||
},
|
||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/public": {
|
||||
|
||||
92
config/migrations/2023/20230118093645-fix-non-utf8.sparql
Normal file
92
config/migrations/2023/20230118093645-fix-non-utf8.sparql
Normal file
@@ -0,0 +1,92 @@
|
||||
delete {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s <http://xmlns.com/foaf/0.1/givenName> ?givenName.
|
||||
}
|
||||
}
|
||||
|
||||
insert {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s <http://xmlns.com/foaf/0.1/givenName> "André".
|
||||
}
|
||||
}
|
||||
|
||||
where {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s <http://xmlns.com/foaf/0.1/givenName> ?givenName.
|
||||
|
||||
FILTER (?s in(
|
||||
<http://data.lblod.info/id/personen/6246DD30D5CA8D65E42B3030>,
|
||||
<http://data.lblod.info/id/personen/635BD7518DE5818A7C9F4313>,
|
||||
<http://data.lblod.info/id/personen/6246DDA3D5CA8D65E42B3031>,
|
||||
<http://data.lblod.info/id/personen/62384F97B72F9F4B33508056>,
|
||||
<http://data.lblod.info/id/personen/623993F1B72F9F4B3350808E>
|
||||
))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# The associated call to trigger a reindex is :
|
||||
|
||||
# curl --location --request POST '172.19.0.23/update' \
|
||||
# --header 'Content-Type: application/vnd.api+json' \
|
||||
# --data-raw ' [
|
||||
# {
|
||||
# "deletes": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/6246DD30D5CA8D65E42B3030" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "6246DD30D5CA8D65E42B3030" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/635BD7518DE5818A7C9F4313" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "635BD7518DE5818A7C9F4313" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/6246DDA3D5CA8D65E42B3031" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "6246DDA3D5CA8D65E42B3031" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/62384F97B72F9F4B33508056" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "62384F97B72F9F4B33508056" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/623993F1B72F9F4B3350808E" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "623993F1B72F9F4B3350808E" }
|
||||
# }
|
||||
#
|
||||
# ],
|
||||
# "inserts": [
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/6246DD30D5CA8D65E42B3030" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "6246DD30D5CA8D65E42B3030" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/635BD7518DE5818A7C9F4313" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "635BD7518DE5818A7C9F4313" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/6246DDA3D5CA8D65E42B3031" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "6246DDA3D5CA8D65E42B3031" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/62384F97B72F9F4B33508056" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "62384F97B72F9F4B33508056" }
|
||||
# },
|
||||
# {
|
||||
# "subject": { "type": "uri", "value": "http://data.lblod.info/id/personen/623993F1B72F9F4B3350808E" },
|
||||
# "predicate": { "type": "uri", "value": "http://mu.semte.ch/vocabularies/core/uuid" },
|
||||
# "object": { "type": "string", "value": "623993F1B72F9F4B3350808E" }
|
||||
# }
|
||||
#
|
||||
#
|
||||
# ]
|
||||
# }
|
||||
# ]'
|
||||
@@ -0,0 +1,10 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?s ?p "".
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH ?g {
|
||||
?s ?p "".
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# MOVE SILENT <http://redpencil.data.gift/id/deltas/producer/organizationsdeltas> <http://redpencil.data.gift/id/deltas/producer/organizations-deltas>
|
||||
DELETE { GRAPH <http://redpencil.data.gift/id/deltas/producer/organizationsdeltas> { ?s ?p ?o } }
|
||||
INSERT { GRAPH <http://redpencil.data.gift/id/deltas/producer/organizations-deltas> { ?s ?p ?o } }
|
||||
WHERE { GRAPH <http://redpencil.data.gift/id/deltas/producer/organizationsdeltas> { ?s ?p ?o } }
|
||||
@@ -157,7 +157,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:1.14.0-0
|
||||
image: lblod/frontend-organization-portal:1.14.0
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
@@ -287,7 +287,7 @@ services:
|
||||
DUMP_FILE_CREATION_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations"
|
||||
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations"
|
||||
HEALING_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations"
|
||||
CRON_PATTERN_DUMP_JOB: "42 * * * *" # At minute 42 every hour
|
||||
CRON_PATTERN_DUMP_JOB: "40 * * * *" # At minute 40 every hour
|
||||
CRON_PATTERN_HEALING_JOB: "0 0 4 * * *" # everyday at 4 AM
|
||||
START_INITIAL_SYNC: "false" # prefer to disable it now. We want to have feeling with how the DB acts.
|
||||
labels:
|
||||
@@ -548,7 +548,7 @@ services:
|
||||
# MU SEARCH
|
||||
################################################################################
|
||||
search:
|
||||
image: semtech/mu-search:0.9.0-beta.1
|
||||
image: semtech/mu-search:0.9.0-beta.2
|
||||
links:
|
||||
- db:database
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user