operator/src/test/java/oracle/kubernetes/operator/DomainProcessorTestSetup.java
public static String createTopologyYaml(WlsDomainConfig domainConfig) throws JsonProcessingException {
    ObjectMapper yamlMapper = new ObjectMapper(new YAMLFactory());
    return yamlMapper
        .writerWithDefaultPrettyPrinter()
        .writeValueAsString(domainConfig.toTopology());
  }
/**
   * Create a topologyYaml similar to that produced by the introspector.
   * @param domainConfig the domain configuration used as a basis for the produced YAML..
   * @throws JsonProcessingException if unable to convert the configuration to YAML.
   */
Create a topologyYaml similar to that produced by the introspector.
@param domainConfig the domain configuration used as a basis for the produced YAML
@throws JsonProcessingException if unable to convert the configuration to YAML.
Create a topologyYaml similar to that produced by the introspector . @param domainConfig the domain configuration used as a basis for the produced YAML @throws JsonProcessingException if unable to convert the configuration to YAML .
public static String createTopologyYaml(WlsDomainConfig domainConfig) throws JsonProcessingException {
    ObjectMapper yamlMapper = new ObjectMapper(new YAMLFactory());
    return yamlMapper
        .writerWithDefaultPrettyPrinter()
        .writeValueAsString(domainConfig.toTopology());
  }
public static String createTopologyYaml ( WlsDomainConfig domainConfig ) throws JsonProcessingException { ObjectMapper yamlMapper = new ObjectMapper ( new YAMLFactory ( ) ) ; return yamlMapper . writerWithDefaultPrettyPrinter ( ) . writeValueAsString ( domainConfig . toTopology ( ) ) ; }
Create a topologyYaml similar to that produced by the introspector.
Create a topologyYaml similar to that produced by the introspector .