Skip to content

Commit

Permalink
Legacy CDK: More rootless fixes (#51583)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgao authored Jan 16, 2025
1 parent c494847 commit 8dfe268
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions airbyte-cdk/java/airbyte-cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ corresponds to that version.

| Version | Date | Pull Request | Subject |
|:-----------|:-----------|:------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 0.48.5 | 2025-01-16 | [\#51583](https://github.com/airbytehq/airbyte/pull/51583) | Also save SSL key to /tmp in destination-postgres |
| 0.48.4 | 2024-12-24 | [\#50410](https://github.com/airbytehq/airbyte/pull/50410) | Save SSL key to /tmp |
| 0.48.3 | 2024-12-23 | [\#49858](https://github.com/airbytehq/airbyte/pull/49858) | Relax various Destination CDK methods visibility. |
| 0.48.1 | 2024-11-13 | [\#48482](https://github.com/airbytehq/airbyte/pull/48482) | Adding support converting very large numbers via BigInteger |
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.48.4
version=0.48.5
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object PostgresSslConnectionUtils {
const val VERIFY_FULL: String = "verify-full"
const val DISABLE: String = "disable"
const val TRUE_STRING_VALUE: String = "true"
const val ENCRYPT_FILE_NAME: String = "encrypt"
const val ENCRYPT_FILE_NAME: String = "/tmp/encrypt"
const val FACTORY_VALUE: String = "org.postgresql.ssl.DefaultJavaSSLFactory"

@JvmStatic
Expand Down Expand Up @@ -68,11 +68,7 @@ object PostgresSslConnectionUtils {
if (file.exists()) {
keyStorePassword = readFile(file)
} else {
try {
createCertificateFile(ENCRYPT_FILE_NAME, keyStorePassword)
} catch (e: IOException) {
throw RuntimeException("Failed to create encryption file ")
}
createCertificateFile(ENCRYPT_FILE_NAME, keyStorePassword)
}
} else {
keyStorePassword = sslPassword
Expand Down

0 comments on commit 8dfe268

Please sign in to comment.