Commit Graph

59 Commits

Author SHA1 Message Date
Boris De Vloed
eb78e3a6aa typo in target 2023-01-26 11:01:58 +00:00
Boris De Vloed
03e5c42dcc removed comma 2023-01-26 10:01:44 +00:00
Claire Lovisa
c5e1436ea8 Enable local involvements for central worship services
I had to deactivate parts of the cache, causing the frontend to have
very weird behaviours when the data was correct
2023-01-25 14:34:18 +01:00
Nordine Bittich
68146e3506 Feature/add nis codes (#165) 2022-08-22 17:08:34 +02:00
Claire Lovisa
89b622a0b9 Applies within relationship is has many 2022-08-04 17:48:35 +02:00
Claire Lovisa
29bf8e7a09 Adapt board positions model 2022-08-04 16:17:59 +02:00
Claire Lovisa
cd2b92973d Add functionarissen backend 2022-08-01 09:39:30 +02:00
Claire Lovisa
25b490efbe Add regio field 2022-06-14 14:04:02 +02:00
Nordine Bittich
956faa2d6f fix relationship ws (#121) 2022-03-22 14:59:49 +01:00
Claire Lovisa
7fb39574a9 Remove werkingsgebieden from the config and db 2022-03-08 11:35:57 +01:00
Nordine Bittich
e52d71682e fix relationship (#99) 2022-02-08 10:22:27 +01:00
Sam Van Campenhout
99644e7925 Add a type attribute to the contact-points model (#95) 2022-02-01 15:23:01 +01:00
Sam Van Campenhout
422e92a343 Temporarily rename the change-event-result organization relationship (#94)
This relationship uses the same `org:organization` predicate that is also used for the local involvements relationship. When querying for local involvements data when an organization also has change events data,  mu-cl-resources receives the change events data instead and runs into errors. This is likely a bug in the micro service itself. Renaming the predicate is a quick workaround so we have more time to find the real solution for the problem without a broken app.
2022-01-25 20:04:18 +01:00
Sam Van Campenhout
4dd33478d1 Use date instead of datetime were needed (#86)
If only the date is relevant we should not store it as a `datetime` since that would add timezone information which might cause the date to be displayed incorrectly in the frontend.
2022-01-06 10:34:52 +01:00
Sam Van Campenhout
32175ef883 Change event model updates (#75)
* Config changes to support the new "change event" data model

* Add mock data that matches the new change event model

This data can be inserted into the database by mounting the folder into the migrations service.

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>

Co-authored-by: Boris De Vloed <boris.de.vloed@gmail.com>
2022-01-06 09:25:06 +01:00
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
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
ad919b1f0e Merge pull request #60 from lblod/feature/crab-changes
changes for crab
2021-11-10 16:38:52 +01:00
Nordine Bittich
670c1591c6 bugfix 2021-11-05 10:31:08 +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
Anita Caron
24579b3f04 Merge branch 'fix/change-attribute-name' of github.com:lblod/app-contact-hub into fix/change-attribute-name 2021-08-31 20:13:26 +01:00
Anita Caron
aa37d7e2ee Change nationality resource 2021-08-31 18:46:00 +01:00
Anita Caron
980baf0b83 Move codelists to migrations 2021-08-30 16:54:20 +01:00
Anita Caron
60b378463d Fix typo 2021-08-12 13:51:52 +01:00
Sam Van Campenhout
0b8f3ab4e5 Pluralize the "financing code" endpoint 2021-07-22 14:15:31 +02:00
anitacaron
8621bf1d28 Fix inverse property name 2021-07-12 19:59:33 +01:00
Sam Van Campenhout
db1c80c746 Merge branch 'master' into fix/minister-domain 2021-07-12 11:44:29 +02:00
anitacaron
265f04c2ad Fix typo 2021-07-09 18:37:28 +01:00
anitacaron
a861d56056 Add site type to site resource 2021-07-09 18:32:10 +01:00
anitacaron
7ebe086e25 Fix typo 2021-07-09 17:59:26 +01:00
anitacaron
d03ec72416 Change properties to be general agent-in-position and small fixes 2021-07-09 17:22:44 +01:00
anitacaron
7eefe7fe19 Change minister structure 2021-07-08 20:47:32 +01:00
anitacaron
327ef360c2 Include inheritance between admin unit and worship/central services 2021-07-07 17:50:28 +01:00
gcapurso
a0896a4fd9 Add inverse relationship position (#13)
* Add inverse relationship position

* Add many relationship

* Minor fix
2021-07-02 11:38:57 +02:00
anitacaron
b0728cd8b9 Include codelists 2021-07-01 10:31:49 +01:00
anitacaron
1d4bee5792 Add missing base url 2021-06-30 15:39:28 +01:00
anitacaron
e0dad648ad Add legal structure class 2021-06-29 15:38:26 +01:00
anitacaron
835c72b484 add minister criterion 2021-06-29 10:38:34 +01:00
anitacaron
c6f56948d8 Add rel to person and rel between orgs 2021-06-29 09:09:24 +01:00
anitacaron
9992e50845 Change class name for bestuursorgaan classificatie code 2021-06-25 09:59:21 +01:00
anitacaron
e90bd181fc Enable edit and fix domain 2021-06-24 15:41:44 +02:00
anitacaron
d082453ac5 Include missing path and prefix 2021-06-17 08:59:05 +01:00
anitacaron
ef1a45e2b8 Add feature to include uri to status codes 2021-06-16 17:09:00 +01:00
anitacaron
29ddf868e1 Add missing prefix 2021-06-16 15:06:42 +01:00
anitacaron
da31401f20 Change class name, type and add level for location 2021-06-15 20:02:15 +01:00
anitacaron
f17442a69b Fix typo 2021-06-10 19:46:21 +01:00
anitacaron
3af8608751 Include municipality and province properties 2021-06-10 15:45:56 +01:00
anitacaron
0a915f497f Fix typo 2021-06-10 12:15:55 +01:00
anitacaron
8617800a00 New types for codelist 2021-06-10 10:15:43 +01:00