Build: #115 was successful Changes by Arkadiusz Lalo <alalo@soldevelo.com>
Code commits
Git
-
Arkadiusz Lalo <alalo@soldevelo.com> a8461207a516d7fff570a3014af92be1ab20bcbe
SYNCT-276: Extend the configuration to give fine grained control (#117)
* SYNCT-276: Added the "preferredClient" field to the ClassConfig and added the Serializable interface to the config classes
* SYNCT-276: Changed the approach to determine the preferred client (first try to use the class preferred client) and updated the unit tests
* SYNCT-276: Added support of specific clients configuration
* SYNCT-276: Added the possibility to set specific clients credentials
* SYNCT-276: Changes after the review- api/src/main/java/org/openmrs/module/sync2/SyncConstants.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/ClassConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/ClientConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/GeneralConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/SyncConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/SyncMethodConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/configuration/WhitelistConfiguration.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/enums/Operation.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/model/enums/SyncOperation.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/service/SyncConfigurationService.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/service/impl/AbstractSynchronizationService.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/service/impl/SyncConfigurationServiceImpl.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/service/impl/SyncPullServiceImpl.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/service/impl/SyncPushServiceImpl.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/sync/SyncClient.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/utils/SyncAuditUtils.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/utils/SyncConfigurationUtils.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/main/java/org/openmrs/module/sync2/api/utils/SyncUtils.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/java/org/openmrs/module/sync2/api/mother/SyncConfigurationMother.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/java/org/openmrs/module/sync2/api/service/impl/SyncConfigurationServiceImplTest.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/java/org/openmrs/module/sync2/api/sync/SyncClientTest.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/java/org/openmrs/module/sync2/api/utils/SyncConfigurationUtilsTest.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/java/org/openmrs/module/sync2/api/utils/SyncUtilsTest.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/resources/noWhitelistConfiguration.json (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/resources/sampleSyncConfiguration.json (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- api/src/test/resources/sampleSyncConfiguration2.json (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- omod/src/main/java/org/openmrs/module/sync2/page/controller/Sync2PageController.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)
- omod/src/main/java/org/openmrs/module/sync2/web/controller/rest/SyncAuditRestController.java (version a8461207a516d7fff570a3014af92be1ab20bcbe)