Compare commits

..

55 Commits

Author SHA1 Message Date
Nordine Bittich
545622b972 bump frontend 2021-11-18 16:52:37 +01:00
Sam Van Campenhout
13e7337574 Merge pull request #68 from lblod/feature/only-allow-sparql-endpoint-to-acc-dev
sparql endpoint only on dev/acc environment
2021-11-18 15:54:00 +01:00
Nordine Bittich
48810caf68 fix typo 2021-11-18 14:37:55 +01:00
Nordine Bittich
fe7c0d2c0f only allow sparql endpoint to acc/dev 2021-11-18 14:32:21 +01:00
Boris De Vloed
2c26b0d25c Merge pull request #66 from lblod/chore/tweak-database
Added two tweaked database settings
2021-11-17 08:26:20 +01:00
felix
97cc023be5 Added two tweaked database settings
Note: virtuoso-production.ini might currently be overkill. Could
consider not using it.
2021-11-16 16:27:42 +01:00
Boris De Vloed
8d58d87a54 only send deltas for app graph (#64) 2021-11-15 11:26:05 +01:00
Sam Van Campenhout
56c0583c62 Prevent services from restarting in development (#63) 2021-11-12 09:47:00 +01:00
Sam Van Campenhout
ad919b1f0e Merge pull request #60 from lblod/feature/crab-changes
changes for crab
2021-11-10 16:38:52 +01:00
Nordine Bittich
abc5d9256c fix dispatcher 2021-11-10 14:56:28 +01:00
Nordine Bittich
fb2fa6242f fix dispatcher 2021-11-10 14:51:56 +01:00
Boris De Vloed
9e5d45adb9 Merge pull request #62 from lblod/feature/yasgui
Feature/yasgui
2021-11-10 14:23:59 +01:00
Nordine Bittich
c716667801 change graph for privacy 2021-11-10 11:34:43 +01:00
Nordine Bittich
ed86245a2d bugfix 2021-11-09 16:07:41 +01:00
Nordine Bittich
567740ae86 yasgui 2021-11-09 15:43:09 +01:00
Nordine Bittich
0bf3dca9bf remove basic auth from readme (deprecated) 2021-11-08 18:53:23 +01:00
Nordine Bittich
45a5dff52a fix file extension 2021-11-08 14:33:24 +01:00
Nordine Bittich
e6a167c402 ensure source crab migration will run 2021-11-05 10:40:38 +01:00
Nordine Bittich
670c1591c6 bugfix 2021-11-05 10:31:08 +01:00
Nordine Bittich
478affc609 bugfix 2021-11-05 10:29:14 +01:00
Sam Van Campenhout
65f9ca1558 Merge pull request #61 from lblod/chore/remove-connected-legal-structures
Remove all code related to "verbonden juridische structuren"
2021-11-05 10:07:01 +01:00
Sam Van Campenhout
60ee996e36 Remove all code related to "verbonden juridische structuren"
This functionality is no longer needed.
2021-11-03 12:59:18 +01:00
Nordine Bittich
52bc6e5d60 changes for crab 2021-11-03 10:48:12 +01:00
Aad Versteden
74fb5f31f5 Return torrii redirect on /authorization/callback 2021-10-29 14:41:15 +02:00
Aad Versteden
d370f3dfd6 Add logging to accountdetail service 2021-10-29 14:07:08 +02:00
Aad Versteden
3227807746 Merge remote-tracking branch 'origin/feature/remove-proxy' into release/merge-for-qa 2021-10-29 14:05:17 +02:00
Aad Versteden
5862f8d005 Bump resource 2021-10-29 14:04:57 +02:00
Aad Versteden
625fa5c8fe Consistent newlines in dispatcher.ex 2021-10-29 13:52:39 +02:00
Aad Versteden
cb7d6029c5 Merge branch 'master' into feature/remove-acmidm-account-from-public 2021-10-29 11:51:16 +02:00
Aad Versteden
8aac877413 Whitespace cleanup 2021-10-29 11:45:02 +02:00
Nordine Bittich
32f53c258a ignore security.yml 2021-10-25 14:38:22 +02:00
Nordine Bittich
c7cb1b335c bugfix 2021-10-25 14:32:44 +02:00
Nordine Bittich
97d066b723 remove delta endpoint 2021-10-25 14:16:54 +02:00
Nordine Bittich
f7979fca31 remove bulk endpoint 2021-10-25 14:14:01 +02:00
Nordine Bittich
765cc8d955 bump jsonld-delta-service 2021-10-25 14:02:06 +02:00
Nordine Bittich
d122760794 bump kalliope & disable security on dev 2021-10-22 10:19:36 +02:00
Nordine Bittich
114df6679b port 80 mapped to dev 2021-10-21 18:38:50 +02:00
Nordine Bittich
db5dec4a39 remove proxy for basic auth 2021-10-21 18:15:29 +02:00
Sam Van Campenhout
93e75cb09e Merge pull request #58 from lblod/feature/secure-cookie
Set secure cookie option
2021-10-20 13:33:58 +02:00
Aad Versteden
5c9bd8e6e8 Set secure cookie option
Cookies should have the secure attribute.  Defaulting that in this PR.
2021-10-20 13:22:21 +02:00
Aad Versteden
253b9f2e42 Consistent logging statements (#45)
These logging statements are more consistent than what was there before.

They're all there, except for app-http-logger logging for the
triplestore.  Logging happens on both source as well as on the target.
Because the triplestore is a sink, we don't have to have http for it per
se.
2021-10-19 10:53:04 +02:00
Sam Van Campenhout
aa751ec573 Merge pull request #55 from lblod/chore/remove-config-proxy
remove proxy config for working with acm/idm locally
2021-10-19 10:50:41 +02:00
Nordine Bittich
03dab60bea remove account spec 2021-10-19 10:06:38 +02:00
Nordine Bittich
b7e8cfe15a use new microservice to fetch account 2021-10-19 10:00:52 +02:00
Sam Van Campenhout
cd37d596c1 Enable the uri-info service again (#57)
This allows us to retrieve the rdf type and uuid of a resource uri.
2021-10-18 10:17:10 +02:00
Sam Van Campenhout
333c85f027 Merge pull request #54 from lblod/feature/x-frame-options
Add x-frame-options when hosting frontend pages
2021-10-13 16:14:19 +02:00
Sam Van Campenhout
1c25a0192c Add the always param to the X-Frame-Options header
This ensures that the header is added to all responses regardless of response code.

More information: http://nginx.org/en/docs/http/ngx_http_headers_module.html
2021-10-13 16:01:52 +02:00
Nordine Bittich
0cdc8ce8b3 Bump MU-CL-RESOURCE 2021-10-12 10:07:55 +02:00
Nordine Bittich
00aa5dec5a remove proxy config for working with acm/idm locally 2021-10-11 13:05:26 +02:00
Aad Versteden
6bdb5a7e57 Add x-frame-options when hosting frontend pages
We don't want these pages to be contained in a frame.  The
x-frame-options servers that use.
2021-10-10 19:37:10 +02:00
Nordine Bittich
b114289555 refactoring PR 2021-10-07 15:53:13 +02:00
Nordine Bittich
31373fba53 wrong docker compose version 2021-10-06 11:53:43 +02:00
Nordine Bittich
695520928b remove account from public 2021-10-06 11:49:53 +02:00
Boris De Vloed
db9b8bf65b Merge pull request #51 from lblod/chore/bump-nginx-proxy
bump nginx version
2021-10-05 09:34:49 +02:00
Nordine Bittich
e6d2cc59fc bump nginx version 2021-10-05 09:10:02 +02:00
17 changed files with 557 additions and 340 deletions

4
.gitignore vendored
View File

@@ -22,3 +22,7 @@ DS_STORE
/config/proxy-https/cert.pem
/config/proxy-https/key.pem
source.json
out.json
security.yml

View File

@@ -12,14 +12,3 @@ Backend for the Contact Hub application based on the mu.semte.ch microservices
You can shut down using `docker-compose stop` and remove everything using `docker-compose rm`.
## Add username/password for Basic Auth
By default, there are two accounts you can use to log-in using basic auth:
- root/root
- contacthub/contacthub
To add new accounts, execute the following command, then add the result to `./config/proxy/nginx.htpasswd`
`docker run --rm --entrypoint htpasswd registry:2.7.0 -bn username password`

View File

@@ -8,7 +8,7 @@ alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup
defmodule Acl.UserGroups.Config do
@protected_resource_type [
"http://www.w3.org/ns/org#Organization",
"http://www.w3.org/ns/org#Organization",
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
@@ -24,12 +24,12 @@ defmodule Acl.UserGroups.Config do
"http://data.lblod.info/vocabularies/erediensten/VerbondenJuridischeStructuren",
"http://www.w3.org/ns/prov#Location",
"http://www.w3.org/ns/org#Site",
"http://www.w3.org/ns/locn#Address",
"http://www.w3.org/ns/locn#Address",
"http://www.w3.org/ns/person#Person",
"http://data.vlaanderen.be/ns/mandaat#Mandaat",
"http://data.vlaanderen.be/ns/mandaat#Mandataris",
"http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
"http://schema.org/ContactPoint",
"http://schema.org/ContactPoint",
"http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie",
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
@@ -75,18 +75,15 @@ defmodule Acl.UserGroups.Config do
def user_groups do
[
%GroupSpec{
%GroupSpec{
name: "acmidm",
useage: [:read, :write, :read_for_write],
access: %AccessByQuery{
query: "PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX musession: <http://mu.semte.ch/vocabularies/session/>
SELECT ?s WHERE {
?s ?p ?o.
FILTER NOT EXISTS {
<SESSION_ID> ext:hasAccount ?account.
}
PREFIX session: <http://mu.semte.ch/vocabularies/session/>
SELECT ?account WHERE {
<SESSION_ID> session:account ?account.
} LIMIT 1",
vars: []
},
@@ -112,23 +109,15 @@ defmodule Acl.UserGroups.Config do
useage: [:read],
access: %AlwaysAccessible{},
graphs: [ %GraphSpec{
graph: "http://mu.semte.ch/graphs/public",
graph: "http://mu.semte.ch/graphs/public", # mock login only
constraint: %ResourceConstraint{
resource_types: [
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"http://xmlns.com/foaf/0.1/Person",
"http://xmlns.com/foaf/0.1/OnlineAccount"
]
} },
%GraphSpec{
graph: "http://mu.semte.ch/graphs/sessions",
constraint: %ResourceFormatConstraint{
resource_prefix: "http://mu.semte.ch/sessions/"
} } ] },
} }]},
# // CLEANUP
#
%GraphCleanup{
@@ -138,4 +127,4 @@ defmodule Acl.UserGroups.Config do
}
]
end
end
end

View File

@@ -0,0 +1,253 @@
;
; virtuoso.ini
;
; Configuration file for the OpenLink Virtuoso VDBMS Server
;
; To learn more about this product, or any other product in our
; portfolio, please check out our web site at:
;
; http://virtuoso.openlinksw.com/
;
; or contact us at:
;
; general.information@openlinksw.com
;
; If you have any technical questions, please contact our support
; staff at:
;
; technical.support@openlinksw.com
;
;
; Database setup
;
[Database]
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
ErrorLogLevel = 7
FileExtend = 200
MaxCheckpointRemap = 17000 ;;niels 1/4 of the number of buffers (assuming db uses most of the available buffers, you can check with `status()` in isql-v
Striping = 0
TempStorage = TempDatabase
Syslog = 1 ; write to syslog in case of failures where writing to log is not possible
[TempDatabase]
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
MaxCheckpointRemap = 2000
Striping = 0
;
; Server parameters
;
[Parameters]
ServerPort = 1111
LiteMode = 0
DisableUnixSocket = 1
DisableTcpSocket = 0
;SSLServerPort = 2111
;SSLCertificate = cert.pem
;SSLPrivateKey = pk.pem
;X509ClientVerify = 0
;X509ClientVerifyDepth = 0
;X509ClientVerifyCAFile = ca.pem
MaxClientConnections = 10
CheckpointInterval = 60
TraceOn = errors ; write traces
O_DIRECT = 0
CaseMode = 2
MaxStaticCursorRows = 5000
CheckpointAuditTrail = 0
AllowOSCalls = 0
SchedulerInterval = 10
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
ThreadCleanupInterval = 10
ThreadThreshold = 10
ResourcesCleanupInterval = 10
FreeTextBatchSize = 100000
SingleCPU = 0
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
PrefixResultNames = 0
RdfFreeTextRulesSize = 100
IndexTreeMaps = 256
MaxMemPoolSize = 200000000
PrefixResultNames = 0
MacSpotlight = 0
MaxQueryMem = 4G ; memory allocated to query processor ;;Niels said to 4g
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
MaxVectorSize = 1000000 ; query vector size threshold.
AdjustVectorSize = 0
ThreadsPerQuery = 4
AsyncQueueMaxThreads = 10
TransactionAfterImageLimit = 150000000 ; max 150MB transaction, total transient consumption is 450MB (roll forward + roll back)
;;
;; When running with large data sets, one should configure the Virtuoso
;; process to use between 2/3 to 3/5 of free system memory and to stripe
;; storage on all available disks.
;;
;; Uncomment next two lines if there is 2 GB system memory free
;;NumberOfBuffers = 170000
;;MaxDirtyBuffers = 130000
;; Uncomment next two lines if there is 4 GB system memory free
;;NumberOfBuffers = 340000
;;MaxDirtyBuffers = 250000
;; Uncomment next two lines if there is 8 GB system memory free
NumberOfBuffers = 680000
MaxDirtyBuffers = 500000
;; Uncomment next two lines if there is 16 GB system memory free
;NumberOfBuffers = 1360000
;MaxDirtyBuffers = 1000000
;; Uncomment next two lines if there is 32 GB system memory free
;NumberOfBuffers = 2720000
;MaxDirtyBuffers = 2000000
;; Uncomment next two lines if there is 48 GB system memory free
;NumberOfBuffers = 4000000
;MaxDirtyBuffers = 3000000
;; Uncomment next two lines if there is 64 GB system memory free
;NumberOfBuffers = 5450000
;MaxDirtyBuffers = 4000000
;;
;; Note the default settings will take very little memory
;; but will not result in very good performance
;;
;NumberOfBuffers = 10000
;MaxDirtyBuffers = 6000
;; Introduced after bug with export service
MaxSortedTopRows = 1000000 ; 1 million!
[HTTPServer]
ServerPort = 8890
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
MaxClientConnections = 10
DavRoot = DAV
EnabledDavVSP = 0
HTTPProxyEnabled = 0
TempASPXDir = 0
DefaultMailServer = localhost:25
ServerThreads = 10
MaxKeepAlives = 10
KeepAliveTimeout = 10
MaxCachedProxyConnections = 10
ProxyConnectionCacheTimeout = 15
HTTPThreadSize = 280000
HttpPrintWarningsInOutput = 0
Charset = UTF-8
;;HTTPLogFile = http.log
MaintenancePage = atomic.html
EnabledGzipContent = 1
[AutoRepair]
BadParentLinks = 0
[Client]
SQL_PREFETCH_ROWS = 100
SQL_PREFETCH_BYTES = 16000
SQL_QUERY_TIMEOUT = 0
SQL_TXN_TIMEOUT = 0
;SQL_NO_CHAR_C_ESCAPE = 1
;SQL_UTF8_EXECS = 0
;SQL_NO_SYSTEM_TABLES = 0
;SQL_BINARY_TIMESTAMP = 1
;SQL_ENCRYPTION_ON_PASSWORD = -1
[VDB]
ArrayOptimization = 0
NumArrayParameters = 10
VDBDisconnectTimeout = 1000
KeepConnectionOnFixedThread = 0
[Replication]
ServerName = db-D602566B774E
ServerEnable = 1
QueueMax = 50000
;
; Striping setup
;
; These parameters have only effect when Striping is set to 1 in the
; [Database] section, in which case the DatabaseFile parameter is ignored.
;
; With striping, the database is spawned across multiple segments
; where each segment can have multiple stripes.
;
; Format of the lines below:
; Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ]
;
; <number> must be ordered from 1 up.
;
; The <size> is the total size of the segment which is equally divided
; across all stripes forming the segment. Its specification can be in
; gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
; (b, the default)
;
; Note that the segment size must be a multiple of the database page size
; which is currently 8k. Also, the segment size must be divisible by the
; number of stripe files forming the segment.
;
; The example below creates a 200 meg database striped on two segments
; with two stripes of 50 meg and one of 100 meg.
;
; You can always add more segments to the configuration, but once
; added, do not change the setup.
;
[Striping]
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
Segment2 = 100M, db-seg2-1.db
;...
;[TempStriping]
;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
;Segment2 = 100M, db-seg2-1.db
;...
;[Ucms]
;UcmPath = <path>
;Ucm1 = <file>
;Ucm2 = <file>
;...
[Zero Config]
ServerName = virtuoso (D602566B774E)
;ServerDSN = ZDSN
;SSLServerName =
;SSLServerDSN =
[Mono]
;MONO_TRACE = Off
;MONO_PATH = <path_here>
;MONO_ROOT = <path_here>
;MONO_CFG_DIR = <path_here>
;virtclr.dll =
[URIQA]
DynamicLocal = 0
DefaultHost = localhost:8890
[SPARQL]
;ExternalQuerySource = 1
;ExternalXsltSource = 1
;DefaultGraph = http://localhost:8890/dataspace
;ImmutableGraphs = http://localhost:8890/dataspace
ResultSetMaxRows = 1000000 ; 1 million
;MaxQueryCostEstimationTime = 4000 ; in seconds
MaxQueryExecutionTime = 1200 ; in seconds
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
DeferInferenceRulesInit = 0 ; controls inference rules loading
;PingService = http://rpc.pingthesemanticweb.com/
[Plugins]
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
;Load1 = plain, wikiv
;Load2 = plain, mediawiki
;Load3 = plain, creolewiki
;Load4 = plain, im
;Load5 = plain, wbxml2
;Load6 = plain, hslookup
;Load7 = attach, libphp5.so
;Load8 = Hosting, hosting_php.so
;Load9 = Hosting,hosting_perl.so
;Load10 = Hosting,hosting_python.so
;Load11 = Hosting,hosting_ruby.so
;Load12 = msdtc,msdtc_sample

View File

@@ -17,85 +17,83 @@
;
; technical.support@openlinksw.com
;
;
; Database setup
;
[Database]
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
ErrorLogLevel = 7
FileExtend = 200
MaxCheckpointRemap = 2000
Striping = 0
TempStorage = TempDatabase
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
ErrorLogLevel = 7
FileExtend = 200
MaxCheckpointRemap = 8500 ;;niels 1/4 of the number of buffers (assuming db uses most of the available buffers, you can check with `status()` in isql-v
Striping = 0
TempStorage = TempDatabase
Syslog = 1 ; write to syslog in case of failures where writing to log is not possible
[TempDatabase]
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
MaxCheckpointRemap = 2000
Striping = 0
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
MaxCheckpointRemap = 2000
Striping = 0
;
; Server parameters
;
[Parameters]
ServerPort = 1111
LiteMode = 0
DisableUnixSocket = 1
DisableTcpSocket = 0
ServerPort = 1111
LiteMode = 0
DisableUnixSocket = 1
DisableTcpSocket = 0
;SSLServerPort = 2111
;SSLCertificate = cert.pem
;SSLPrivateKey = pk.pem
;X509ClientVerify = 0
;X509ClientVerifyDepth = 0
;X509ClientVerifyCAFile = ca.pem
MaxClientConnections = 10
CheckpointInterval = 60
O_DIRECT = 0
TraceOn = errors ; log errors
MaxClientConnections = 10
CheckpointInterval = 60
TraceOn = errors ; write traces
O_DIRECT = 0
CaseMode = 2
MaxStaticCursorRows = 5000
CheckpointAuditTrail = 0
AllowOSCalls = 0
SchedulerInterval = 10
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
ThreadCleanupInterval = 10
ThreadThreshold = 10
ResourcesCleanupInterval = 10
FreeTextBatchSize = 100000
SingleCPU = 0
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
PrefixResultNames = 0
RdfFreeTextRulesSize = 100
IndexTreeMaps = 256
MaxMemPoolSize = 200000000
PrefixResultNames = 0
MacSpotlight = 0
MaxQueryMem = 2G
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
MaxVectorSize = 1000000 ; query vector size threshold.
AdjustVectorSize = 0
ThreadsPerQuery = 4
AsyncQueueMaxThreads = 10
TransactionAfterImageLimit = 150000000 ; max 150MB transaction, total transient consumption is 450MB (roll forward + roll back)
CaseMode = 2
MaxStaticCursorRows = 5000
CheckpointAuditTrail = 0
AllowOSCalls = 0
SchedulerInterval = 10
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
ThreadCleanupInterval = 10
ThreadThreshold = 10
ResourcesCleanupInterval = 10
FreeTextBatchSize = 100000
SingleCPU = 0
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
PrefixResultNames = 0
RdfFreeTextRulesSize = 100
IndexTreeMaps = 256
MaxMemPoolSize = 200000000
PrefixResultNames = 0
MacSpotlight = 0
IndexTreeMaps = 64
MaxQueryMem = 2G ; memory allocated to query processor
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
MaxVectorSize = 1000000 ; query vector size threshold.
AdjustVectorSize = 1
ThreadsPerQuery = 4
AsyncQueueMaxThreads = 10
;;
;; When running with large data sets, one should configure the Virtuoso
;; process to use between 2/3 to 3/5 of free system memory and to stripe
;; storage on all available disks.
;;
;; Uncomment next two lines if there is 2 GB system memory free
NumberOfBuffers = 170000
MaxDirtyBuffers = 130000
;;NumberOfBuffers = 170000
;;MaxDirtyBuffers = 130000
;; Uncomment next two lines if there is 4 GB system memory free
;NumberOfBuffers = 340000
; MaxDirtyBuffers = 250000
NumberOfBuffers = 340000
MaxDirtyBuffers = 250000
;; Uncomment next two lines if there is 8 GB system memory free
;NumberOfBuffers = 680000
;MaxDirtyBuffers = 500000
@@ -111,38 +109,45 @@ MaxDirtyBuffers = 130000
;; Uncomment next two lines if there is 64 GB system memory free
;NumberOfBuffers = 5450000
;MaxDirtyBuffers = 4000000
;;
;; Note the default settings will take very little memory
;; but will not result in very good performance
;;
;NumberOfBuffers = 10000
;MaxDirtyBuffers = 6000
;; Introduced after bug with export service
MaxSortedTopRows = 1000000 ; 1 million!
[HTTPServer]
ServerPort = 8890
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
MaxClientConnections = 10
DavRoot = DAV
EnabledDavVSP = 0
HTTPProxyEnabled = 0
TempASPXDir = 0
DefaultMailServer = localhost:25
ServerThreads = 10
MaxKeepAlives = 10
KeepAliveTimeout = 10
MaxCachedProxyConnections = 10
ProxyConnectionCacheTimeout = 15
HTTPThreadSize = 280000
HttpPrintWarningsInOutput = 0
Charset = UTF-8
;;HTTPLogFile = http.log
MaintenancePage = atomic.html
EnabledGzipContent = 1
ServerPort = 8890
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
MaxClientConnections = 10
DavRoot = DAV
EnabledDavVSP = 0
HTTPProxyEnabled = 0
TempASPXDir = 0
DefaultMailServer = localhost:25
ServerThreads = 10
MaxKeepAlives = 10
KeepAliveTimeout = 10
MaxCachedProxyConnections = 10
ProxyConnectionCacheTimeout = 15
HTTPThreadSize = 280000
HttpPrintWarningsInOutput = 0
Charset = UTF-8
;;HTTPLogFile = http.log
MaintenancePage = atomic.html
EnabledGzipContent = 1
[AutoRepair]
BadParentLinks = 0
BadParentLinks = 0
[Client]
SQL_PREFETCH_ROWS = 100
SQL_PREFETCH_BYTES = 16000
SQL_QUERY_TIMEOUT = 0
SQL_TXN_TIMEOUT = 0
SQL_PREFETCH_ROWS = 100
SQL_PREFETCH_BYTES = 16000
SQL_QUERY_TIMEOUT = 0
SQL_TXN_TIMEOUT = 0
;SQL_NO_CHAR_C_ESCAPE = 1
;SQL_UTF8_EXECS = 0
;SQL_NO_SYSTEM_TABLES = 0
@@ -150,16 +155,15 @@ SQL_TXN_TIMEOUT = 0
;SQL_ENCRYPTION_ON_PASSWORD = -1
[VDB]
ArrayOptimization = 0
NumArrayParameters = 10
VDBDisconnectTimeout = 1000
KeepConnectionOnFixedThread = 0
ArrayOptimization = 0
NumArrayParameters = 10
VDBDisconnectTimeout = 1000
KeepConnectionOnFixedThread = 0
[Replication]
ServerName = db-D602566B774E
ServerEnable = 1
QueueMax = 50000
ServerName = db-D602566B774E
ServerEnable = 1
QueueMax = 50000
;
; Striping setup
@@ -191,28 +195,24 @@ QueueMax = 50000
; added, do not change the setup.
;
[Striping]
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
Segment2 = 100M, db-seg2-1.db
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
Segment2 = 100M, db-seg2-1.db
;...
;[TempStriping]
;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
;Segment2 = 100M, db-seg2-1.db
;...
;[Ucms]
;UcmPath = <path>
;Ucm1 = <file>
;Ucm2 = <file>
;...
[Zero Config]
ServerName = virtuoso (D602566B774E)
ServerName = virtuoso (D602566B774E)
;ServerDSN = ZDSN
;SSLServerName =
;SSLServerDSN =
;SSLServerName =
;SSLServerDSN =
[Mono]
;MONO_TRACE = Off
@@ -221,31 +221,28 @@ ServerName = virtuoso (D602566B774E)
;MONO_CFG_DIR = <path_here>
;virtclr.dll =
[URIQA]
DynamicLocal = 0
DefaultHost = localhost:8890
DynamicLocal = 0
DefaultHost = localhost:8890
[SPARQL]
;ExternalQuerySource = 1
;ExternalXsltSource = 1
;DefaultGraph = http://localhost:8890/dataspace
;ImmutableGraphs = http://localhost:8890/dataspace
ResultSetMaxRows = 10000
MaxQueryCostEstimationTime = 400 ; in seconds
MaxQueryExecutionTime = 60 ; in seconds
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
DeferInferenceRulesInit = 0 ; controls inference rules loading
;PingService = http://rpc.pingthesemanticweb.com/
;ExternalXsltSource = 1
;DefaultGraph = http://localhost:8890/dataspace
;ImmutableGraphs = http://localhost:8890/dataspace
ResultSetMaxRows = 1000000 ; 1 million
;MaxQueryCostEstimationTime = 4000 ; in seconds
MaxQueryExecutionTime = 1200 ; in seconds
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
DeferInferenceRulesInit = 0 ; controls inference rules loading
;PingService = http://rpc.pingthesemanticweb.com/
[Plugins]
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
;Load1 = plain, wikiv
;Load2 = plain, mediawiki
;Load3 = plain, creolewiki
;Load4 = plain, im
;Load4 = plain, im
;Load5 = plain, wbxml2
;Load6 = plain, hslookup
;Load7 = attach, libphp5.so
@@ -253,4 +250,4 @@ LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
;Load9 = Hosting,hosting_perl.so
;Load10 = Hosting,hosting_python.so
;Load11 = Hosting,hosting_ruby.so
;Load12 = msdtc,msdtc_sample
;Load12 = msdtc,msdtc_sample

View File

@@ -1,7 +1,9 @@
export default [
{
match: {
subject: {
graph: {
type: "uri",
value: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
}
},
callback: {

View File

@@ -5,14 +5,17 @@ defmodule Dispatcher do
html: ["text/html", "application/xhtml+html"],
json: ["application/json", "application/vnd.api+json"],
upload: ["multipart/form-data"],
sparql_json: ["application/sparql-results+json"],
any: [ "*/*" ],
]
define_layers [ :api_services, :api, :frontend, :not_found ]
###############################################################
# domain.json
###############################################################
match "/people/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/people/"
end
@@ -145,10 +148,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
@@ -160,6 +159,9 @@ defmodule Dispatcher do
match "/gender-codes/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/gender-codes/"
end
match "/concepts/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/concepts/"
end
match "/minister-positions/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://cache/minister-positions/"
@@ -177,10 +179,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
@@ -189,13 +187,17 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://cache/site-types/"
end
###############
# LOGIN
###############
match "/accounts/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/accounts/"
match "/accounts", %{ accept: [:json], layer: :api} do
Proxy.forward conn, [], "http://resource/accounts/"
end
match "/accounts/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://accountdetail/accounts/"
end
match "/groups/*path", %{ accept: [:json], layer: :api} do
Proxy.forward conn, path, "http://resource/groups/"
end
@@ -208,21 +210,15 @@ defmodule Dispatcher do
Proxy.forward conn, path, "http://login/sessions/"
end
###############
# API SERVICES
###############
match "/v3/api-docs/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/v3/api-docs/"
end
match "/delta/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/delta/"
end
match "/bulk/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/bulk"
end
match "/changes/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://kalliope-api/changes/"
end
@@ -243,12 +239,17 @@ defmodule Dispatcher do
forward conn, path, "http://privacy/person-information-requests"
end
get "/uri-info/*path", %{ layer: :api_services, accept: %{ json: true } } do
forward conn, path, "http://uri-info/"
end
###############################################################
# frontend layer
###############################################################
match "/torii/redirect.html", %{ accept: [:html], layer: :api } do
Proxy.forward conn, [], "http://frontend/torii/redirect.html"
match "/authorization/callback/*_path", %{ accept: [:html], layer: :api } do
Proxy.forward conn, [], "http://frontend/torii/redirect.html"
end
match "/assets/*path", %{ layer: :api } do
@@ -267,9 +268,18 @@ defmodule Dispatcher do
Proxy.forward conn, [], "http://frontend/index.html"
end
###############################################################
# sparql endpoint
###############################################################
post "/sparql/*path", %{ layer: :api_services, host: "*.abb.lblod.info", accept: %{ sparql_json: true } } do
forward conn, path, "http://db:8890/sparql/"
end
###############################################################
# errors
###############################################################
match "/*_path", %{ accept: [:any], layer: :not_found} do
send_resp( conn, 404, "{\"error\": {\"code\": 404}")
end

View File

@@ -0,0 +1,3 @@
location / {
add_header X-Frame-Options "DENY" always;
}

View File

View File

@@ -0,0 +1,9 @@
# disabled on dev
application:
security:
enabled: false
spring:
autoconfigure:
exclude:
- org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
- org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration

View File

@@ -0,0 +1,32 @@
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX ext:<http://mu.semte.ch/vocabularies/ext/>
DELETE {
GRAPH <http://mu.semte.ch/graphs/public> {
?s ?p ?o
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> a besluit:Bestuurseenheid ;
mu:uuid "141d9d6b-54af-4d17-b313-8d1c30bc3f5b" ;
skos:prefLabel "Agentschap Binnenlands Bestuur" ;
dcterms:identifier "OVO001835" .
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3470> a foaf:Person ;
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3470" ;
foaf:firstName "Josephine" ;
foaf:familyName "Putseys" ;
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0956> .
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0956> a foaf:OnlineAccount ;
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0956" ;
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
ext:sessionRole "ChAdmin".
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/public> {
?s ?p ?o
}
}

View File

@@ -0,0 +1,13 @@
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin> {
<http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d> a <http://www.w3.org/2004/02/skos/core#ConceptScheme>;
<http://www.w3.org/2004/02/skos/core#prefLabel> "Data sources"@en, "Databronnen"@nl .
<http://lblod.data.gift/concepts/e59c97a9-4e95-4d65-9696-756de47fbc1f> a <http://www.w3.org/2004/02/skos/core#Concept>;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d>;
<http://www.w3.org/2004/02/skos/core#topConceptOf><http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d>;
<http://mu.semte.ch/vocabularies/core/uuid> "e59c97a9-4e95-4d65-9696-756de47fbc1f";
<http://www.w3.org/2004/02/skos/core#prefLabel> "Centraal Referentieadressenbestand (CRAB)";
<http://www.w3.org/2004/02/skos/core#altLabel> "CRAB".
}
}

View File

@@ -1,22 +0,0 @@
server {
listen *:443;
server_name organisaties.abb.lblod.info;
ssl on;
ssl_certificate /etc/nginx/conf.d/cert.pem;
ssl_certificate_key /etc/nginx/conf.d/key.pem;
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location ~ /authorization/callback(.*) {
rewrite ^ /torii/redirect.html permanent;
}
}

View File

@@ -1,88 +0,0 @@
events {
}
http {
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name dev.contacthub.lblod.info;
location /v3/api-docs {
auth_basic "Contact Hub realm";
auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location /delta {
auth_basic "Contact Hub realm";
auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location /bulk {
auth_basic "Contact Hub realm";
auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location /changes {
auth_basic "Contact Hub realm";
auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location /consolidated {
auth_basic "Contact Hub realm";
auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://identifier;
client_max_body_size 3072m;
}
location ~ /authorization/callback(.*) {
rewrite ^ /torii/redirect.html permanent;
}
}
}

View File

@@ -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",
@@ -616,6 +611,18 @@
"full-address": {
"type": "string",
"predicate": "locn:fullAddress"
},
"address-register-uri": {
"type": "url",
"predicate": "adres:verwijstNaar"
}
},
"relationships": {
"source": {
"predicate": "dct:source",
"target": "concepts",
"cardinality": "one"
}
},
"new-resource-base": "http://data.lblod.info/id/adressen/"
@@ -684,6 +691,20 @@
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"concepts": {
"class": "skos:Concept",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
},
"alt-label": {
"type": "string",
"predicate": "skos:altLabel"
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"organization-status-codes": {
"class": "code:OrganisatieStatusCode",
"attributes": {
@@ -771,33 +792,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 +885,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": {

View File

@@ -3,6 +3,8 @@ version: '3.4'
services:
identifier:
restart: "no"
ports:
- "80:80"
dispatcher:
restart: "no"
triplestore:
@@ -18,6 +20,8 @@ services:
cache:
restart: "no"
kalliope-api:
environment:
SPRING_SECURITY_CONFIG: "/config/security-dev.yml"
restart: "no"
deltanotifier:
restart: "no"
@@ -29,9 +33,14 @@ services:
restart: "no"
login:
restart: "no"
web:
ports:
- "80:80"
accountdetail:
restart: "no"
privacy:
restart: "no"
adressenregister:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
restart: "no"
uri-info:
restart: "no"

View File

@@ -9,9 +9,10 @@ x-logging:
services:
identifier:
image: semtech/mu-identifier:1.8.1
image: semtech/mu-identifier:1.9.1
environment:
DEFAULT_MU_AUTH_ALLOWED_GROUPS_HEADER: "[{\"variables\":[],\"name\":\"public\"}]"
SESSION_COOKIE_SECURE: "on"
labels:
- "logging=true"
restart: always
@@ -32,8 +33,6 @@ services:
volumes:
- ./data/db:/data
- ./config/db/virtuoso.ini:/data/virtuoso.ini
labels:
- "logging=true"
restart: always
logging: *default-logging
db:
@@ -47,6 +46,10 @@ services:
ERROR_ON_UNWRITTEN_DATA: "true"
volumes:
- ./config/authorization:/config
labels:
- "logging=true"
restart: always
logging: *default-logging
migrations:
image: semtech/mu-migrations-service:0.7.0
links:
@@ -58,7 +61,7 @@ services:
restart: always
logging: *default-logging
resource:
image: semtech/mu-cl-resources:latest
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors
links:
- db:database
volumes:
@@ -76,7 +79,7 @@ services:
restart: always
logging: *default-logging
kalliope-api:
image: lblod/jsonld-delta-service:0.2.0
image: lblod/jsonld-delta-service:0.3.2
volumes:
- ./config/kalliope:/config
- ./data/files:/share
@@ -84,11 +87,18 @@ services:
SERVER_PORT: "80"
LOGGING_LEVEL: "INFO"
SPARQL_ENDPOINT: "http://db:8890/sparql"
labels:
- "logging=true"
restart: always
logging: *default-logging
deltanotifier:
image: semtech/mu-delta-notifier:0.1.0
volumes:
- ./config/delta:/config
labels:
- "logging=true"
restart: always
logging: *default-logging
sink:
image: nginx:1.15.2
volumes:
@@ -98,49 +108,72 @@ services:
restart: always
logging: *default-logging
login:
image: lblod/acmidm-login-service:0.9.2-organisatie_portaal
image: lblod/acmidm-login-service:0.9.3-organisatie_portaal
links:
- db:database
environment:
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/contacthub/accounts"
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
MU_APPLICATION_AUTH_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
MU_APPLICATION_AUTH_CLIENT_SECRET: ""
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
links:
- db:database
labels:
- "logging=true"
restart: always
logging: *default-logging
links:
- db:database
accountdetail:
image: lblod/account-detail-service:latest
labels:
- "logging=true"
environment:
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/contacthub/accounts"
links:
- db:database
restart: always
logging: *default-logging
privacy:
image: lblod/privacy-centric-service:0.0.1
labels:
- "logging=true"
environment:
SERVER_PORT: "80"
SPARQL_ENDPOINT: "http://db:8890/sparql"
LOGGING_LEVEL: "INFO"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/privacy-centric-graph"
SESSION_GRAPH: "http://mu.semte.ch/graphs/sessions"
labels:
- "logging=true"
restart: always
logging: *default-logging
adressenregister:
image: lblod/adressenregister-fuzzy-search-service:0.5.0
web:
image: nginx
volumes:
- ./config/proxy:/etc/nginx/conf.d
- ./config/proxy/web.conf:/etc/nginx/nginx.conf:ro
links:
- identifier:identifier
labels:
- "logging=true"
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-contact-hub:1.1.0
labels:
- "logging=true"
image: lblod/frontend-contact-hub:1.2.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment:
EMBER_OAUTH_API_REDIRECT_URL: "https://organisaties.abb.lblod.info/authorization/callback"
EMBER_OAUTH_API_KEY: "677af572-2e2f-4e61-ad38-036723bb314c"
EMBER_OAUTH_API_BASE_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/auth"
EMBER_OAUTH_API_LOGOUT_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/logout"
EMBER_OAUTH_API_SCOPE: "openid vo profile abb_organisatieportaal"
labels:
- "logging=true"
restart: always
logging: *default-logging
uri-info:
image: redpencil/mu-uri-info-service:0.2.1
links:
- db:database
labels:
- "logging=true"
restart: always
logging: *default-logging