new-integration-tests/src/test/java/oracle/weblogic/kubernetes/utils/DbUtils.java
public static void createRcuSchema(String fmwBaseImageName, String rcuPrefix, String dbUrl,
      String dbNamespace, boolean isUseSecret) throws ApiException {
    LoggingFacade logger = getLogger();
    logger.info("Create RCU pod for RCU prefix {0}", rcuPrefix);
    assertDoesNotThrow(() -> createRcuPod(fmwBaseImageName, dbUrl, dbNamespace, isUseSecret),
        String.format("Creating RCU pod failed with ApiException for image: %s, rcuPrefix: %s, dbUrl: %s, "
                + "in namespace: %s", fmwBaseImageName, rcuPrefix, dbUrl, dbNamespace));

    assertTrue(assertDoesNotThrow(
        () -> createRcuRepository(dbNamespace, dbUrl, rcuPrefix),
        String.format("createRcuRepository failed for dbNamespace: %s, dbUrl: %s, rcuPrefix: %s",
            dbNamespace, dbUrl, rcuPrefix)));
  }
/**
   * Create a RCU schema in the namespace.
   *
   * @param fmwBaseImageName the FMW image name
   * @param rcuPrefix prefix of RCU schema
   * @param dbUrl URL of DB
   * @param dbNamespace namespace of DB where RCU is
   * @throws ApiException when create RCU pod fails
   */
Create a RCU schema in the namespace.
Create a RCU schema in the namespace .
public static void createRcuSchema(String fmwBaseImageName, String rcuPrefix, String dbUrl,
      String dbNamespace, boolean isUseSecret) throws ApiException {
    LoggingFacade logger = getLogger();
    logger.info("Create RCU pod for RCU prefix {0}", rcuPrefix);
    assertDoesNotThrow(() -> createRcuPod(fmwBaseImageName, dbUrl, dbNamespace, isUseSecret),
        String.format("Creating RCU pod failed with ApiException for image: %s, rcuPrefix: %s, dbUrl: %s, "
                + "in namespace: %s", fmwBaseImageName, rcuPrefix, dbUrl, dbNamespace));
    assertTrue(assertDoesNotThrow(
        () -> createRcuRepository(dbNamespace, dbUrl, rcuPrefix),
        String.format("createRcuRepository failed for dbNamespace: %s, dbUrl: %s, rcuPrefix: %s",
            dbNamespace, dbUrl, rcuPrefix)));
  }
public static void createRcuSchema ( String fmwBaseImageName , String rcuPrefix , String dbUrl , String dbNamespace , boolean isUseSecret ) throws ApiException { LoggingFacade logger = getLogger ( ) ; logger . info ( "Create RCU pod for RCU prefix {0}" , rcuPrefix ) ; assertDoesNotThrow ( ( ) -> createRcuPod ( fmwBaseImageName , dbUrl , dbNamespace , isUseSecret ) , String . format ( "Creating RCU pod failed with ApiException for image: %s, rcuPrefix: %s, dbUrl: %s, " + "in namespace: %s" , fmwBaseImageName , rcuPrefix , dbUrl , dbNamespace ) ) ; assertTrue ( assertDoesNotThrow ( ( ) -> createRcuRepository ( dbNamespace , dbUrl , rcuPrefix ) , String . format ( "createRcuRepository failed for dbNamespace: %s, dbUrl: %s, rcuPrefix: %s" , dbNamespace , dbUrl , rcuPrefix ) ) ) ; }
Create a RCU schema in the namespace.
Create a RCU schema in the namespace .