Compare commits

...

55 Commits

Author SHA1 Message Date
Nordine Bittich
0b73421473 Merge branch 'development' 2022-03-03 09:24:46 +01:00
Nordine Bittich
dbf5fce41e bump frontend & reduce nb threads for mu search indexing 2022-03-03 09:21:40 +01:00
Boris De Vloed
272ccc57bb Merge pull request #107 from lblod/KAL-4760-gecoordineerde-synchronisatie-op-kal
reschedule op dump creation
2022-03-02 17:26:50 +01:00
Boris De Vloed
5c7833e53f update comment 2022-03-02 17:15:29 +01:00
Boris De Vloed
e744642b19 reschedule op dump creation 2022-03-02 17:06:43 +01:00
Boris De Vloed
5a3243bb74 Merge pull request #106 from lblod/feature/dump-compression
use compressed dumps
2022-03-01 11:29:51 +01:00
Boris De Vloed
b3c064b04a use compressed dumps 2022-03-01 10:35:28 +01:00
Claire Lovisa
df9a25210c Update gitignore 2022-03-01 08:46:24 +01:00
claire-lovisa
b3da0aa1a7 Merge pull request #104 from lblod/refactor/update-docker-compose-config
Update docker compose config
2022-02-28 17:39:31 +01:00
claire-lovisa
cdd86d3665 Merge branch 'development' into refactor/update-docker-compose-config 2022-02-28 17:39:09 +01:00
claire-lovisa
01a110fcdf Merge pull request #103 from lblod/refactor/kalliope-api-via-mu-auth
Remove unused config and bump kallipe-api
2022-02-28 17:37:59 +01:00
Claire Lovisa
cd185f427e Bump kalliope api to v0.5.5 2022-02-28 17:24:42 +01:00
Nordine Bittich
61deab8212 List all positions for a person (ministers + mandatories) & bug fix editing issue with delta (#105) 2022-02-28 15:26:39 +01:00
Claire Lovisa
c552d76e14 Add fixed image versions when possible 2022-02-25 10:39:53 +01:00
Claire Lovisa
94e8d8cf06 Add missing no restart 2022-02-25 10:03:17 +01:00
Claire Lovisa
bfee6de5a9 Remove unused config and bump kallipe-api 2022-02-24 18:25:33 +01:00
claire-lovisa
a815bc5619 Merge pull request #100 from lblod/feature/perf-bestuur
improve perf bestuur
2022-02-14 17:15:52 +01:00
Nordine Bittich
26de3401b4 Merge branch 'development' into feature/perf-bestuur 2022-02-14 17:14:40 +01:00
Sam Van Campenhout
313e8539dd Merge pull request #102 from lblod/chore/docker-restart
update docker restart policy
2022-02-14 15:39:20 +01:00
Nordine Bittich
11202a0b82 missing file & dump file 2022-02-14 15:23:29 +01:00
Nordine Bittich
1941b09790 gitignore update 2022-02-14 14:41:40 +01:00
Nordine Bittich
976c7b5478 update docker restart policy 2022-02-14 14:37:42 +01:00
Nordine Bittich
ddc679b2d7 bugfix 2022-02-11 11:34:42 +01:00
Nordine Bittich
f6b2c963f3 improve perf bestuur 2022-02-11 06:35:08 +01:00
Nordine Bittich
2cb5576e58 remove port mapping 2022-02-10 19:38:26 +01:00
Nordine Bittich
88226a9038 bump frontend 2022-02-10 16:02:13 +01:00
Nordine Bittich
2c6269d487 bump frontend 2022-02-10 16:01:33 +01:00
Sam Van Campenhout
f8a5935004 Add a type attribute to the contact-points model (#95) 2022-02-10 14:23:10 +01:00
Nordine Bittich
cdf4417ca5 bump frontend 2022-02-10 14:09:45 +01:00
Nordine Bittich
1f48744b62 bump frontend 2022-02-10 14:09:17 +01:00
Boris De Vloed
5a318a99fe add contact types (#88)
* add contact types

* move migration to 2022 directory

Co-authored-by: Nordine Bittich <nordine@bittich.be>
2022-02-10 13:53:48 +01:00
Claire Lovisa
0ecbca52d2 Bump adresenregister 2022-02-08 15:35:13 +01:00
Nordine Bittich
e52d71682e fix relationship (#99) 2022-02-08 10:22:27 +01:00
Nordine Bittich
3e14d92c29 mu search page person (#97) 2022-02-07 07:50:37 +01:00
Boris De Vloed
3bcc53b0bc add contact types (#88)
* add contact types

* move migration to 2022 directory

Co-authored-by: Nordine Bittich <nordine@bittich.be>
2022-02-02 14:59:02 +01:00
Nordine Bittich
f36e2ba706 bump frontend 2022-02-01 18:05:20 +01:00
Nordine Bittich
de2a143218 bump frontend 2022-02-01 18:04:19 +01:00
Sam Van Campenhout
99644e7925 Add a type attribute to the contact-points model (#95) 2022-02-01 15:23:01 +01:00
Nordine Bittich
f41430b699 bump frontend 2022-01-26 15:43:11 +01:00
Sam Van Campenhout
422e92a343 Temporarily rename the change-event-result organization relationship (#94)
This relationship uses the same `org:organization` predicate that is also used for the local involvements relationship. When querying for local involvements data when an organization also has change events data,  mu-cl-resources receives the change events data instead and runs into errors. This is likely a bug in the micro service itself. Renaming the predicate is a quick workaround so we have more time to find the real solution for the problem without a broken app.
2022-01-25 20:04:18 +01:00
Nordine Bittich
b5a7eb1755 bump frontend 2022-01-24 11:28:47 +01:00
claire-lovisa
a3478e997c Merge pull request #93 from lblod/features/new-reasons-code
add new reason code
2022-01-20 14:53:33 +01:00
Nordine Bittich
7aa969c17b add new reason code 2022-01-20 10:27:55 +01:00
claire-lovisa
814a232bf8 Rename migration with wrong timestamps (#92) 2022-01-19 13:57:29 +01:00
Nordine Bittich
2ec0184f25 bump frontend 1.5.0 (#91) 2022-01-13 17:12:37 +01:00
Boris De Vloed
4d7b448c70 Merge pull request #90 from lblod/feature/bump-privacy
bump privacy service
2022-01-13 15:52:08 +01:00
Nordine Bittich
7a5d097fd3 bump privacy service 2022-01-13 14:56:13 +01:00
Boris De Vloed
d58c4f1dde Merge pull request #89 from lblod/feature/fix-privacy-service
fix app graph for privacy service
2022-01-13 10:47:06 +01:00
Nordine Bittich
d2b13e291a fix app graph for privacy service 2022-01-13 10:43:54 +01:00
Boris De Vloed
40b12ef857 Merge pull request #87 from lblod/feature/delete-old-ce-data
delete old change event data
2022-01-10 11:50:34 +01:00
Nordine Bittich
97fdd21d79 delete old change event data 2022-01-10 10:19:03 +01:00
Sam Van Campenhout
4dd33478d1 Use date instead of datetime were needed (#86)
If only the date is relevant we should not store it as a `datetime` since that would add timezone information which might cause the date to be displayed incorrectly in the frontend.
2022-01-06 10:34:52 +01:00
Sam Van Campenhout
32175ef883 Change event model updates (#75)
* Config changes to support the new "change event" data model

* Add mock data that matches the new change event model

This data can be inserted into the database by mounting the folder into the migrations service.

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>
2022-01-06 09:25:06 +01:00
Boris De Vloed
b3ea4a1958 Merge pull request #85 from lblod/fix/cron-ambiguity
use mon-fri instead of numbers
2021-12-17 14:52:47 +01:00
Boris De Vloed
7b84f0f28d use mon-fri instead of number 2021-12-17 14:47:02 +01:00
30 changed files with 1080 additions and 70 deletions

1
.gitignore vendored
View File

@@ -27,3 +27,4 @@ source.json
out.json
security.yml
config/proxy-https/proxy_ssl.conf
/config/search/update-handler.store

View File

@@ -9,6 +9,7 @@ alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup
defmodule Acl.UserGroups.Config do
@protected_resource_type [
"http://www.w3.org/ns/org#Organization",
"http://data.vlaanderen.be/ns/besluit#Besluit",
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
@@ -42,6 +43,7 @@ defmodule Acl.UserGroups.Config do
"http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
"http://lblod.data.gift/vocabularies/organisatie/HelftVerkiezing",
"http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis",
"http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
"http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
"http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
"http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",

View File

@@ -1,4 +1,21 @@
export default [
{
match: {
graph: {
type: "uri",
value: "http://mu.semte.ch/graphs/organisatieportaal"
}
},
callback: {
url: 'http://search/update',
method: 'POST'
},
options: {
resourceFormat: "v0.0.1",
gracePeriod: 10000,
ignoreFromSelf: true
}
},
{
match: {
predicate: {

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/organisatieportaal

View File

@@ -0,0 +1,250 @@
# Notes:
# - current implementation has too many CE's.
# <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> : Actief
# <http://lblod.data.gift/concepts/abf4fee82019f88cf122f986830621ab> In oprichting
# <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> Niet Actief
#<http://lblod.data.gift/concepts/343a00884d012cee6915bc7559cd69ef>
# skos:prefLabel "Erkenning niet toegekend" .
#<http://lblod.data.gift/concepts/6651dc69b0ae8f7ff9974e8a23db1dec>
# skos:prefLabel "Naamswijziging" .
#<http://lblod.data.gift/concepts/3dd7550843eaf18e1fa1ca6c6c3f2610>
# skos:prefLabel "Erkenning toegekend" .
#<http://lblod.data.gift/concepts/4297bc56c1a874240e4566e2c5b8816f>
# skos:prefLabel "Erkenning opgeheven" .
#concepts:d7bbc0ea17fccf7ea35c552d757c905f
# skos:prefLabel "Samenvoeging" .
#<http://lblod.data.gift/concepts/9f19f14910245f9b14737f1f1a2067f2>
# skos:prefLabel "Wijziging Gebiedsomschrijving" .
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX concepts: <http://lblod.data.gift/concepts/>
PREFIX bestuur: <http://data.lblod.info/id/besturenVanDeEredienst/>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX contacthub: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ce: <http://data.lblod.info/id/veranderingsgebeurtenissen/>
PREFIX cer: <http://data.lblod.info/id/veranderingsgebeurtenis-resultaten/>
PREFIX m8g: <http://data.europa.eu/m8g/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX eli: <http://data.europa.eu/eli/ontology#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
#code is a weird prefix but that's how it's called in the domain.json file so I reused it
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
# Extende CE for ZWALM: merger of many kerkraden
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440a8b51d1435fedd5b05fa>
rdf:type org:ChangeEvent ;
contacthub:typeWijziging concepts:d7bbc0ea17fccf7ea35c552d757c905f ; # Samenvoeging
org:resultingOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d ;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_1;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_2;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_3;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_4;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_5;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_6;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_7;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_8;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_9;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_10;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_11;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_12;
org:originalOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d;
org:originalOrganization bestuur:6b910ac3244fb94f6ff2574cd5c91df0;
org:originalOrganization bestuur:cace83d9d7b40b310b43defd0acb9da5;
org:originalOrganization bestuur:3eb0946f3c30eeec932be0cccba15645;
org:originalOrganization bestuur:750db3adf47c16061911818dcbefacc2;
org:originalOrganization bestuur:3c8596af2a8aa4d11a6dcc0d32993c7a;
org:originalOrganization bestuur:57137d40d46aeb342b89ae2d50b127c3;
org:originalOrganization bestuur:9a1ca4b0731d15b683d116fef02f0f9e;
org:originalOrganization bestuur:10ccaccbbfcd79c5fad7fbd3747221a1;
org:originalOrganization bestuur:a6451f9c7503c2b7c56898fe12e97993;
org:originalOrganization bestuur:bbd46776125da4bd88e82e879863bbd6;
org:originalOrganization bestuur:edca1c6822af59d219d3652bd749f7fb;
dct:date "2019-07-15T00:00:00"^^xsd:dateTime ;
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/f2ec4db3-6154-41b4-a5be-e0bc129e98d7>;
dct:description "Opheffing 11 parochies, allen samengevoegd bij de parochie Alle Heiligen Nederzwalm - MB 15 juli 2019" .
<http://lblod.data.info/id/besluiten/f2ec4db3-6154-41b4-a5be-e0bc129e98d7>
a besluit:Besluit;
mu:uuid "f2ec4db3-6154-41b4-a5be-e0bc129e98d7";
eli:date_publication "2019-07-14T00:00:00"^^xsd:dateTime;
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
cer:71879559ac2045499def_DUMMY_CER_1
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_1";
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
org:organization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d .
cer:71879559ac2045499def_DUMMY_CER_2
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_2";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:6b910ac3244fb94f6ff2574cd5c91df0 .
cer:71879559ac2045499def_DUMMY_CER_3
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_3";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:cace83d9d7b40b310b43defd0acb9da5 .
cer:71879559ac2045499def_DUMMY_CER_4
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_4";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:3eb0946f3c30eeec932be0cccba15645 .
cer:71879559ac2045499def_DUMMY_CER_5
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_5";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:750db3adf47c16061911818dcbefacc2 .
cer:71879559ac2045499def_DUMMY_CER_6
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_6";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:3c8596af2a8aa4d11a6dcc0d32993c7a .
cer:71879559ac2045499def_DUMMY_CER_7
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_7";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:57137d40d46aeb342b89ae2d50b127c3 .
cer:71879559ac2045499def_DUMMY_CER_8
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_8";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:9a1ca4b0731d15b683d116fef02f0f9e .
cer:71879559ac2045499def_DUMMY_CER_9
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_9";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:10ccaccbbfcd79c5fad7fbd3747221a1 .
cer:71879559ac2045499def_DUMMY_CER_10
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_10";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:a6451f9c7503c2b7c56898fe12e97993 .
cer:71879559ac2045499def_DUMMY_CER_11
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_11";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:bbd46776125da4bd88e82e879863bbd6 .
cer:71879559ac2045499def_DUMMY_CER_12
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_12";
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
# Dummy naamsverandering
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_A>
rdf:type org:ChangeEvent ;
mu:uuid "3940cca35440_DUMMY_CE_A" ;
contacthub:typeWijziging concepts:6651dc69b0ae8f7ff9974e8a23db1dec ; # Naamswijziging
org:resultingOrganization bestuur:edca1c6822af59d219d3652bd749f7fb ;
dct:date "2010-01-01T00:00:00"^^xsd:dateTime ;
dct:description "Dummy CE de parochie previously known as something else" ;
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/db80b68d-c858-4c75-ae27-92b9125881c4>;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_A.
<http://lblod.data.info/id/besluiten/db80b68d-c858-4c75-ae27-92b9125881c4>
a besluit:Besluit;
mu:uuid "db80b68d-c858-4c75-ae27-92b9125881c4";
eli:date_publication "2010-01-01T00:00:00"^^xsd:dateTime;
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
cer:71879559ac2045499def_DUMMY_CER_A
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_A";
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
#Dummy erkenningen
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_B>
rdf:type org:ChangeEvent ;
mu:uuid "3940cca35440_DUMMY_CE_B" ;
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
org:resultingOrganization bestuur:edca1c6822af59d219d3652bd749f7fb ;
dct:date "2000-01-01T00:00:00"^^xsd:dateTime ;
dct:description "Dummy CE erkenning toegekend (1)" ;
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/7151e2ca-21f9-42a9-a657-0bbab6aeec7d>;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_B.
<http://lblod.data.info/id/besluiten/7151e2ca-21f9-42a9-a657-0bbab6aeec7d>
a besluit:Besluit;
mu:uuid "7151e2ca-21f9-42a9-a657-0bbab6aeec7d";
eli:date_publication "2000-01-01T00:00:00"^^xsd:dateTime;
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
cer:71879559ac2045499def_DUMMY_CER_B
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_B";
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_C>
rdf:type org:ChangeEvent ;
mu:uuid "3940cca35440_DUMMY_CE_C" ;
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
org:resultingOrganization bestuur:bbd46776125da4bd88e82e879863bbd6 ;
dct:date "2001-01-01T00:00:00"^^xsd:dateTime ;
dct:description "Dummy CE erkenning toegekend (2)";
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/3e9b2e03-2888-4397-a2df-bc5a240accc1>;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_C.
<http://lblod.data.info/id/besluiten/3e9b2e03-2888-4397-a2df-bc5a240accc1>
a besluit:Besluit;
mu:uuid "3e9b2e03-2888-4397-a2df-bc5a240accc1";
eli:date_publication "2001-01-01T00:00:00"^^xsd:dateTime;
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
cer:71879559ac2045499def_DUMMY_CER_C
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_C";
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
org:organization bestuur:bbd46776125da4bd88e82e879863bbd6 .
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_D>
rdf:type org:ChangeEvent ;
mu:uuid "3940cca35440_DUMMY_CE_D" ;
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
org:resultingOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d ;
dct:date "2002-01-01T00:00:00"^^xsd:dateTime ;
dct:description "Dummy CE erkenning toegekend (3)";
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/e09c3d9e-9230-4a13-9ba7-83cf1a055a05>;
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_D.
<http://lblod.data.info/id/besluiten/e09c3d9e-9230-4a13-9ba7-83cf1a055a05>
a besluit:Besluit;
mu:uuid "e09c3d9e-9230-4a13-9ba7-83cf1a055a05";
eli:date_publication "2002-01-01T00:00:00"^^xsd:dateTime;
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
cer:71879559ac2045499def_DUMMY_CER_D
a code:VeranderingsgebeurtenisResultaat;
mu:uuid "71879559ac2045499def_DUMMY_CER_D";
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
org:organization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d .

View File

@@ -128,6 +128,10 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/change-event-types/"
end
match "/change-event-results/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/change-event-results/"
end
match "/organization-status-codes/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/organization-status-codes/"
end
@@ -186,11 +190,15 @@ defmodule Dispatcher do
match "/site-types/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/site-types/"
end
match "/request-reasons/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/request-reasons/"
end
match "/decisions/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/decisions/"
end
###############
# LOGIN
@@ -214,6 +222,14 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://login/sessions/"
end
###############################################################
# SEARCH
###############################################################
match "/search/*path", %{ accept: %{ json: true }, layer: :api_services} do
IO.puts("hey")
Proxy.forward conn, path, "http://search/"
end
###############
# API SERVICES
@@ -223,10 +239,6 @@ defmodule Dispatcher do
forward conn, path, "http://kalliope-api/v3/api-docs/"
end
match "/changes/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/changes/"
end
match "/consolidated/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/consolidated/"
end

View File

@@ -0,0 +1,18 @@
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH ?g {
?changeEventResult org:organization ?organization .
}
} INSERT {
GRAPH ?g {
?changeEventResult ext:resultingOrganization ?organization .
}
} WHERE {
GRAPH ?g {
?changeEventResult a <http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat> ;
org:organization ?organization .
}
}

View File

@@ -0,0 +1,22 @@
# cf 20220110100000-secondary-contacts.sparql for context.
# In case it's not a secondary contactpoint (a contactpoint without an address if multiple contact points exist for one entity/mandataris)
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?contactPoint
schema:contactType "Primary"
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?contactPoint
a schema:ContactPoint.
FILTER NOT EXISTS {
?contactPoint
schema:contactType "Secondary"
}
}
}

View File

@@ -0,0 +1,24 @@
PREFIX locn: <http://www.w3.org/ns/locn#>
PREFIX schema: <http://schema.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
INSERT {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?secondary
schema:contactType "Secondary"
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?primary
a schema:ContactPoint;
locn:address ?a1;
schema:telephone ?t1.
?mandataris schema:contactPoint ?primary, ?secondary.
?secondary
schema:telephone ?t2.
FILTER NOT EXISTS {
?secondary locn:address ?a2.
}
}
}

View File

@@ -0,0 +1,8 @@
delete { GRAPH ?g {?s ?p ?o} }
where {
GRAPH ?g {
?s a ?type; ?p ?o.
filter(?type = <http://www.w3.org/ns/org#ChangeEvent> || ?p = <http://www.w3.org/ns/org#resultedFrom>)
}
}

View File

@@ -0,0 +1,11 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?s ?p ?o
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
?s a <http://mu.semte.ch/vocabularies/ext/ReasonCode>;
?p ?o.
}
}

View File

@@ -0,0 +1,37 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://data.lblod.info/id/information-request-reason/3aeec145-acf3-4b6e-9c00-5b8e285736e0> a ext:ReasonCode,
skos:Concept;
mu:uuid "3aeec145-acf3-4b6e-9c00-5b8e285736e0";
skos:prefLabel "Aanmaken van een persoon".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e1> a ext:ReasonCode,
skos:Concept;
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e1";
skos:prefLabel "In het kader van administratief toezicht".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e2> a ext:ReasonCode,
skos:Concept;
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e2";
skos:prefLabel "In het kader van een screeningsdossier".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e3> a ext:ReasonCode,
skos:Concept;
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e3";
skos:prefLabel "In het kader van een erkenningsdossier".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e4> a ext:ReasonCode,
skos:Concept;
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e4";
skos:prefLabel "In het kader van een wijzigingsdossier".
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e5> a ext:ReasonCode,
skos:Concept;
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e5";
skos:prefLabel "In het kader van een informatie-uitwisseling (cfr. protocol) met een overheidsinstelling".
}
}

View File

@@ -0,0 +1,104 @@
{
"version": "0.1",
"prefixes": {
"ch": "http://data.lblod.info/vocabularies/contacthub/",
"code": "http://lblod.data.gift/vocabularies/organisatie/",
"dc_terms": "http://purl.org/dc/terms/",
"euro": "http://data.europa.eu/m8g/",
"ext": "http://mu.semte.ch/vocabularies/ext/",
"org": "http://www.w3.org/ns/org#",
"regorg": "http://www.w3.org/ns/regorg#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"foaf": "http://xmlns.com/foaf/0.1/"
},
"resources": {
"change-events": {
"class": "org:ChangeEvent",
"attributes": {
"date": {
"type": "date",
"predicate": "dc_terms:date"
},
"description": {
"type": "string",
"predicate": "dc_terms:description"
}
},
"relationships": {
"type": {
"predicate": "ch:typeWijziging",
"target": "change-event-types",
"cardinality": "one"
},
"resulting-organizations": {
"predicate": "org:resultingOrganization",
"target": "organizations",
"cardinality": "many"
},
"original-organizations": {
"predicate": "org:originalOrganization",
"target": "organizations",
"cardinality": "many"
},
"results": {
"predicate": "code:veranderingsgebeurtenisResultaat",
"target": "change-event-results",
"cardinality": "many"
},
"decision": {
"predicate": "http://data.europa.eu/m8g/hasFormalFramework",
"target": "decisions",
"cardinality": "one"
}
},
"new-resource-base": "http://data.lblod.info/id/veranderingsgebeurtenissen/"
},
"change-event-results": {
"class": "code:VeranderingsgebeurtenisResultaat",
"attributes": {},
"relationships": {
"resulting-organization": {
"predicate": "ext:resultingOrganization",
"target": "organizations",
"cardinality": "one"
},
"status": {
"predicate": "code:resulterendeStatus",
"target": "organization-status-codes",
"cardinality": "one"
},
"result-from": {
"predicate": "code:veranderingsgebeurtenisResultaat",
"target": "change-events",
"cardinality": "one",
"inverse": true
}
},
"new-resource-base": "http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/"
},
"change-event-types": {
"class": "code:Veranderingsgebeurtenis",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"decisions": {
"class": "http://data.vlaanderen.be/ns/besluit#Besluit",
"attributes": {
"publication-date": {
"type": "date",
"predicate": "http://data.europa.eu/eli/ontology#date_publication"
},
"document-link": {
"type": "url",
"predicate": "foaf:page"
}
},
"new-resource-base": "http://lblod.data.info/id/besluiten/"
}
}
}

View File

@@ -46,9 +46,10 @@
},
"relationships": {
"mandatories": {
"predicate": "mandaat:isAangesteldAls",
"predicate": "mandaat:isBestuurlijkeAliasVan",
"target": "mandatories",
"cardinality": "many"
"cardinality": "many",
"inverse": true
},
"agents-in-position": {
"predicate": "org:heldBy",
@@ -63,11 +64,11 @@
"class": "ch:AgentInPositie",
"attributes": {
"agent-start-date": {
"type": "datetime",
"type": "date",
"predicate": "ch:startdatum"
},
"agent-end-date": {
"type": "datetime",
"type": "date",
"predicate": "ch:eindedatum"
}
},
@@ -117,11 +118,11 @@
"super": ["agents-in-position"],
"attributes": {
"start-date": {
"type": "datetime",
"type": "date",
"predicate": "mandaat:start"
},
"end-date": {
"type": "datetime",
"type": "date",
"predicate": "mandaat:einde"
}
},
@@ -165,7 +166,7 @@
"super": ["mandatories"],
"attributes": {
"expected-end-date": {
"type": "datetime",
"type": "date",
"predicate": "ere:geplandeEinddatumAanstelling"
},
"reason-stopped": {
@@ -210,6 +211,10 @@
"website": {
"type": "uri",
"predicate": "foaf:page"
},
"type": {
"type": "string",
"predicate": "schema:contactType"
}
},
"relationships": {
@@ -299,14 +304,22 @@
"cardinality": "many"
},
"changed-by": {
"predicate": "org:changedBy",
"predicate": "org:originalOrganization",
"target": "change-events",
"cardinality": "many"
"cardinality": "many",
"inverse": true
},
"resulted-from": {
"predicate": "org:resultedFrom",
"predicate": "org:resultingOrganization",
"target": "change-events",
"cardinality": "many"
"cardinality": "many",
"inverse": true
},
"change-event-results": {
"predicate": "ext:resultingOrganization",
"target": "change-event-results",
"cardinality": "many",
"inverse": true
},
"positions": {
"predicate": "org:hasPost",
@@ -454,11 +467,11 @@
"class": "besluit:Bestuursorgaan",
"attributes": {
"start-date": {
"type": "datetime",
"type": "date",
"predicate": "mandaat:bindingStart"
},
"end-date": {
"type": "datetime",
"type": "date",
"predicate": "mandaat:bindingEinde"
}
},
@@ -628,49 +641,6 @@
},
"new-resource-base": "http://data.lblod.info/id/vestigingen/"
},
"change-events": {
"class": "org:ChangeEvent",
"attributes": {
"date": {
"type": "datetime",
"predicate": "dc_terms:date"
},
"description": {
"type": "string",
"predicate": "dc_terms:description"
}
},
"relationships": {
"type": {
"predicate": "ch:typeWijziging",
"target": "change-event-types",
"cardinality": "one"
},
"resulting-organization": {
"predicate": "org:resultedFrom",
"target": "organizations",
"cardinality": "many",
"inverse": true
},
"original-organization": {
"predicate": "org:changedBy",
"target": "organizations",
"cardinality": "many",
"inverse": true
}
},
"new-resource-base": "http://data.lblod.info/id/veranderingsgebeurtenissen/"
},
"change-event-types": {
"class": "code:Veranderingsgebeurtenis",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"concepts": {
"class": "skos:Concept",
"attributes": {

View File

@@ -12,6 +12,7 @@
(read-domain-file "domain.json")
(read-domain-file "auth.json")
(read-domain-file "change-events.json")
(read-domain-file "files-domain.lisp")
(read-domain-file "dcat.json")
(read-domain-file "privacy-centric-service.json")

490
config/search/config.json Normal file
View File

@@ -0,0 +1,490 @@
{
"automatic_index_updates": true,
"persist_indexes": true,
"number_of_threads": 6,
"eager_indexing_groups": [
[{ "variables": [], "name": "acmidm-lezer" }],
[{ "variables": [], "name": "acmidm-editeerder" }],
[{ "variables": [], "name": "acmidm-beheerder" }]
],
"types": [
{
"type": "mandatory",
"on_path": "mandatories",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
"properties": {
"given_name": ["http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan","http://xmlns.com/foaf/0.1/givenName"],
"id": ["http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan","http://mu.semte.ch/vocabularies/core/uuid"],
"uuid": ["http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan","http://mu.semte.ch/vocabularies/core/uuid"],
"family_name": ["http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan","http://xmlns.com/foaf/0.1/familyName"],
"first_name_used": ["http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan","https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"],
"end_date": "http://data.vlaanderen.be/ns/mandaat#einde",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://www.w3.org/ns/org#hasPost",
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
"http://data.vlaanderen.be/ns/besluit#bestuurt",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://www.w3.org/ns/org#role",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": { "type": "text" },
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": { "type": "text" },
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": { "type": "date" }
}
}
},
{
"type": "minister",
"on_path": "ministers",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
"sub_types": ["http://data.lblod.info/vocabularies/contacthub/AgentInPositie"],
"properties": {
"given_name": ["http://www.w3.org/ns/org#heldBy","http://xmlns.com/foaf/0.1/givenName"],
"id": ["http://www.w3.org/ns/org#heldBy","http://mu.semte.ch/vocabularies/core/uuid"],
"uuid": ["http://www.w3.org/ns/org#heldBy","http://mu.semte.ch/vocabularies/core/uuid"],
"family_name": ["http://www.w3.org/ns/org#heldBy","http://xmlns.com/foaf/0.1/familyName"],
"first_name_used": ["http://www.w3.org/ns/org#heldBy","https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"],
"end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum",
"organization_id": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"organization_name": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"organization_municipality": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
],
"organization_province": [
"http://www.w3.org/ns/org#holds",
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"position_id": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"position_name": [
"http://www.w3.org/ns/org#holds",
"http://data.lblod.info/vocabularies/erediensten/functie",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
},
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": { "type": "text" },
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": { "type": "text" },
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": { "type": "date" }
}
}
},
{
"type" : "person",
"composite_types" : ["minister", "mandatory"],
"on_path" : "people",
"properties" : [
{
"name" : "given_name",
"mappings" : {
"minister" : "given_name",
"mandatory" : "given_name"
}
},
{
"name" : "id",
"mappings" : {
"minister" : "id",
"mandatory" : "id"
}
},
{
"name" : "family_name",
"mappings" : {
"minister" : "family_name",
"mandatory" : "family_name"
}
},
{
"name" : "first_name_used",
"mappings" : {
"minister" : "first_name_used",
"mandatory" : "first_name_used"
}
},
{
"name" : "end_date",
"mappings" : {
"minister" : "end_date",
"mandatory" : "end_date"
}
},
{
"name" : "organization_id",
"mappings" : {
"minister" : "organization_id",
"mandatory" : "organization_id"
}
},
{
"name" : "organization_name",
"mappings" : {
"minister" : "organization_name",
"mandatory" : "organization_name"
}
},
{
"name" : "organization_municipality",
"mappings" : {
"minister" : "organization_municipality",
"mandatory" : "organization_municipality"
}
},
{
"name" : "organization_province",
"mappings" : {
"minister" : "organization_province",
"mandatory" : "organization_province"
}
},
{
"name" : "position_id",
"mappings" : {
"minister" : "position_id",
"mandatory" : "position_id"
}
},
{
"name" : "position_name",
"mappings" : {
"minister" : "position_name",
"mandatory" : "position_name"
}
}
],
"mappings": {
"properties": {
"family_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"id": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"given_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_id": { "type": "text" },
"organization_province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"organization_municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"position_id": { "type": "text" },
"position_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"end_date": { "type": "date" }
}
}
},
{
"type": "unit",
"on_path": "units",
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
"sub_types": [
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst"
],
"properties": {
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
"classification_id": [
"http://www.w3.org/ns/org#classification",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"classification_name": [
"http://www.w3.org/ns/org#classification",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"status_id": [
"http://www.w3.org/ns/regorg#orgStatus",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_id": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://mu.semte.ch/vocabularies/core/uuid"
],
"recognized_worship_type_name": [
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
"http://www.w3.org/2004/02/skos/core#prefLabel"
],
"province": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"http://www.w3.org/ns/locn#adminUnitL2"
],
"municipality": [
"http://www.w3.org/ns/org#hasPrimarySite",
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
]
},
"mappings": {
"properties": {
"classification_id": { "type": "text" },
"recognized_worship_type_id": { "type": "text" },
"name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"classification_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"status": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"recognized_worship_type_name": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"province": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
},
"municipality": {
"type": "text",
"fields": {
"field": {
"type": "keyword"
}
}
}
}
}
}
]
}

View File

@@ -29,6 +29,7 @@ services:
image: lblod/mock-login-service:latest
links:
- db:database
restart: "no"
sink:
restart: "no"
login:
@@ -44,3 +45,23 @@ services:
restart: "no"
uri-info:
restart: "no"
delta-producer-bg-jobs-initiator-administrative-units:
restart: "no"
delta-producer-pub-graph-maintainer-administrative-units:
restart: "no"
delta-producer-json-diff-publisher-administrative-units:
restart: "no"
delta-producer-bg-jobs-initiator-organizations:
restart: "no"
delta-producer-pub-graph-maintainer-organizations:
restart: "no"
delta-producer-json-diff-publisher-organizations:
restart: "no"
search:
restart: "no"
elasticsearch:
restart: "no"
file:
restart: "no"
delta-producer-dump-file-publisher:
restart: "no"

View File

@@ -18,7 +18,7 @@ services:
restart: always
logging: *default-logging
dispatcher:
image: semtech/mu-dispatcher:latest
image: semtech/mu-dispatcher:2.1.0-beta.2
volumes:
- ./config/dispatcher:/config
labels:
@@ -61,7 +61,7 @@ services:
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors # Bump to fixed version when merged and release
links:
- db:database
volumes:
@@ -79,7 +79,7 @@ services:
restart: always
logging: *default-logging
kalliope-api:
image: lblod/jsonld-delta-service:0.5.4
image: lblod/jsonld-delta-service:0.5.5
volumes:
- ./config/kalliope:/config
- ./data/files:/share
@@ -90,6 +90,7 @@ services:
LOGGING_LEVEL: "INFO"
SPARQL_ENDPOINT: "http://db:8890/sparql"
LIMIT_SIZE: "10000"
MU_AUTH_SUDO: "false"
labels:
- "logging=true"
restart: always
@@ -127,7 +128,7 @@ services:
links:
- db:database
accountdetail:
image: lblod/account-detail-service:latest
image: lblod/account-detail-service:0.1.0
labels:
- "logging=true"
environment:
@@ -137,7 +138,7 @@ services:
restart: always
logging: *default-logging
privacy:
image: lblod/privacy-centric-service:0.2.1
image: lblod/privacy-centric-service:0.3.0
labels:
- "logging=true"
environment:
@@ -146,18 +147,19 @@ services:
LOGGING_LEVEL: "INFO"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/privacy-centric-graph"
SESSION_GRAPH: "http://mu.semte.ch/graphs/sessions"
APP_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
labels:
- "logging=true"
restart: always
logging: *default-logging
adressenregister:
image: lblod/adressenregister-fuzzy-search-service:0.5.0
image: lblod/adressenregister-fuzzy-search-service:0.6.0
labels:
- "logging=true"
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-contact-hub:1.4.0
image: lblod/frontend-contact-hub:1.6.3
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
@@ -198,7 +200,7 @@ services:
# DELTA GENERAL
################################################################################
delta-producer-dump-file-publisher:
image: lblod/delta-producer-dump-file-publisher:0.4.0
image: bdevloed/delta-producer-dump-file-publisher:0.5.0-beta
volumes:
- ./config/delta-producer/dump-file-publisher:/config
- ./data/files:/share
@@ -280,7 +282,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: '30 9 8-18/2 * * 1-5' # At second :30, at minute :09, every 2 hours between hours 08:00-18:00, on every Monday to Friday
CRON_PATTERN_DUMP_JOB: '42 * * * *' # At minute 42 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:
@@ -331,3 +333,22 @@ services:
################################################################################
# DELTA ORGANIZATIONS: END
################################################################################
################################################################################
# MU SEARCH - TODO USE THE CORRECT IMAGE ONCE INHERITANCE IS IN MU SEARCH
################################################################################
search:
image: nbittich/mu-search:wip-inheritance # Bump to fixed version when merged and release to the original repo
links:
- db:database
restart: always
volumes:
- ./config/search:/config
elasticsearch:
image: semtech/mu-search-elastic-backend:1.0.1
volumes:
- ./data/elasticsearch/:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
restart: always