-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
destination-s3: add file transfer (#46302)
Co-authored-by: benmoriceau <benoit@airbyte.io>
- Loading branch information
1 parent
ed03d4e
commit 8957119
Showing
29 changed files
with
775 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...in/kotlin/io/airbyte/cdk/integrations/destination/async/model/AirbyteRecordMessageFile.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
*/ | ||
|
||
package io.airbyte.cdk.integrations.destination.async.model | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty | ||
|
||
class AirbyteRecordMessageFile { | ||
constructor( | ||
fileUrl: String? = null, | ||
bytes: Long? = null, | ||
fileRelativePath: String? = null, | ||
modified: Long? = null, | ||
sourceFileUrl: String? = null | ||
) { | ||
this.fileUrl = fileUrl | ||
this.bytes = bytes | ||
this.fileRelativePath = fileRelativePath | ||
this.modified = modified | ||
this.sourceFileUrl = sourceFileUrl | ||
} | ||
constructor() : | ||
this( | ||
fileUrl = null, | ||
bytes = null, | ||
fileRelativePath = null, | ||
modified = null, | ||
sourceFileUrl = null | ||
) | ||
|
||
@get:JsonProperty("file_url") | ||
@set:JsonProperty("file_url") | ||
@JsonProperty("file_url") | ||
var fileUrl: String? = null | ||
|
||
@get:JsonProperty("bytes") | ||
@set:JsonProperty("bytes") | ||
@JsonProperty("bytes") | ||
var bytes: Long? = null | ||
|
||
@get:JsonProperty("file_relative_path") | ||
@set:JsonProperty("file_relative_path") | ||
@JsonProperty("file_relative_path") | ||
var fileRelativePath: String? = null | ||
|
||
@get:JsonProperty("modified") | ||
@set:JsonProperty("modified") | ||
@JsonProperty("modified") | ||
var modified: Long? = null | ||
|
||
@get:JsonProperty("source_file_url") | ||
@set:JsonProperty("source_file_url") | ||
@JsonProperty("source_file_url") | ||
var sourceFileUrl: String? = null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.47.3 | ||
version=0.48.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.