@Test public void testCreateRdsViewConnectionStringWhenHiveAndPostgreSQL() { String connectionUrl = "jdbc:postgresql: RDSConfig rdsConfig = createRdsConfig(connectionUrl, DatabaseVendor.POSTGRES, DatabaseType.HIVE); RdsView underTest = new RdsView(rdsConfig); Assert.assertEquals(ASSERT_ERROR_MSG, "jdbc:postgresql: }
public String getConnectionString() { return connectionString; }
RdsView { public String getConnectionString() { return connectionString; } }
RdsView { public String getConnectionString() { return connectionString; } RdsView(RDSConfig rdsConfig); }
RdsView { public String getConnectionString() { return connectionString; } RdsView(RDSConfig rdsConfig); String getConnectionURL(); String getConnectionUserName(); String getConnectionPassword(); String getDatabaseName(); String getDatabaseType(); String getHost(); String getConnectionDriver(); String getLowerCaseDatabaseEngine(); String getDatabaseEngine(); String getSubprotocol(); String getPort(); DatabaseVendor getDatabaseVendor(); String getFancyName(); String getDisplayName(); String getClusterManagerVendor(); String getVendor(); String getUserName(); String getPassword(); String getName(); String getUpperCaseDatabaseEngine(); String getHostWithPortWithJdbc(); String getWithoutJDBCPrefix(); String getConnectionString(); }
RdsView { public String getConnectionString() { return connectionString; } RdsView(RDSConfig rdsConfig); String getConnectionURL(); String getConnectionUserName(); String getConnectionPassword(); String getDatabaseName(); String getDatabaseType(); String getHost(); String getConnectionDriver(); String getLowerCaseDatabaseEngine(); String getDatabaseEngine(); String getSubprotocol(); String getPort(); DatabaseVendor getDatabaseVendor(); String getFancyName(); String getDisplayName(); String getClusterManagerVendor(); String getVendor(); String getUserName(); String getPassword(); String getName(); String getUpperCaseDatabaseEngine(); String getHostWithPortWithJdbc(); String getWithoutJDBCPrefix(); String getConnectionString(); static final String WITHOUT_JDBC_PREFIX_REGEX; }