Search in sources :

Example 1 with SyncEndpoint

use of org.hisp.dhis.dxf2.sync.SyncEndpoint in project dhis2-core by dhis2.

the class SyncUtils method getRemoteInstanceWithSyncImportStrategy.

static SystemInstance getRemoteInstanceWithSyncImportStrategy(SystemSettingManager systemSettingManager, SyncEndpoint syncEndpoint) {
    SystemInstance systemInstance = getRemoteInstance(systemSettingManager, syncEndpoint);
    systemInstance.setUrl(systemInstance.getUrl() + SyncUtils.IMPORT_STRATEGY_SYNC_SUFFIX);
    return systemInstance;
}
Also used : SystemInstance(org.hisp.dhis.dxf2.synch.SystemInstance)

Aggregations

SystemInstance (org.hisp.dhis.dxf2.synch.SystemInstance)1