-
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
ODRC: Publicatie resource #35
Comments
@MarcoKlerks I've copied over your acceptance criteria and fixed the markdown for the links, this new specification should capture our Slack discussion outcome but please double check! If all is well, you can assign it to Bart. |
@sergei-maertens @bart-maykin Checked and assigned to Bart! If the tasks are clear, you can change the status to 'ready'. |
Logging moet eerst af, voordat deze story afgemaakt kan worden. (impediment) |
Logging geregeld via #16, ready for testing |
Split of from #2
The "publication" resource will act as a container for documents being published. It logically groups related documents. At the time of writing, there's no such container concept in the DiWoo standard, but for GPP-WOO we wish to introduce this.
Acceptance criteria (what)
Via een API kan een publicatie (data-object) gecreëerd, geraadpleegd, gemuteerd en verwijderd worden.
Minimaal worden de volgende gegevens vastgelegd: identifier, officieleTitel, verkorteTitel, omschrijving,
Het is zowel mogelijk om één publicatie te raadplegen (op basis van de identifier) als om een lijst (array) van publicaties op te vragen.
De creatie, mutatie of verwijdering van een publicatie wordt gelogd (zie ODRC: Set up foundation for logging/audit trails #16 )
Optioneel: de raadpleging van een of meerdere publicaties wordt gelogd (zie ODRC: Set up foundation for logging/audit trails #16 ). Graag laten weten of dit wordt meegenomen!
De API specificatie is bijgewerkt (ReDoc, Swagger)
De documentatie is bijgewerkt (Read the Docs)
Een grafisch datamodel van de database is beschikbaar / bijgewerkt (op GitHub of Read the Docs of elders)
Development tasks
See also GPP-Woo/GPP-app#34 for the UI-side of things.
Publication
, with the fields:uuid
(server generated, will fullfill theidentifier
acceptance criterium)official_title
(required)short_title
(optional)description
(optional)created_on
(server generated timestamp, for audit logging reasons)uuid
created_on
created_on
/api/v1/publicaties
created_on
,official_title
,short_title
uuid
for detail lookupsPOST
call)official_title
,short_title
anddescription
fieldsAudit-User-Id
,Audit-User-Display-Name
andAudit-Toelichting
and create audit record that publication was made by this user (they are now the owner of this publication)created_on
timestampPUT
andPATCH
)official_title
,short_title
anddescription
fieldsAudit-User-Id
,Audit-User-Display-Name
andAudit-Toelichting
and create audit record that publication was modified by this user (they are now the owner of this publication)Draft API resource exposed in the endpoint (all CRU) operations:
The text was updated successfully, but these errors were encountered: