operator/src/test/java/oracle/kubernetes/operator/utils/WlsDomainConfigSupport.java
public WlsDomainConfig createDomainConfig() {
    // reconcile static clusters
    for (WlsClusterConfig cluster : wlsClusters.values()) {
      ListIterator<WlsServerConfig> servers = cluster.getServers().listIterator();
      while (servers.hasNext()) {
        WlsServerConfig existing = wlsServers.get(servers.next().getName());
        if (existing != null) {
          servers.set(existing);
        }
      }
    }
    return new WlsDomainConfig(
        domain, adminServerName, wlsClusters, wlsServers, templates, machineConfigs);
  }
/**
   * Creates a domain configuration, based on the defined servers and clusters.
   *
   * @return a domain configuration, or null
   */
Creates a domain configuration, based on the defined servers and clusters.
@return a domain configuration, or null
Creates a domain configuration based on the defined servers and clusters . @return a domain configuration or null
public WlsDomainConfig createDomainConfig() {
    for (WlsClusterConfig cluster : wlsClusters.values()) {
      ListIterator<WlsServerConfig> servers = cluster.getServers().listIterator();
      while (servers.hasNext()) {
        WlsServerConfig existing = wlsServers.get(servers.next().getName());
        if (existing != null) {
          servers.set(existing);
        }
      }
    }
    return new WlsDomainConfig(
        domain, adminServerName, wlsClusters, wlsServers, templates, machineConfigs);
  }
public WlsDomainConfig createDomainConfig ( ) { for ( WlsClusterConfig cluster : wlsClusters . values ( ) ) { ListIterator < WlsServerConfig > servers = cluster . getServers ( ) . listIterator ( ) ; while ( servers . hasNext ( ) ) { WlsServerConfig existing = wlsServers . get ( servers . next ( ) . getName ( ) ) ; if ( existing != null ) { servers . set ( existing ) ; } } } return new WlsDomainConfig ( domain , adminServerName , wlsClusters , wlsServers , templates , machineConfigs ) ; }
Creates a domain configuration, based on the defined servers and clusters.
Creates a domain configuration based on the defined servers and clusters .
// reconcile static clusters