Skip to content

Commit

Permalink
Bump local json connector (#14641)
Browse files Browse the repository at this point in the history
* Bump local json connector

* update doc

* Fix publish

* auto-bump connector version

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
benmoriceau and octavia-squidington-iii authored Jul 13, 2022
1 parent 19df797 commit 8dc558d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
- name: Local JSON
destinationDefinitionId: a625d593-bba5-4a1c-a53d-2d246268a816
dockerRepository: airbyte/destination-local-json
dockerImageTag: 0.2.10
dockerImageTag: 0.2.11
documentationUrl: https://docs.airbyte.io/integrations/destinations/local-json
icon: file.svg
releaseStage: alpha
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2369,7 +2369,7 @@
supported_destination_sync_modes:
- "overwrite"
- "append"
- dockerImage: "airbyte/destination-local-json:0.2.10"
- dockerImage: "airbyte/destination-local-json:0.2.11"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/destinations/local-json"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION destination-local-json

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.2.10
LABEL io.airbyte.version=0.2.11
LABEL io.airbyte.name=airbyte/destination-local-json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
Expand Down Expand Up @@ -89,7 +90,7 @@ public AirbyteMessageConsumer getConsumer(final JsonNode config,
Files.copy(finalPath, tmpPath, StandardCopyOption.REPLACE_EXISTING);
}

final Writer writer = new FileWriter(tmpPath.toFile(), isAppendMode);
final Writer writer = new FileWriter(tmpPath.toFile(), Charset.defaultCharset(), isAppendMode);
writeConfigs.put(stream.getStream().getName(), new WriteConfig(writer, tmpPath, finalPath));
}

Expand Down
5 changes: 5 additions & 0 deletions docs/integrations/destinations/local-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ docker cp airbyte-scheduler:/tmp/airbyte_local/{destination_path}/{filename}.jso

Note: If you are running Airbyte on Windows with Docker backed by WSL2, you have to use similar step as above or refer to this [link](../../operator-guides/locating-files-local-destination.md) for an alternative approach.

## Changelog

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.2.11 | 2022-02-14 | [14641](https://github.com/airbytehq/airbyte/pull/14641) | Include lifecycle management |

0 comments on commit 8dc558d

Please sign in to comment.