Commit Graph

112 Commits

Author SHA1 Message Date
cecemel
566ec39d9a Feature/delta producer administrative units (#67)
* Setting up file-service

- pre-requisite to download dumps
- pre-requiiste to download the json-diff files
- security considerations: the content of the files created here, is
- assumed to be public data, hence we allow it to be in the public graph

* Bumping deltanotifier and mu-auth, which need

to be able to work with mu-scop-id's

* Delta-producer have multiple background-jobs with different tasks

Hence the introduction of the jobs-controller.
Note: in a more advanced configuration, you can easily extend the
tasks related to one job.

* A pre-requisite to serve dumps, is DCAT api support

The delta-producers make a periodic dump of what is supposed to be
published. They are published according to the DCAT data-model.

Security-considerations: the DCAT producer by the delta-producer flow,
are considered to be public data, hence added to the public graph.

* Introduction of the delta-producer-dump-file-publisher

Service responsible for creating dumps for the (potentially
many) data delta flows.
Here only for the administrative-units, but this can be extended in
the future, in the config.

* Introduction of delta-producer-background-jobs-initiator

This service is responsible for triggering the background jobs related
to the delta-productoin of the administrative-units.

It trigger currently three jobs:
- INITIAL_SYNC: this is the first job to fill the publication graph.
  In theory, this is only run once per deploy
- HEALING_JOB: This is a periodic job, which checks what information
is published vs. what information should have been
published (according to a configuration). If differences are found,
because delta-messages never arrived, they are compensated here/
- DUMP_JOB: A periodic job to create a dump of the publication
graph. This is especially useful for consumers, who don't have to
replay the whole delta-diffs, but just can start from the latest sync
point.

* Introduction of delta-producer-publication-graph-maintainer

This service is the core of the logic which determines what should be
published.
The configuration is provided here, and can be elaborated refined in
the config.
It also excutes the healing logic.

* Introduction of delta-producer-json-diff-file-publisher

This simple service, listens to the updates performed on the
publication graph, and serialized these to json-files which are
compatible with current consumers

* Missing dispatcher rules for DCAT

* Various small things:

- outline, whitespaces and comments

* Update README.md

* bump delta-producer-publication-graph-maintainer

* Add organizations (KAL) - Work in progress

* added organizations graph maintainer

* removed inverses, added all bestuur types

* refactored kalliope api

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>
2021-12-03 11:20:32 +01:00
Nordine Bittich
3dc9b1a0b4 sparql endpoint for prod 2021-11-23 16:37:18 +01:00
Sam Van Campenhout
929dc59ee5 Remove config related to the sensitive data feature
We no longer use mu-cl-resources to manage this data so we can remove it from the configuration.
2021-11-23 16:33:40 +01:00
Sam Van Campenhout
b6e1458d8a Add a new /request-reasons endpoint (#70)
This can be used to retrieve all the possible options.
2021-11-23 15:45:42 +01:00
Nordine Bittich
8c7ba7afec migrate private data (#69)
* migrate private data

* bind subject before optional

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>
2021-11-23 10:36:41 +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
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
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
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
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
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
3227807746 Merge remote-tracking branch 'origin/feature/remove-proxy' into release/merge-for-qa 2021-10-29 14:05:17 +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
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
db5dec4a39 remove proxy for basic auth 2021-10-21 18:15:29 +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
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
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
695520928b remove account from public 2021-10-06 11:49:53 +02:00
Boris De Vloed
1910e8e5b1 bestuurseenheid hierarchy 2021-10-01 11:20:09 +02:00
Boris De Vloed
a4d6ffb9d0 removed sparql route 2021-10-01 09:40:10 +02:00
Boris De Vloed
6866d6f684 rm nginx htpasswd 2021-09-27 10:57:55 +02:00
Nordine Bittich
8c7b2741e7 add privacy centric service (#47)
* add privacy centric service
2021-09-21 15:28:41 +02:00
Nordine Bittich
4e8e8382a1 crab fuzzy search (#46)
Co-authored-by: Nordine Bittich <nordine@bittich.be>
2021-09-21 11:55:16 +02:00
Boris De Vloed
d8d50da2a1 Merge pull request #41 from lblod/fix/financing-percentage-sort
Make sure financing percentages are sorted as expected
2021-09-10 14:44:34 +02:00
Sam Van Campenhout
eb90f88b0e Make sure financing percentages are sorted as expected
It seems that something in the Semantic Works stack doesn't handle sorting values with the xsd:floats type properly. The frontend receives the records in the wrong order.

Explicitly converting the floats to a xsd:decimal solves the problem so we use that as a workaround for now.
2021-09-10 10:39:24 +02:00
Boris De Vloed
05d73abea8 added pseudonimization query. disabled by default. 2021-09-10 09:01:10 +02:00
Sam Van Campenhout
c92b1062e8 Make sure the delete-label-migration runs when needed
The delete-label-from-bestuurseenheid migration needs to run after the local_administrative_units migration, but the timestamp it has makes it run before it which causes issues when setting up a new stack.
2021-09-07 13:47:54 +02:00
Boris De Vloed
cf6f710232 fix classification property 2021-09-06 16:12:25 +02:00
Anita Caron
247bdc2b46 Delete additional label property in Bestuurseenheid 2021-09-03 14:46:51 +01:00