Skip to content

Commit

Permalink
Adding props for MySQL in UI (debezium#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrillin authored Feb 11, 2021
1 parent 720563d commit 7d04eab
Showing 1 changed file with 80 additions and 60 deletions.
140 changes: 80 additions & 60 deletions ui/packages/ui/src/app/shared/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,69 +16,65 @@ export enum ConnectorTypeId {
}

export enum PropertyName {
BIGINT_UNSIGNED_HANDLING_MODE = "bigint.unsigned.handling.mode",
BINARY_HANDLING_MODE = "binary.handling.mode",
BINLOG_BUFFER_SIZE = "binlog.buffer.size",
COLLECTION_INCLUDE_LIST = "collection.include.list",
COLLECTION_EXCLUDE_LIST = "collection.exclude.list",
COLUMN_INCLUDE_LIST = "column.include.list",
COLUMN_EXCLUDE_LIST = "column.exclude.list",
COLUMN_MASK_HASH_SALT = "column.mask.hash",
COLUMN_MASK = "column.mask.with.(d+).chars",
COLUMN_TRUNCATE = "column.truncate.to.(d+).chars",
CONNECT_BACKOFF_INITIAL_DELAY_MS = "connect.backoff.initial.delay.ms",
CONNECT_BACKOFF_MAX_DELAY_MS = "connect.backoff.max.delay.ms",
CONNECT_KEEP_ALIVE = "connect.keep.alive",
CONNECT_KEEP_ALIVE_INTERVAL_MS = "connect.keep.alive.interval.ms",
CONNECT_MAX_ATTEMPTS = "connect.max.attempts",
CONNECT_TIMEOUT_MS = "connect.timeout.ms",
CONNECTOR_NAME = "connector.name",
DATABASE_SERVER_NAME = "database.server.name",
CONVERTERS = "converters",
DATABASE_DBNAME = "database.dbname",
DATABASE_INCLUDE_LIST = "database.include.list",
DATABASE_EXCLUDE_LIST = "database.exclude.list",
DATABASE_INITIAL_STATEMENTS = "database.initial.statements",
DATABASE_HISTORY = "database.history",
DATABASE_HOSTNAME = "database.hostname",
DATABASE_JDBC_DRIVER = "database.jdbc.driver",
DATABASE_SERVER_ID = "database.server.id",
DATABASE_SERVER_ID_OFFSET = "database.server.id.offset",
DATABASE_SERVER_NAME = "database.server.name",
DATABASE_PORT = "database.port",
DATABASE_USER = "database.user",
DATABASE_PASSWORD = "database.password",
DATABASE_TCPKEEPALIVE = "database.tcpKeepAlive",
DATABASE_INITIAL_STATEMENTS = "database.initial.statements",
PLUGIN_NAME = "plugin.name",
PUBLICATION_NAME = "publication.name",
PUBLICATION_AUTOCREATE_MODE = "publication.autocreate.mode",
SLOT_NAME = "slot.name",
SLOT_DROP_ON_STOP = "slot.drop.on.stop",
SLOT_STREAM_PARAMS = "slot.stream.params",
SLOT_MAX_RETRIES = "slot.max.retries",
SLOT_RETRY_DELAY_MS = "slot.retry.delay.ms",
SCHEMA_WHITELIST = "schema.whitelist",
SCHEMA_BLACKLIST = "schema.blacklist",
TABLE_WHITELIST = "table.whitelist",
TABLE_BLACKLIST = "table.blacklist",
COLUMN_WHITELIST = "column.whitelist",
COLUMN_BLACKLIST = "column.blacklist",
DECIMAL_HANDLING_MODE = "decimal.handling.mode",
HSTORE_HANDLING_MODE = "hstore.handling.mode",
BINARY_HANDLING_MODE = "binary.handling.mode",
INTERVAL_HANDLING_MODE = "interval.handling.mode",
TIME_PRECISION_MODE = "time.precision.mode",
TOMBSTONES_ON_DELETE = "tombstones.on.delete",
MESSAGE_KEY_COLUMNS = "message.key.columns",
COLUMN_MASK_HASH_SALT = "column.mask.hash",
COLUMN_MASK = "column.mask.with.(d+).chars",
COLUMN_TRUNCATE = "column.truncate.to.(d+).chars",
INCLUDE_UNKNOWN_DATATYPES = "include.unknown.datatypes",
TOASTED_VALUE_PLACEHOLDER = "toasted.value.placeholder",
PROVIDE_TRANSACTION_METADATA = "provide.transaction.metadata",
SCHEMA_REFRESH_MODE = "schema.refresh.mode",
SANITIZE_FIELD_NAMES = "sanitize.field.names",
SNAPSHOT_MODE = "snapshot.mode",
SNAPSHOT_DELAY_MS = "snapshot.delay.ms",
SNAPSHOT_FETCH_SIZE = "snapshot.fetch.size",
SNAPSHOT_SELECT_STATEMENT_OVERRIDES = "snapshot.select.statement.overrides",
SNAPSHOT_LOCK_TIMEOUT_MS = "snapshot.lock.timeout.ms",
SNAPSHOT_CUSTOM_CLASS = "snapshot.custom.class",
EVENT_PROCESSING_FAILURE_HANDLING_MODE = "event.processing.failure.handling.mode",
MAX_BATCH_SIZE = "max.batch.size",
MAX_QUEUE_SIZE = "max.queue.size",
POLL_INTERVAL_MS = "poll.interval.ms",
HEARTBEAT_INTERVAL_MS = "heartbeat.interval.ms",
HEARTBEAT_TOPICS_PREFIX = "heartbeat.topics.prefix",
HEARTBEAT_ACTION_QUERY = "heartbeat.action.query",
DATABASE_SSLMODE = "database.sslmode",
DATABASE_SSLCERT = "database.sslcert",
DATABASE_SSLPASSWORD = "database.sslpassword",
DATABASE_SSLROOTCERT = "database.sslrootcert",
DATABASE_SSLKEY = "database.sslkey",
DATABASE_SSLFACTORY = "database.sslfactory",
SKIPPED_OPERATIONS = "skipped.operations",
RETRIABLE_RESTART_CONNECTOR_WAIT_MS = "retriable.restart.connector.wait.ms",
SOURCE_STRUCT_VERSION = "source.struct.version",
STATUS_UPDATE_INTERVAL_MS = "status.update.interval.ms",
XMIN_FETCH_INTERVAL_MS = "xmin.fetch.interval.ms",
CONVERTERS = "converters",
DATABASE_TCPKEEPALIVE = "database.tcpKeepAlive",
DECIMAL_HANDLING_MODE = "decimal.handling.mode",
ENABLE_TIME_ADJUSTER = "enable.time.adjuster",
EVENT_DESERIALIZATION_FAILURE_HANDLING_MODE = "event.deserialization.failure.handling.mode",
EVENT_PROCESSING_FAILURE_HANDLING_MODE = "event.processing.failure.handling.mode",
FIELD_EXCLUDE_LIST = "field.exclude.list",
FIELD_RENAMES = "field.renames",
GTID_SOURCE_FILTER_DML_EVENTS = "gtid.source.filter.dml.events",
GTID_SOURCE_INCLUDES = "gtid.source.includes",
GTID_SOURCE_EXCLUDES = "gtid.source.excludes",
HEARTBEAT_ACTION_QUERY = "heartbeat.action.query",
HEARTBEAT_INTERVAL_MS = "heartbeat.interval.ms",
HEARTBEAT_TOPICS_PREFIX = "heartbeat.topics.prefix",
HSTORE_HANDLING_MODE = "hstore.handling.mode",
INCLUDE_QUERY = "include.query",
INCLUDE_SCHEMA_CHANGES = "include.schema.changes",
INCLUDE_UNKNOWN_DATATYPES = "include.unknown.datatypes",
INCONSISTENT_SCHEMA_HANDLING_MODE_= "inconistent.schema.handling.mode",
INTERVAL_HANDLING_MODE = "interval.handling.mode",
MAX_BATCH_SIZE = "max.batch.size",
MAX_QUEUE_SIZE = "max.queue.size",
MESSAGE_KEY_COLUMNS = "message.key.columns",
MONGODB_HOSTS = "mongodb.hosts",
MONGODB_MEMBERS_AUTO_DISCOVER = "mongodb.members.auto.discover",
MONGODB_POLL_INTERVAL_MS = "mongodb.poll.interval.ms",
Expand All @@ -88,19 +84,43 @@ export enum PropertyName {
MONGODB_SSL_ENABLED = "mongodb.ssl.enabled",
MONGODB_SSL_INVALID_HOSTNAME_ALLOWED = "mongodb.ssl.invalid.hostname.allowed",
MONGODB_CONNECT_TIMEOUT_MS = "mongodb.connect.timeout.ms",
CONNECT_BACKOFF_INITIAL_DELAY_MS = "connect.backoff.initial.delay.ms",
CONNECT_BACKOFF_MAX_DELAY_MS = "connect.backoff.max.delay.ms",
MONGODB_AUTHSOURCE = "mongodb.authsource",
CONNECT_MAX_ATTEMPTS = "connect.max.attempts",
MONGODB_SERVER_SELECTION_TIMEOUT_MS = "mongodb.server.selection.timeout.ms",
MONGODB_SOCKET_TIMEOUT_MS = "mongodb.socket.timeout.ms",
DATABASE_INCLUDE_LIST = "database.include.list",
DATABASE_EXCLUDE_LIST = "database.exclude.list",
COLLECTION_INCLUDE_LIST = "collection.include.list",
COLLECTION_EXCLUDE_LIST = "collection.exclude.list",
FIELD_EXCLUDE_LIST = "field.exclude.list",
PLUGIN_NAME = "plugin.name",
POLL_INTERVAL_MS = "poll.interval.ms",
PROVIDE_TRANSACTION_METADATA = "provide.transaction.metadata",
PUBLICATION_NAME = "publication.name",
PUBLICATION_AUTOCREATE_MODE = "publication.autocreate.mode",
QUERY_FETCH_SIZE = "query.fetch.size",
FIELD_RENAMES = "field.renames"
RETRIABLE_RESTART_CONNECTOR_WAIT_MS = "retriable.restart.connector.wait.ms",
SANITIZE_FIELD_NAMES = "sanitize.field.names",
SCHEMA_INCLUDE_LIST = "schema.include.list",
SCHEMA_EXCLUDE_LIST = "schema.exclude.list",
SCHEMA_REFRESH_MODE = "schema.refresh.mode",
SKIPPED_OPERATIONS = "skipped.operations",
SLOT_NAME = "slot.name",
SLOT_DROP_ON_STOP = "slot.drop.on.stop",
SLOT_STREAM_PARAMS = "slot.stream.params",
SLOT_MAX_RETRIES = "slot.max.retries",
SLOT_RETRY_DELAY_MS = "slot.retry.delay.ms",
SNAPSHOT_MODE = "snapshot.mode",
SNAPSHOT_DELAY_MS = "snapshot.delay.ms",
SNAPSHOT_FETCH_SIZE = "snapshot.fetch.size",
SNAPSHOT_SELECT_STATEMENT_OVERRIDES = "snapshot.select.statement.overrides",
SNAPSHOT_LOCK_TIMEOUT_MS = "snapshot.lock.timeout.ms",
SNAPSHOT_LOCKING_MODE = "snapshot.locking.mode",
SNAPSHOT_NEW_TABLES = "snapshot.new.tables",
SNAPSHOT_CUSTOM_CLASS = "snapshot.custom.class",
SOURCE_STRUCT_VERSION = "source.struct.version",
STATUS_UPDATE_INTERVAL_MS = "status.update.interval.ms",
TABLE_IGNORE_BUILTIN = "table.ignore.builtin",
TABLE_INCLUDE_LIST = "table.include.list",
TABLE_EXCLUDE_LIST = "table.exclude.list",
TIME_PRECISION_MODE = "time.precision.mode",
TOASTED_VALUE_PLACEHOLDER = "toasted.value.placeholder",
TOMBSTONES_ON_DELETE = "tombstones.on.delete",
XMIN_FETCH_INTERVAL_MS = "xmin.fetch.interval.ms"
}

export enum PropertyCategory {
Expand Down

0 comments on commit 7d04eab

Please sign in to comment.