maykinmedia / catalogi-importer Goto Github PK
View Code? Open in Web Editor NEWEasily import i-Navigator exports into the Catalogi API, such as the one in Open Zaak.
License: Other
Easily import i-Navigator exports into the Catalogi API, such as the one in Open Zaak.
License: Other
Configure the media/private_media volumes in the Ansible playbook.
By default, only show import jobs from the last 7 days.
This depends on having a Docker image/compose ready and instructions to install it in a Docker engine.
Loop loggers in docker.py and set console handler.
For tags and master=latest.
HTTP 400 and validation errors.
Http 200 and sensible body.
zaaktype:
vertrouwelijkheidaanduiding: rapporteren als error als niet ingevuld
doorlooptijd: als niet ingevuld dan 'afdoeningstermijn'
365 dagen invullen als het niet wettelijk is. Zaaktype B1161 als voorbeeld. Dit is dan de servicenorm (eg: afdoeningstermijn, zie onder)
verlengingMogelijk: als JA, dan verlengingsTermijn verplicht
servicenorm: 'afdoeningstermijn' in iNavigator
resultaatype:
Opmerkingen na verwerken:
Laten we onder CSS-tabjes oid een onderverdeling maken.
We can use some JS logic to retrieve a list of Catalogs from the selected API, in the Catalog detail page.
Resultaattypen koppelen we nu aan de selectielijst via "naam-model" attribuut. We moeten ook kijken naar "field naam=NAAM" waar zoiets staat als
Resultaat 11.1 Selectielijst gemeenten en intergemeentelijke organen 2020
of "field naam=URL" waar zoiets staat als
<naam-model ref="SCN0000586">Verleend permanent</naam-model><opmerking ref="SCN0000590">Einddatum vergunning</opmerking><toelichting ref="SCN0000591">Ander datumkenmerk: na beëindiging toestemming in registratie 'Vergunningen en ontheffingen'</toelichting><vernietigingsgrondslag ref="SCNX000593"><list><fields><field naam="NAAM">Resultaat 11.1 Selectielijst gemeenten en intergemeentelijke organen 2017</field><field naam="URL">https://inavigator.bizzib.nl/bsd/sl2017.gem.html#11_1</field><field naam="TOELICHTING"/></fields><fields><field naam="NAAM">Resultaat 11.1 Selectielijst gemeenten en intergemeentelijke organen 2020</field><field naam="URL">https://inavigator.bizzib.nl/bsd/sl2020.gem.html#11_1</field><field naam="TOELICHTING"/></fields></list></vernietigingsgrondslag><vernietigingsgrondslag-txt ref="SCNT000593"/><waardering ref="SCN0000594">Vernietigen</waardering><bewaartermijn ref="SCNW000595">1</bewaartermijn><bewaartermijn-eenheid ref="SCNE000595">Jaar</bewaartermijn-eenheid><bewaartermijn-start ref="SCN0000596">Ander datumkenmerk</bewaartermijn-start>
Volgorde van achterhalen is dan:
Bij het importeren van een export uit de iNavigator catalogus krijgen we enkele van de volgende meldingen:
Error | zaaktype B1222: resultaattype omschrijving='Afgebroken' can't be created: Invalid input: De velden zaaktype, omschrijving moeten een unieke set zijn.
Deze resultaattypen bestaan inderdaad, maar zouden afgesloten moeten worden en nieuwe aangemaakt. (zelfde bug als onlangs opgelost mbt informatieobjecttypen)
Daarnaast deze melding:
Error | Zaaktype B1159: resultaattype omschrijving='Verleend' can't be
created: Invalid input: afleidingswijze cannot be vervaldatum_besluit when selectielijstklasse.procestermijn is nihil
Hoe kunnen we die het beste oplossen?
CI laatste versie (kan versienummer niet zien in interface)
OZ versie 1.3.5
(de eerste bijlage hoort hier niet bij, maar kan hem niet meer verwijderen!)
...and report any anomalies beforehand.
In order to export zaaktypes, we need to configure the URL and credentials of the Catalogi API.
The precheck can take a while so move this to a Celery task
During actual import, create new (concept) version of already published objects.
Example:
This also holds for Informatieobjecttypen and Besluittypen
This will give an overview of the functional requirements as well as the interface guidelines.
We'll do a session to go over these based on the following functional requirements:
The order, or rather, the volgnummer
is important for Open Zaak. We need to respect the order in i-Navigator or allow for manual ordering before importing.
This includes:
Review the log entry texts and translations.
We should show a nice message or something instead, and perhaps redirect to the configuration page.
During actual import, overwrite concept objects.
Example:
This also holds for Informatieobjecttypen and Besluittypen
The report can be a screen in the admin interface but we need to discuss the contents of this report.
Currently, we discussed the report to show:
so, I don't need to keep my browser open.
This can be for example the list view of the import or report model, that shows how far an import is as a percentage. It doesn't need to be an Ajax-loader or something.
In the logs, show the description of the error, along with the Zaak-identificatie that it is about.
Always show a B-number of the Zaaktype in XML
or a for documenttypes, the naam.
i-Navigator "beroep-mogelijk" is niet Catalogi "verlengingMogelijk"
Catalogi "verlengingMogelijk" moet mappen op i-Navigator "wettelijke-verdagingstermijn".
i-Navigator "beroep-mogelijk" moet genegeert worden.
Dit zit o.a. in Zaaktype B1210
Similar to objects API:
Showing the URL is not needed. So, porbbaly changing the __str__
The Import Job start screen should ask for a date to use for beginGeldigheid (default today).
A second boolean can be added to indicate to actually close zaaktypes (eindGeldigheid) on that date already (default: False).
You can filter the ZGW-consumer services on ZTC.
Also, you need to add a Catalog UUID-field to paste the UUID of the specific catalog.
ZGW-service configured can be removed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.