@Test public void testCreateRdsViewConnectionStringWhenHiveAndOracle() { String connectionUrl = "jdbc:oracle:@ranger.cmseikcocinw.us-east-1.rds.amazonaws.com:1521:orcl"; RDSConfig rdsConfig = createRdsConfig(connectionUrl, DatabaseVendor.ORACLE12, DatabaseType.HIVE); RdsView underTest = new RdsView(rdsConfig); Assert.assertEquals(ASSERT_ERROR_MSG, "jdbc:oracle:@ranger.cmseikcocinw.us-east-1.rds.amazonaws.com:1521:orcl", underTest.getConnectionString()); }
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; }