Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be583c7c74 |
@@ -7,11 +7,6 @@ alias Acl.GroupSpec, as: GroupSpec
|
||||
alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup
|
||||
|
||||
defmodule Acl.UserGroups.Config do
|
||||
|
||||
@error_type [
|
||||
"https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/core-vocab.html#Error"
|
||||
]
|
||||
|
||||
@protected_resource_type [
|
||||
"http://www.w3.org/ns/org#Organization",
|
||||
"http://data.vlaanderen.be/ns/besluit#Besluit",
|
||||
@@ -104,7 +99,7 @@ defmodule Acl.UserGroups.Config do
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: @protected_resource_type ++ @error_type
|
||||
resource_types: @protected_resource_type
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -117,7 +112,7 @@ defmodule Acl.UserGroups.Config do
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: @protected_resource_type ++ @error_type
|
||||
resource_types: @protected_resource_type
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -267,14 +267,6 @@ defmodule Dispatcher do
|
||||
end
|
||||
|
||||
|
||||
#################################################################
|
||||
# ERROR REPORT
|
||||
#################################################################
|
||||
|
||||
match "/error-reports/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://error-report-service/error-reports/"
|
||||
end
|
||||
|
||||
#################################################################
|
||||
# FILES
|
||||
#################################################################
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
http://mu.semte.ch/graphs/organisatieportaal
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +0,0 @@
|
||||
DELETE DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> <http://www.w3.org/2004/02/skos/core#prefLabel> "Kapelaan van de kerken te Antwerpen en te Elsene (Geünifieerde anglikaanse kerk)" .
|
||||
}
|
||||
}
|
||||
;
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://lblod.data.gift/concepts/fa4191f9d7050fe62ec3fc0e16541711> <http://www.w3.org/2004/02/skos/core#prefLabel> "Kapelaan van de kerken te Antwerpen en te Elsene (Geünifieerde anglicaanse kerk)" .
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
DELETE {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s ?p ?o.
|
||||
}
|
||||
|
||||
}
|
||||
INSERT {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s ?p ?normalize.
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
graph <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s ?p ?o.
|
||||
BIND(replace(?o, "\\s+|\\t", " ") AS ?single_space)
|
||||
BIND(replace(?single_space, "^(\\s+)|(\\s+)$|(\\t)$|(\\t)", "") AS ?normalize)
|
||||
|
||||
FILTER ( isLiteral(?o) && ( regex(?o, "\\s+|\\t") || regex(?o, "^(\\s+)|(\\s+)$|(\\t)$|(\\t)") ) )
|
||||
}
|
||||
}
|
||||
@@ -158,7 +158,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:1.10.0
|
||||
image: lblod/frontend-organization-portal:1.9.0
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
@@ -414,8 +414,3 @@ services:
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
restart: always
|
||||
|
||||
error-report-service:
|
||||
image: lblod/error-report-service:0.1.0
|
||||
links:
|
||||
- db:database
|
||||
|
||||
Reference in New Issue
Block a user