-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODCR: Organisatie datamodel + API resource #26
Comments
TODO: finish refining/technical specs for Bart |
Burgerportaal: volgt uit geïndexeerde data - out of scope voor dit ticket. Publicatiecomponent:
|
Re-opening because the fixture post-processing to make sure organisations are deactivated by default/initially is not picked up yet. The functional requirement here is:
|
…re file, also changed organisation default to false.
…re file, also changed organisation default to false.
…re file, also changed organisation default to false.
…re data, because this is already posible with django.core.serializers.Serialize.
…re data, because this is already posible with django.core.serializers.Serialize.
…re data, because this is already posible with django.core.serializers.Serialize.
Testresultaten:
Ik zie overigens dat de API-documentatie (ReDoc) ook afwisselend in het Engels dan wel in het Nederlands geschreven is. Ik voeg een user story toe om dit te verbeteren. |
#110 will address some of these remarks! I'll put the ticket back in testing once that's tackled. Re 3. and 4.: translations will follow soon, I typically do these in batches. |
…in the themes and information categories sync functions.
Hertest: alle punten zijn opgelost |
Split off from #8
Description (why)
uit PSA: Deelnemende gemeenten willen ook namens organisaties waar zij aan deelnemen, bijvoorbeeld gemeenschappelijke regelingen, documenten kunnen publiceren.
Dit vraagt erom dat organisaties en organisatieonderdelen in de ODRC vastgelegd kunnen worden. Dit vraagt om aanpassingen in o.a. de data-opslag en de gebruikersinterface “Modelbeheer”. Organisaties moeten door beheerders gecreëerd, geraadpleegd, gemuteerd en ge(de)activeerd kunnen worden. Via de ODRC API moeten zij geraadpleegd kunnen worden.
Acceptance criteria
Organisation
model is defined and can be managed in the admin interface/api/v1/organisaties
and/api/v1/organisaties/:id
API resources exist, with CRUD capabilitiesImplementation tasks
Implement data model for
Organisatie
andand wire up to the admin interfaceOrganisatieOnderdeel
actief
(boolean, default=False)identifier
must be uniqueidentifier
andname
fieldsorigin
,actief
Bulk admin actions to publish/unpublish organisationsTabular Inline for organisatieonderdelenAdd API endpoint for CRU operations
/api/v1/organisaties
actief
,origin
. Search options foridentifier
andname
(so that UIs can implemented autocomplete onname
). By default, useactief=true
if unspecified. Other options arefalse
andalle
(similar to ZGW API's Catalogi API, for zaaktypen/informatieobjecttypen)origin == 'zelf_toegevoegd'
identifier
is generated server-sidename
andactief
name
can be updated only iforigin
iszelf_toegevoegd
actief
can always be updatedidentifier
andorigin
can never be updatedAdd management command to populate the
Organisaties
from the waardelijstenactief
field, otherwise a container restart would undo the activations performed by a functional adminDraft API resource definition here: #8 (comment)
The text was updated successfully, but these errors were encountered: