Hi Martin, what I have done in the past to achieve this is to build a 3rd party utility say in Python and sync any number of dhis2 instances through their web apis. I then went on to create cron jobs which run the utility periodically. The major assumption I made was that the changes only happened on the master and never on the slaves. The slaves just got updates from the master. I hope this helps.
Michael On 21 August 2017 at 12:13, Martin Van Aken <mar...@joyouscoding.com> wrote: > Hi DHIS2 community! > We start having a number of cases for "DHIS2 to DHIS2" integration. > Typically, we have a DHIS2 at the HMIS level and one or more dedicated to > vertical programs. In this situation: > > - the vertical program need the health pyramid from the HMIS > - the HMIS may be interested to get back a part of the data element & > values generated by the vertical program > > Examples: > > - every time an org unit is created or updated in the HMIS we want to > create/update in the vertical program system > - every time an data element is created or updated in a given group in the > vertical program system we want to create/update it in the HMIS > - every period (week/month/quarter) we want to push back the data from the > vertical program to the HMIS for a given set of data element > > While all the individual elements are there for this to works (can use > export/import and/or the API), is there any "advised way" to make this run > on an automated basis? Missing this, any case/experience to share? > > Thanks & regards, > > Martin > > -- > *Martin Van Aken - **Freelance Enthusiast Developer* > > Mobile : +32 486 899 652 > > Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> > Call me on Skype : vanakenm > Hang out with me : mar...@joyouscoding.com > Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken > Company website : www.joyouscoding.com > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp