added kbo-administrative-unit model
This commit is contained in:
@@ -76,7 +76,8 @@ defmodule Acl.UserGroups.Config do
|
|||||||
"http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
|
"http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
|
||||||
"http://www.w3.org/ns/org#Post",
|
"http://www.w3.org/ns/org#Post",
|
||||||
"http://www.w3.org/ns/org#ChangeEvent",
|
"http://www.w3.org/ns/org#ChangeEvent",
|
||||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
|
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie",
|
||||||
|
"http://mu.semte.ch/vocabularies/ext/KboEenheid",
|
||||||
]
|
]
|
||||||
|
|
||||||
@shared_protected_type [
|
@shared_protected_type [
|
||||||
|
|||||||
@@ -219,6 +219,10 @@ defmodule Dispatcher do
|
|||||||
Proxy.forward conn, path, "http://cache/decision-activities/"
|
Proxy.forward conn, path, "http://cache/decision-activities/"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
match "/kbo-administrative-units/*path", %{ accept: [:any], layer: :api} do
|
||||||
|
Proxy.forward conn, path, "http://resource/kbo-administrative-units/"
|
||||||
|
end
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# LOGIN
|
# LOGIN
|
||||||
###############
|
###############
|
||||||
@@ -313,6 +317,10 @@ defmodule Dispatcher do
|
|||||||
forward conn, path, "http://sync-ovo-numbers/sync-from-kbo/"
|
forward conn, path, "http://sync-ovo-numbers/sync-from-kbo/"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
post "/kbo-data-sync/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||||
|
forward conn, path, "http://kbo-data-sync/sync-kbo-data/"
|
||||||
|
end
|
||||||
|
|
||||||
get "/ldes/*path", %{ layer: :api_services } do
|
get "/ldes/*path", %{ layer: :api_services } do
|
||||||
forward conn, path, "http://ldes-backend/"
|
forward conn, path, "http://ldes-backend/"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -521,8 +521,15 @@
|
|||||||
"predicate": "skos:exactMatch",
|
"predicate": "skos:exactMatch",
|
||||||
"target": "concepts",
|
"target": "concepts",
|
||||||
"cardinality": "one"
|
"cardinality": "one"
|
||||||
|
},
|
||||||
|
"kbo-administrative-unit": {
|
||||||
|
"predicate": "owl:sameAs",
|
||||||
|
"target": "kbo-administrative-units",
|
||||||
|
"cardinality": "one",
|
||||||
|
"inverse": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
|
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
|
||||||
},
|
},
|
||||||
"organization-classification-codes": {
|
"organization-classification-codes": {
|
||||||
@@ -593,6 +600,21 @@
|
|||||||
"super": ["worship-administrative-units"],
|
"super": ["worship-administrative-units"],
|
||||||
"new-resource-base": "http://data.lblod.info/id/centraleBesturenVanDeEredienst/"
|
"new-resource-base": "http://data.lblod.info/id/centraleBesturenVanDeEredienst/"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"kbo-administrative-units": {
|
||||||
|
"class": "ext:KboEenheid",
|
||||||
|
"super": ["organizations"],
|
||||||
|
"relationships": {
|
||||||
|
"administrative-unit": {
|
||||||
|
"predicate": "owl:sameAs",
|
||||||
|
"target": "administrative-units",
|
||||||
|
"cardinality": "one"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"new-resource-base": "http://data.lblod.info/id/kboBestuurseenheden/"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
"representative-bodies": {
|
"representative-bodies": {
|
||||||
"class": "ere:RepresentatiefOrgaan",
|
"class": "ere:RepresentatiefOrgaan",
|
||||||
"super": ["organizations"],
|
"super": ["organizations"],
|
||||||
@@ -813,6 +835,7 @@
|
|||||||
"target": "site-types",
|
"target": "site-types",
|
||||||
"cardinality": "one"
|
"cardinality": "one"
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"new-resource-base": "http://data.lblod.info/id/vestigingen/"
|
"new-resource-base": "http://data.lblod.info/id/vestigingen/"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -306,6 +306,14 @@ services:
|
|||||||
- "logging=true"
|
- "logging=true"
|
||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
kbo-data-sync:
|
||||||
|
image: kbo-data-sync-service:0.0.1
|
||||||
|
links:
|
||||||
|
- db:database
|
||||||
|
labels:
|
||||||
|
- "logging=true"
|
||||||
|
restart: always
|
||||||
|
logging: *default-logging
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# DELTA GENERAL
|
# DELTA GENERAL
|
||||||
|
|||||||
Reference in New Issue
Block a user