def migration_task(): configs = EWSGhanaConfig.get_all_configs() for config in configs: if config.enabled: commtrack_settings_sync(config.domain, LOCATION_TYPES) ils_bootstrap_domain(config, GhanaEndpoint.from_config(config), EXTENSIONS)
def migration_task(): configs = EWSGhanaConfig.get_all_configs() for config in configs: if config.enabled: ews_bootstrap_domain(EWSApi(config.domain, GhanaEndpoint.from_config(config)))