From 60ee996e36e203184d94ba7516b3aa665f6dc8f6 Mon Sep 17 00:00:00 2001 From: Sam Van Campenhout Date: Wed, 3 Nov 2021 12:59:18 +0100 Subject: [PATCH] Remove all code related to "verbonden juridische structuren" This functionality is no longer needed. --- config/dispatcher/dispatcher.ex | 8 ------- config/resources/domain.json | 42 --------------------------------- 2 files changed, 50 deletions(-) diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 1b4c4f8..6074fc6 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -147,10 +147,6 @@ defmodule Dispatcher do Proxy.forward conn, path, "http://cache/minister-conditions/" end - match "/associated-legal-structures/*path", %{ accept: [:json], layer: :api} do - Proxy.forward conn, path, "http://cache/associated-legal-structures/" - end - match "/dates-of-birth/*path", %{ accept: [:json], layer: :api} do Proxy.forward conn, path, "http://cache/dates-of-birth/" end @@ -179,10 +175,6 @@ defmodule Dispatcher do Proxy.forward conn, path, "http://cache/minister-condition-criterions/" end - match "/legal-form-types/*path", %{ accept: [:json], layer: :api} do - Proxy.forward conn, path, "http://cache/legal-form-types/" - end - match "/document-types-criterions/*path", %{ accept: [:json], layer: :api} do Proxy.forward conn, path, "http://cache/document-types-criterions/" end diff --git a/config/resources/domain.json b/config/resources/domain.json index 6ff1654..02eb662 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -429,11 +429,6 @@ "cardinality": "many", "inverse": true }, - "associated-structures": { - "predicate": "ere:heeftVerbondenEntiteit", - "target": "associated-legal-structures", - "cardinality": "many" - }, "minister-positions": { "predicate": "ere:wordtBediendDoor", "target": "minister-positions", @@ -771,33 +766,6 @@ }, "new-resource-base": "http://data.lblod.info/id/voorwaardenBedienaar/" }, - "associated-legal-structures": { - "class": "ere:VerbondenJuridischeStructuren", - "attributes": { - "name": { - "type": "string", - "predicate": "skos:prefLabel" - } - }, - "relationships": { - "registration": { - "predicate": "regorg:registration", - "target": "identifiers", - "cardinality": "one" - }, - "legal-type": { - "predicate": "organisatie:rechtsvorm", - "target": "legal-form-types", - "cardinality": "one" - }, - "address": { - "predicate": "locn:address", - "target": "addresses", - "cardinality": "one" - } - }, - "new-resource-base": "http://data.lblod.info/id/verbondenJuridischeStructuren/" - }, "dates-of-birth": { "class": "persoon:Geboorte", "attributes": { @@ -891,16 +859,6 @@ }, "new-resource-base": "http://lblod.data.gift/concepts/" }, - "legal-form-types": { - "class": "code:Rechtsvormtype", - "attributes": { - "label": { - "type": "string", - "predicate": "skos:prefLabel" - } - }, - "new-resource-base": "http://lblod.data.gift/concepts/" - }, "document-types-criterions": { "class": "code:BedienaarCriteriumBewijsstuk", "attributes": {