Metadata Package Change log [WIP] #339
Unanswered
vietnguyen
asked this question in
Specs & RFCs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Introduction
https://dhis2.atlassian.net/browse/DHIS2-11808
https://dhis2.atlassian.net/browse/DHIS2-14460
1.1. Definitions
Metadata package is a regular metadata import JSON file which is identified by a header object. When a header object is present in the import file, the file is considered a metadata package. Sample packages can be download from this link
Changelog: when a metadata package file is imported, the event should be stored in the metadata package changelog. A changelog should include below information:
1.2. Scope
FileResource
object.api/metadataPackages
which only supportGET
request will also be added.2. Overall descriptions
2.1 Features:
2.2 Import metadata package
The purpose of this feature is to save the metadata package payload and all of its objects into DHIS2.
package
exists in the payload.There are two use cases of the import process:
Import report status is success and has no error:
Import report has errors:
2.3 View metadata package
api/metadataPackages
2.4 View metadata package change logs
User should be cable to view list of modified metadata objects of a metadata package.
Questions: How do we link the a metadata package to the metadata objects? Possible options:
tag
property to all metadata objects and use this to store metadata packages linked to a metadata object. Thistag
can also be used for other similar purposesBeta Was this translation helpful? Give feedback.
All reactions