Skip to content

Commit

Permalink
merge mysql v2 into v1 (#48369)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodireich authored Nov 7, 2024
1 parent 3fa1530 commit e42d056
Show file tree
Hide file tree
Showing 117 changed files with 31 additions and 11,751 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/connectors_version_increment_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Connectors Version Increment Check
runs-on: connector-test-large
if: github.event.pull_request.head.repo.fork != true
timeout-minutes: 12
timeout-minutes: 22
steps:
- name: Checkout Airbyte
uses: actions/checkout@v4
Expand Down
23 changes: 0 additions & 23 deletions airbyte-integrations/connectors/source-mysql-v2/build.gradle

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion airbyte-integrations/connectors/source-mysql-v2/icon.svg

This file was deleted.

28 changes: 0 additions & 28 deletions airbyte-integrations/connectors/source-mysql-v2/metadata.yaml

This file was deleted.

This file was deleted.

55 changes: 12 additions & 43 deletions airbyte-integrations/connectors/source-mysql/build.gradle
Original file line number Diff line number Diff line change
@@ -1,54 +1,23 @@
import org.jsonschema2pojo.SourceType

plugins {
id 'airbyte-java-connector'
id 'org.jsonschema2pojo' version '1.2.1'
}

airbyteJavaConnector {
cdkVersionRequired = '0.45.1'
features = ['db-sources']
useLocalCdk = false
id 'airbyte-bulk-connector'
}

java {
compileJava {
options.compilerArgs += "-Xlint:-try,-rawtypes"
}
application {
mainClass = 'io.airbyte.integrations.source.mysql.MysqlSource'
}

application {
mainClass = 'io.airbyte.integrations.source.mysql.MySqlSource'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
airbyteBulkConnector {
core = 'extract'
toolkits = ['extract-jdbc', 'extract-cdc']
cdk = 'local'
}

dependencies {
implementation 'mysql:mysql-connector-java:8.0.30'
implementation 'io.debezium:debezium-embedded:2.7.1.Final'
implementation 'io.debezium:debezium-connector-mysql:2.7.1.Final'

testFixturesImplementation 'org.testcontainers:mysql:1.19.0'

testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'org.testcontainers:mysql:1.19.0'
}

jsonSchema2Pojo {
sourceType = SourceType.YAMLSCHEMA
source = files("${sourceSets.main.output.resourcesDir}/internal_models")
targetDirectory = new File(project.buildDir, 'generated/src/gen/java/')
removeOldOutput = true

targetPackage = 'io.airbyte.integrations.source.mysql.internal.models'

useLongIntegers = true
generateBuilders = true
includeConstructors = false
includeSetters = true
}
implementation 'org.codehaus.plexus:plexus-utils:4.0.0'
implementation 'io.debezium:debezium-connector-mysql'

compileKotlin {
dependsOn {
generateJsonSchema2Pojo
}
testImplementation platform('org.testcontainers:testcontainers-bom:1.20.2')
testImplementation 'org.testcontainers:mysql'
testImplementation("io.mockk:mockk:1.12.0")
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
testExecutionConcurrency=-1
testExecutionConcurrency=1
JunitMethodExecutionTimeout=5m

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit e42d056

Please sign in to comment.