Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(partner_sdk): Update refs to partner sdk #52

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto3";
option optimize_for = SPEED;
option java_multiple_files = true;
option go_package = "fivetran.com/fivetran_sdk";
package fivetran_sdk;
option go_package = "fivetran.com/partner_sdk";
package partner_sdk;

import "google/protobuf/timestamp.proto";

Expand Down
4 changes: 2 additions & 2 deletions connector_sdk.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto3";
option optimize_for = SPEED;
option java_multiple_files = true;
option go_package = "fivetran.com/fivetran_sdk";
package fivetran_sdk;
option go_package = "fivetran.com/partner_sdk";
package partner_sdk;

import "common.proto";

Expand Down
4 changes: 2 additions & 2 deletions destination_sdk.proto
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
syntax = "proto3";
option optimize_for = SPEED;
option java_multiple_files = true;
option go_package = "fivetran.com/fivetran_sdk";
package fivetran_sdk;
option go_package = "fivetran.com/partner_sdk";
package partner_sdk;

import "google/protobuf/timestamp.proto";
import "common.proto";
Expand Down
2 changes: 1 addition & 1 deletion development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Do not assume order of columns in the batch files. Always read the CSV file head
- `unmodified_string` value is used to indicate columns in `update_files` where the values did not change.

### Examples of Data Types
Examples of each [DataType](https://github.com/fivetran/fivetran_sdk/blob/main/common.proto#L73C6-L73C14) as they would appear in CSV batch files are as follows:
Examples of each [DataType](https://github.com/fivetran/partner_sdk/blob/main/common.proto#L73C6-L73C14) as they would appear in CSV batch files are as follows:
- UNSPECIFIED: This data type will never appear in batch files
- BOOLEAN: "true", "false"
- SHORT: -32768 .. 32767
Expand Down
2 changes: 1 addition & 1 deletion examples/connector/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module fivetran.com/fivetran_sdk
module fivetran.com/partner_sdk

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion examples/connector/golang/golang_connector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net"
"strconv"

pb "fivetran.com/fivetran_sdk/proto"
pb "fivetran.com/partner_sdk/proto"
"google.golang.org/grpc"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import fivetran_sdk.*;
import fivetran_sdk.Record;
import partner_sdk.*;
import partner_sdk.Record;
import io.grpc.stub.StreamObserver;

import java.util.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package destination;

import fivetran_sdk.*;
import partner_sdk.*;
import io.grpc.stub.StreamObserver;

import java.util.Arrays;
Expand Down
2 changes: 1 addition & 1 deletion tools/connector-tester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ docker start -i <container-id>

## CLI Arguments

The tester supports the following optional CLI arguments to alter its default behavior. You can append these options to the end of the docker run command provided in step 2 of [How To Run](https://github.com/fivetran/fivetran_sdk/blob/main/tools/connector-tester/README.md#how-to-run) section above.
The tester supports the following optional CLI arguments to alter its default behavior. You can append these options to the end of the docker run command provided in step 2 of [How To Run](https://github.com/fivetran/partner_sdk/blob/main/tools/connector-tester/README.md#how-to-run) section above.

#### --port
This option tells the tester to use a different port than the default 50051.
Expand Down
4 changes: 2 additions & 2 deletions tools/destination-tester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker start -i <container-id>

## Input Files

Destination tester simulates operations from a source by reading input files from the local data folder. Each input file represents a batch of operations, encoded in JSON format. Data types in [common.proto](https://github.com/fivetran/fivetran_sdk/blob/main/common.proto#L73) file can be used as column data types.
Destination tester simulates operations from a source by reading input files from the local data folder. Each input file represents a batch of operations, encoded in JSON format. Data types in [common.proto](https://github.com/fivetran/partner_sdk/blob/main/common.proto#L73) file can be used as column data types.

### List of Operations

Expand Down Expand Up @@ -143,7 +143,7 @@ Here is an example input file named `input_1.json`:

## CLI Arguments

The tester supports the following optional CLI arguments to alter its default behavior. You can append these options to the end of the `docker run` command provided in step 2 of [How To Run](https://github.com/fivetran/fivetran_sdk/tree/main/tools/destination-tester#how-to-run) section above.
The tester supports the following optional CLI arguments to alter its default behavior. You can append these options to the end of the `docker run` command provided in step 2 of [How To Run](https://github.com/fivetran/partner_sdk/tree/main/tools/destination-tester#how-to-run) section above.

#### --port
This option tells the tester to use a different port than the default 50052.
Expand Down
Loading