Compare commits

...

21 Commits

Author SHA1 Message Date
Claire Lovisa
07c762d845 Bump mu-search 2023-01-23 10:54:06 +01:00
Nordine Bittich
e9dfdbbcf2 bump frontend 2023-01-21 11:07:56 +01:00
Nordine Bittich
cd5bc1d0e7 Merge commit 'f95b285ff8666b6fa9e9a47b1a6403ec257e50a6' 2023-01-21 11:06:23 +01:00
Boris De Vloed
462d30dbc4 change start time 2023-01-21 11:06:14 +01:00
Nordine Bittich
a336ff05fd Merge commit '55c8b45cc7788ebfcc63357bca92109fb71ce498' 2023-01-21 11:05:58 +01:00
Boris De Vloed
ede4e60907 move metadata 2023-01-21 11:04:37 +01:00
Boris De Vloed
0f3bfbc6c4 typo 2023-01-21 11:04:30 +01:00
Boris De Vloed
546a5d7815 use same graph for dcat and files to avoid bug 2023-01-21 11:04:22 +01:00
Boris De Vloed
f95b285ff8 Merge pull request #220 from lblod/fix/kal-api-job-start
change start time
2023-01-20 13:16:34 +01:00
Boris De Vloed
2139f11878 change start time 2023-01-20 12:13:28 +00:00
Boris De Vloed
55c8b45cc7 Merge pull request #219 from lblod/fix/dump-cleanup-workaround
use same graph for dcat and files to avoid bug
2023-01-20 11:49:16 +01:00
Boris De Vloed
d1c9650c4d move metadata 2023-01-20 09:10:50 +00:00
Boris De Vloed
1e9958f540 typo 2023-01-19 17:03:38 +00:00
Boris De Vloed
cd3fbf7d67 use same graph for dcat and files to avoid bug 2023-01-19 17:00:36 +00:00
Boris De Vloed
56c0eb61cd Merge pull request #216 from lblod/fix/rm-empty-literals
delete empty literals
2023-01-18 17:08:13 +01:00
Boris De Vloed
23c985ff94 delete empty literals 2023-01-18 15:17:15 +00:00
Boris De Vloed
8824400cc9 Revert "deletes empty literals"
This reverts commit 856cf6e122.
2023-01-18 15:14:53 +00:00
Boris De Vloed
5d9b33d685 Merge branch 'development' of https://github.com/lblod/app-organization-portal into development 2023-01-18 15:08:51 +00:00
Boris De Vloed
856cf6e122 deletes empty literals 2023-01-18 15:08:49 +00:00
Claire Lovisa
bdf93458fa Bump frontend 2023-01-18 15:38:30 +01:00
Nordine Bittich
95263b41e3 bugfix non utf8 characters (#214) 2023-01-18 11:55:26 +01:00
5 changed files with 111 additions and 5 deletions

View File

@@ -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": {

View 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" }
# }
#
#
# ]
# }
# ]'

View File

@@ -0,0 +1,10 @@
DELETE {
GRAPH ?g {
?s ?p "".
}
}
WHERE {
GRAPH ?g {
?s ?p "".
}
}

View File

@@ -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 } }

View File

@@ -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