Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bd631fa23 | ||
|
|
b1f5dd09d6 | ||
|
|
e799bdac56 | ||
|
|
7532f0fd02 | ||
|
|
cd66d02e4f | ||
|
|
ce52376765 | ||
|
|
5ee1ba43f4 |
@@ -1,6 +1,6 @@
|
|||||||
# Contact Hub
|
# Organization portal
|
||||||
|
|
||||||
Backend for the Contact Hub application based on the mu.semte.ch microservices stack.
|
Backend for the organization portal application, based on the mu.semte.ch microservices stack.
|
||||||
|
|
||||||
## How to
|
## How to
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ defmodule Acl.UserGroups.Config do
|
|||||||
@protected_resource_type [
|
@protected_resource_type [
|
||||||
"http://www.w3.org/ns/org#Organization",
|
"http://www.w3.org/ns/org#Organization",
|
||||||
"http://data.vlaanderen.be/ns/besluit#Besluit",
|
"http://data.vlaanderen.be/ns/besluit#Besluit",
|
||||||
|
"https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
|
||||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
||||||
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
||||||
|
|||||||
@@ -195,6 +195,9 @@ defmodule Dispatcher do
|
|||||||
Proxy.forward conn, path, "http://cache/decisions/"
|
Proxy.forward conn, path, "http://cache/decisions/"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
match "/decision-activities/*path", %{ accept: [:json], layer: :api} do
|
||||||
|
Proxy.forward conn, path, "http://cache/decision-activities/"
|
||||||
|
end
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# LOGIN
|
# LOGIN
|
||||||
|
|||||||
@@ -98,7 +98,32 @@
|
|||||||
"predicate": "foaf:page"
|
"predicate": "foaf:page"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"relationships": {
|
||||||
|
"has-decision-activity": {
|
||||||
|
"predicate": "http://www.w3.org/ns/prov#generated",
|
||||||
|
"target": "decision-activities",
|
||||||
|
"cardinality": "one",
|
||||||
|
"inverse": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"new-resource-base": "http://lblod.data.info/id/besluiten/"
|
"new-resource-base": "http://lblod.data.info/id/besluiten/"
|
||||||
|
},
|
||||||
|
"decision-activities": {
|
||||||
|
"class": "https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
|
||||||
|
"attributes": {
|
||||||
|
"end-date": {
|
||||||
|
"type": "date",
|
||||||
|
"predicate": "https://data.vlaanderen.be/ns/dossier#Activiteit.einddatum"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"relationships": {
|
||||||
|
"gives-cause-to": {
|
||||||
|
"predicate": "http://www.w3.org/ns/prov#generated",
|
||||||
|
"target": "decisions",
|
||||||
|
"cardinality": "many"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"new-resource-base": "http://lblod.data.info/id/beslissingsactiviteit/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ services:
|
|||||||
adressenregister:
|
adressenregister:
|
||||||
restart: "no"
|
restart: "no"
|
||||||
frontend:
|
frontend:
|
||||||
image: lblod/frontend-contact-hub:latest
|
image: lblod/frontend-organization-portal:latest
|
||||||
restart: "no"
|
restart: "no"
|
||||||
uri-info:
|
uri-info:
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
frontend:
|
frontend:
|
||||||
image: lblod/frontend-contact-hub:1.6.4-1 # Pre patch (similar to "-beta" but using the convention of release-it)
|
image: lblod/frontend-organization-portal:1.6.4
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user