private Connection newSqlConnection(Connector connector) { assertNotNull(connector); Map<String, String> configuredProperties = new HashMap<>(); configuredProperties.put("password", "password"); configuredProperties.put("user", "developer"); configuredProperties.put("schema", "sampledb"); configuredProperties.put("url", "jdbc:postgresql://syndesis-db:5432/sampledb"); return new Connection.Builder() .id(CONNECTION_ID) .addTag("dynamic") .configuredProperties(configuredProperties) .connector(connector) .connectorId("sql") .description("Connection to Sampledb") .icon("fa-database") .name("PostgresDB") .build(); }