...
To clean up the database, these statements need to be executed. Be careful as you are also deleting all the sync history and can't resume your work with the Sync Module later on.
Code Block |
---|
drop table sync_server_record;
drop table sync_server_class;
drop table sync_server;
drop table sync_class;
drop table sync_record;
drop table sync_import;
delete from global_property where property like 'sync.%';
|
...
The sync project was the brain child of Christian Allen in 2007 while he was working for Partner's in Health. PIH had multiple sites that were not continuously connected by internet across the Rwandan countryside. Transporting paper forms 4-5 hours on a daily or even weekly basis was not working. His vision of a bidirectional asynchronous database synchronization technique lived and developed in a branch or two for several years. In mid 2009 it was clear that sync was not going to be a part of core code going forward. We made changes to core that were incorporated into the OpenMRS 1.5 release to enable sync to be a module. We then ported the code from the branch into the sync module to allow for maximum flexibility and ease of use.
Release Notes
- 1.0.
...
Jira Issues | ||||||||
---|---|---|---|---|---|---|---|---|
|
1.0.5
...
- 7
- 1.0.6
- SYNC-286 - If you click on the "Maintenance" tab for Sync Administration, the repeat interval on the task to clean the records gets set to sec
- 1.0.5
- SYNC-250 - Sync module should be able to handle properties that are enums
- SYNC-257 - Sync module doesn't build against 1.10-SNAPSHOT
- SYNC-267 - Sync should explicitly set character encoding to UTF-8 when creating and reading sync transmissions
- SYNC-283 - Problem syncing changes to concept names
- SYNC-266 - Add unique constraint to sync_import.uuid column
- 1.0.4
- 1.0.3
- SYNC-280: Voided PersonAttribute gets deleted while syncing
- 1.0.2
- Fixed SyncIngest bug SYNC-276
- 1.0.1
- Fixed saving redirect bug SYNC-268
- 1.0
- Fixed many bugs and added a few more features
- Only known sync'ing issue is with formentry xsn objects. See note above.
- 0.972
- Fixed SQL LEVEL ACCESS privilege requirement SYNC-179
- Fixed records marked as Do Not Process from holding up the queue SYNC-193
- Sync'ing concepts first in the list SYNC-180
- Removing the special-cased hard copy of Concept.conceptId and depending solely on uuid SYNC-160
- Added a socket timeout setting SYNC-169
- Fixed PersonAttribute sync'ing SYNC-177
- Fixed hibernate error with new records SYNC-175
- Made configuration timeout configurable SYNC-180
- Fixed sync'ing of concept answers SYNC-174
- 0.94
- Fixed failing unit tests and flaky logic when creating new patients
- Fixed sync'ing of class objects - SYNC-172
- 0.93
- Fixed Sync statistics page causing OOM when there are a lot of sync records - SYNC-165
- 0.92
- Fixed sync'ing of object attributes marked as 'text' SYNC-171
- 0.91
- Fixed patient editing bug - SYNC-170
- 0.9 (official "RC 1" release)
- Fixed syncing of concepts so that it is compatible with metadata sharing module (i.e. concept_ids are preserved) SYNC-160, SYNC-166
- Added ability to sync persistent maps (this enables sync-ing of person attributes) - SYNC-59, SYNC-164
- Added Sync In Progress indicator - SYNC-23
- Better logging of errors for FAILED records - SYNC-58
- (and more)
- 0.8 (official "beta 2" release)
- Exclude certain types (Scheduler, hl7, global property) from sync'ing. Adding package exclusions - #2352
- PersonAttirbutes with empty values fixed - #2360
- Indeterminate PatientIdentifier errors - #1535
- AlertRecipient can be sync'd now - #2233
- Cohort members can be sync'd - #2362
- Sync setup on 1.5.x was failing - #2389
- (and more)
- 0.7 (official "beta" release)
- Added Antoine's new sync admin functionality and ability to generate/send/receive database backup over the web - #547
- Show number of sync incoming sync items - #2014
- Fixed receiving of LoginCredential objects - #2236
- Made rebuild of xsn conditional on xsn existence - #1440
- Fixed display of error translations - #612
- Added more description around received items on status page - #602
- KNOWN ISSUE: AlertRecipient cannot be received - #2233
- 0.6.1 (official "alpha" release)
- Changed the default logging so that there isn't as much noise in the server log files
- 0.6
- Fixed concept word rebuilding when new concepts are added. This allows new concepts to be searched/found at remote sites after a new concept was created on central
- 0.5
- Added ability to generate/download upgrade scripts between OpenMRS 1.5 & 1.6
- Minor Sync API cleanup - archive:TRAC-2029@ticket2029
- 0.4 (Initial public pre-release)
- Fixed saving of non foreign keyed links to primary key columns in voided obs, person attribute and attribute types
- Changed all classloader calls to go through the openmrs classloader to enable sync'ing of module objects
- 0.3
- Fixed offline file transfer to work in bidirectional fashion
- Fixed cohort sync'ing
- 0.2
- Changed classes to shorter sync name
- Added ability for module classes to be sync'ed
- Fixed user id generation
- Reorganized administration pages
- 0.1
- Initial release
- Contains all functionality from sync bidir branch
...