new-integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/MySQLDBUtils.java
public static void createMySQLDB(String name, String user, String password, int nodePort,
                                   String namespace, String mySQLImageVersion) {

    String uniqueName = Namespace.uniqueName();
    String secretName = name.concat("-secret-").concat(uniqueName);
    String serviceName = name.concat("-external-").concat(uniqueName);

    createMySQLDBSecret(secretName, user, password, namespace);
    createMySQLDBService(serviceName, name, namespace, nodePort);
    startMySQLDB(name, secretName, namespace,
        mySQLImageVersion != null ? mySQLImageVersion : TestConstants.MYSQL_VERSION);

  }
/**
   * Create and start a MySQL database pod.
   *
   * @param name              name of the db pod
   * @param user              username for the database
   * @param password          password for the database
   * @param nodePort          node port of db service
   * @param namespace         name of the namespace in which to create MySQL database
   * @param mySQLImageVersion version of the MySQL db image to use, when null uses version from
   *                          TestConstants.MYSQL_VERSION
   */
Create and start a MySQL database pod.
Create and start a MySQL database pod .
public static void createMySQLDB(String name, String user, String password, int nodePort,
                                   String namespace, String mySQLImageVersion) {
    String uniqueName = Namespace.uniqueName();
    String secretName = name.concat("-secret-").concat(uniqueName);
    String serviceName = name.concat("-external-").concat(uniqueName);
    createMySQLDBSecret(secretName, user, password, namespace);
    createMySQLDBService(serviceName, name, namespace, nodePort);
    startMySQLDB(name, secretName, namespace,
        mySQLImageVersion != null ? mySQLImageVersion : TestConstants.MYSQL_VERSION);
  }
public static void createMySQLDB ( String name , String user , String password , int nodePort , String namespace , String mySQLImageVersion ) { String uniqueName = Namespace . uniqueName ( ) ; String secretName = name . concat ( "-secret-" ) . concat ( uniqueName ) ; String serviceName = name . concat ( "-external-" ) . concat ( uniqueName ) ; createMySQLDBSecret ( secretName , user , password , namespace ) ; createMySQLDBService ( serviceName , name , namespace , nodePort ) ; startMySQLDB ( name , secretName , namespace , mySQLImageVersion != null ? mySQLImageVersion : TestConstants . MYSQL_VERSION ) ; }
Create and start a MySQL database pod.
Create and start a MySQL database pod .