@Test public void isRemoteDatabaseNeededWhenDbServerCrnIsPresent() { Cluster testCluster = TestUtil.cluster(); testCluster.setDatabaseServerCrn(DB_SERVER_CRN); assertTrue(underTest.isRemoteDatabaseNeeded(testCluster)); }
public boolean isRemoteDatabaseNeeded(Cluster cluster) { return StringUtils.isNotEmpty(cluster.getDatabaseServerCrn()); }
RedbeamsDbServerConfigurer { public boolean isRemoteDatabaseNeeded(Cluster cluster) { return StringUtils.isNotEmpty(cluster.getDatabaseServerCrn()); } }
RedbeamsDbServerConfigurer { public boolean isRemoteDatabaseNeeded(Cluster cluster) { return StringUtils.isNotEmpty(cluster.getDatabaseServerCrn()); }  }
RedbeamsDbServerConfigurer { public boolean isRemoteDatabaseNeeded(Cluster cluster) { return StringUtils.isNotEmpty(cluster.getDatabaseServerCrn()); }  RDSConfig createNewRdsConfig(Stack stack, Cluster cluster, String dbName, String dbUser, DatabaseType type); boolean isRemoteDatabaseNeeded(Cluster cluster); DatabaseServerV4Response getDatabaseServer(String serverCrn); }
RedbeamsDbServerConfigurer { public boolean isRemoteDatabaseNeeded(Cluster cluster) { return StringUtils.isNotEmpty(cluster.getDatabaseServerCrn()); }  RDSConfig createNewRdsConfig(Stack stack, Cluster cluster, String dbName, String dbUser, DatabaseType type); boolean isRemoteDatabaseNeeded(Cluster cluster); DatabaseServerV4Response getDatabaseServer(String serverCrn);  }