Skip to content

Commit

Permalink
Merge pull request ibm-messaging#23 from ibm-messaging/22-simplify-pa…
Browse files Browse the repository at this point in the history
…ckage-structure

flattened packages
  • Loading branch information
iamgollum authored Apr 20, 2020
2 parents f3cda0a + 82e82eb commit 9817430
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink;
package com.ibm.eventstreams.connect.jdbcsink;

import org.apache.kafka.common.config.AbstractConfig;
import org.apache.kafka.common.config.ConfigDef;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

package com.ibm.eventstreams.connect.jdbcsink;

import com.ibm.eventstreams.connect.jdbcsink.sink.JDBCSinkConfig;
import com.ibm.eventstreams.connect.jdbcsink.sink.JDBCSinkTask;
import org.apache.kafka.common.config.Config;
import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink;
package com.ibm.eventstreams.connect.jdbcsink;

import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.DatabaseFactory;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.IDatabase;
import com.ibm.eventstreams.connect.jdbcsink.database.DatabaseFactory;
import com.ibm.eventstreams.connect.jdbcsink.database.IDatabase;
import org.apache.kafka.clients.consumer.OffsetAndMetadata;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.connect.connector.Connector;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database;
package com.ibm.eventstreams.connect.jdbcsink.database;

import com.ibm.eventstreams.connect.jdbcsink.sink.JDBCSinkConfig;
import com.ibm.eventstreams.connect.jdbcsink.sink.JDBCSinkTask;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.PooledDataSource;
import com.ibm.eventstreams.connect.jdbcsink.JDBCSinkConfig;
import com.ibm.eventstreams.connect.jdbcsink.JDBCSinkTask;
import com.ibm.eventstreams.connect.jdbcsink.database.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.database.datasource.PooledDataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database;
package com.ibm.eventstreams.connect.jdbcsink.database;

public class DatabaseNotSupportedException extends RuntimeException {
public DatabaseNotSupportedException(String message){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database;
package com.ibm.eventstreams.connect.jdbcsink.database;

import com.ibm.eventstreams.connect.jdbcsink.JDBCSinkConnector;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.database.datasource.IDataSource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database;
package com.ibm.eventstreams.connect.jdbcsink.database;

import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.writer.IDatabaseWriter;
import com.ibm.eventstreams.connect.jdbcsink.database.writer.IDatabaseWriter;

public interface IDatabase {
IDatabaseWriter getWriter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database;
package com.ibm.eventstreams.connect.jdbcsink.database;

import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.writer.IDatabaseWriter;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.writer.JDBCWriter;
import com.ibm.eventstreams.connect.jdbcsink.database.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.database.writer.IDatabaseWriter;
import com.ibm.eventstreams.connect.jdbcsink.database.writer.JDBCWriter;

public class RelationalDatabase implements IDatabase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource;
package com.ibm.eventstreams.connect.jdbcsink.database.datasource;

import java.sql.Connection;
import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource;
package com.ibm.eventstreams.connect.jdbcsink.database.datasource;

import com.mchange.v2.c3p0.ComboPooledDataSource;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.writer;
package com.ibm.eventstreams.connect.jdbcsink.database.writer;

import org.apache.kafka.connect.sink.SinkRecord;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
*
*/

package com.ibm.eventstreams.connect.jdbcsink.sink.datasource.database.writer;
package com.ibm.eventstreams.connect.jdbcsink.database.writer;

import com.google.gson.Gson;
import com.ibm.eventstreams.connect.jdbcsink.sink.JDBCSinkTask;
import com.ibm.eventstreams.connect.jdbcsink.sink.datasource.IDataSource;
import com.ibm.eventstreams.connect.jdbcsink.JDBCSinkTask;
import com.ibm.eventstreams.connect.jdbcsink.database.datasource.IDataSource;
import org.apache.kafka.connect.sink.SinkRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down

0 comments on commit 9817430

Please sign in to comment.