* initial ctid for testing * initial ctid for testing * initial ctid for testing * Automated Commit - Format and Process Resources Changes * add version and state type to xmin status * add logic to swtich between xmin and ctid sync * npe fixes * use enum * refactor * add relation node logic + validation for vacuuming + more refactor * refine test + make PR ready for review * remove un-wanted changes * missed this one * remove irrelevant comments * add more assertions * remove jdbc log * address review comments * 🤖 Auto format source-postgres code [skip ci] * skip streams under vacuum * 🤖 Auto format source-postgres code [skip ci] * update log message * 🤖 Auto format source-postgres code [skip ci] * comment * latest round of review comments * missed this file * 🤖 Auto format source-postgres code [skip ci] * initial drop for testing * test * refactor query plan * Add testing for query plan * sanity * sanity * sanity * remove change in spec json * sanity * test * comment * remove hardcoded testing value * add test case * revert json spec * small imrovements * typo * fix test * bump docker image version * revert bump docker image version --------- Co-authored-by: rodireich <rodireich@users.noreply.github.com> Co-authored-by: subodh <subodh1810@gmail.com> Co-authored-by: octavia-squidington-iii <octavia-squidington-iii@users.noreply.github.com> Co-authored-by: Augustin <augustin@airbyte.io>
59 lines
2.4 KiB
Groovy
59 lines
2.4 KiB
Groovy
import org.jsonschema2pojo.SourceType
|
|
|
|
plugins {
|
|
id 'application'
|
|
id 'airbyte-docker'
|
|
id 'airbyte-integration-test-java'
|
|
id 'airbyte-performance-test-java'
|
|
id 'airbyte-connector-acceptance-test'
|
|
id "org.jsonschema2pojo" version "1.2.1"
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.airbyte.integrations.source.postgres.PostgresSource'
|
|
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':airbyte-db:db-lib')
|
|
implementation project(':airbyte-integrations:bases:base-java')
|
|
implementation project(':airbyte-integrations:bases:debezium')
|
|
implementation libs.airbyte.protocol
|
|
implementation project(':airbyte-integrations:connectors:source-jdbc')
|
|
implementation project(':airbyte-integrations:connectors:source-relational-db')
|
|
|
|
implementation 'org.apache.commons:commons-lang3:3.11'
|
|
implementation libs.postgresql
|
|
implementation libs.bundles.datadog
|
|
|
|
testImplementation testFixtures(project(':airbyte-integrations:bases:debezium'))
|
|
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
|
|
testImplementation project(":airbyte-json-validation")
|
|
testImplementation project(':airbyte-test-utils')
|
|
testImplementation 'org.hamcrest:hamcrest-all:1.3'
|
|
testImplementation libs.connectors.testcontainers.jdbc
|
|
testImplementation libs.connectors.testcontainers.postgresql
|
|
testImplementation libs.junit.jupiter.system.stubs
|
|
|
|
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
|
|
performanceTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
|
|
|
|
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
performanceTestJavaImplementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
|
|
}
|
|
|
|
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.postgres.internal.models'
|
|
|
|
useLongIntegers = true
|
|
generateBuilders = true
|
|
includeConstructors = false
|
|
includeSetters = true
|
|
}
|