| | |
| | | * |
| | | * |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2015 ForgeRock AS |
| | | * Portions Copyright 2011-2016 ForgeRock AS |
| | | * Portions Copyright 2012 profiq s.r.o. |
| | | */ |
| | | package org.opends.server.tools.dsreplication; |
| | |
| | | { |
| | | int domainId = InstallerHelper.getReplicationId(usedReplicationDomainIds); |
| | | usedReplicationDomainIds.add(domainId); |
| | | String domainName = |
| | | InstallerHelper.getDomainName(domainNames, domainId, baseDN); |
| | | String domainName = InstallerHelper.getDomainName(domainNames, baseDN); |
| | | domain = sync.createReplicationDomain( |
| | | ReplicationDomainCfgDefn.getInstance(), domainName, |
| | | new ArrayList<PropertyException>()); |
| | |
| | | } |
| | | else if (!areReplicationServersEqual(servers, replicationServers)) |
| | | { |
| | | domain.setReplicationServer(mergeReplicationServers(replicationServers, |
| | | servers)); |
| | | domain.setReplicationServer(mergeReplicationServers(replicationServers, servers)); |
| | | mustCommit = true; |
| | | } |
| | | } |