Commit Graph

70 Commits

Author SHA1 Message Date
Elias Papanikitas
45b145847a fixed typo 2023-11-22 11:37:24 +01:00
Nordine Bittich
3f37d7ebbc Feature/non admin units (#342) 2023-10-30 09:05:06 +01:00
Boris De Vloed
4ac08f9bb3 fixed typo 2023-07-07 06:56:41 +00:00
Boris De Vloed
346c1d129b added domain.json 2023-07-06 13:18:25 +00:00
Nordine Bittich
a9efd0564a add founded by / is founder of (#283) 2023-06-13 11:05:49 +02:00
Claire Lovisa
f7df3a3cb0 Ensure organen dates are datetimes (#271) 2023-05-04 14:57:31 +02:00
Boris De Vloed
fefb103cb5 Consume mandatarissen, leidinggevenden and worship positions from Loket (#239)
* loket filter

* cleanup previously migrated data before sync

* increase mu-auth timouts

* split up deletion migration to avoid timouts

* identical utls added catch statements

* deletes before inserts

* Adapt migrations to splitted graphs

* Adapt consumers to the delta-consumer with contexts

* Bump consumers and cache

* Resolve cache not getting cleared

* Flush ministers of non active worship services too

---------

Co-authored-by: Claire Lovisa <lovisa.claire@gmail.com>
2023-04-21 11:57:15 +02:00
Nordine Bittich
acaca124c2 hard split (#223) 2023-02-27 15:28:18 +01:00
Iulian Andriescu
bdf7802a31 Add city change event (#230)
add-city-change-event
2023-02-01 10:17:55 +02: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
Boris De Vloed
5cab3665ea publish public op data 2022-04-21 14:53:26 +02:00
Nordine Bittich
956faa2d6f fix relationship ws (#121) 2022-03-22 14:59:49 +01:00
Claire Lovisa
86afcb6ea5 Add new change event date 2022-03-15 09:33:58 +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
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
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
Nordine Bittich
f4b25b639a Feature/mock login (#23) 2021-08-04 16:49:07 +02: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
bbb5a40525 Enable mu-cl-resources caching 2021-07-12 12:48:39 +02: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