use of com.amalto.workbench.webservices.WSMDMConfig in project tmdm-studio-se by Talend.
the class RepositoryMDMServerInfoHolder method getExternalInfo.
@Override
public WSMDMConfig[] getExternalInfo() {
List<MDMServerDef> allServerDefs = ServerDefService.getAllServerDefs(true);
WSMDMConfig[] configs = new WSMDMConfig[allServerDefs.size()];
int i = 0;
for (MDMServerDef def : allServerDefs) {
configs[i] = new WSMDMConfig();
configs[i].setServerName(def.getHost());
configs[i].setServerPort(def.getPort());
configs[i].setUserName(def.getUser());
configs[i].setPassword(def.getPasswd());
configs[i].setXdbID(def.getName());
i++;
}
return configs;
}
Aggregations