Skip to content

Commit a7dde3e

Browse files
author
zhilingc
committed
Move go generated files into sdk folder
1 parent 605ecb1 commit a7dde3e

23 files changed

Lines changed: 469 additions & 743 deletions

protos/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dirs = core serving types storage
44
service_dirs = core serving
55

66
gen-go:
7-
@$(foreach dir,$(dirs),protoc -I/usr/local/include -I. --go_out=plugins=grpc,paths=source_relative:generated/go feast/$(dir)/*.proto;)
7+
@$(foreach dir,$(dirs),protoc -I/usr/local/include -I. --go_out=plugins=grpc,paths=source_relative:../sdk/go/protos/ feast/$(dir)/*.proto;)
88

99
gen-python:
1010
pip install grpcio-tools

protos/feast/core/CoreService.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ syntax = "proto3";
1818

1919
package feast.core;
2020

21-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
21+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/core";
2222
option java_outer_classname = "CoreServiceProto";
2323
option java_package = "feast.core";
2424

protos/feast/core/FeatureSet.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package feast.core;
2020

2121
option java_package = "feast.core";
2222
option java_outer_classname = "FeatureSetProto";
23-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
23+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/core";
2424

2525
import "feast/types/Value.proto";
2626
import "feast/core/Source.proto";

protos/feast/core/Source.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package feast.core;
1919

2020
option java_package = "feast.core";
2121
option java_outer_classname = "SourceProto";
22-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
22+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/core";
2323

2424

2525
message Source {

protos/feast/core/Store.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package feast.core;
1919

2020
option java_package = "feast.core";
2121
option java_outer_classname = "StoreProto";
22-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/core";
22+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/core";
2323

2424
// Store provides a location where Feast reads and writes feature values.
2525
// Feature values will be written to the Store in the form of FeatureRow elements.

protos/feast/serving/ServingService.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import "feast/types/FeatureRow.proto";
2525

2626
option java_package = "feast.serving";
2727
option java_outer_classname = "ServingAPIProto";
28-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/serving";
28+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/serving";
2929

3030
service ServingService {
3131
// Get version information about this Feast serving.

protos/feast/storage/Redis.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package feast.storage;
2222

2323
option java_outer_classname = "RedisProto";
2424
option java_package = "feast.storage";
25-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/storage";
25+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/storage";
2626

2727
message RedisKey {
2828
// Field number 1 is reserved for a future distributing hash if needed

protos/feast/types/FeatureRow.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ package feast.types;
2323

2424
option java_package = "feast.types";
2525
option java_outer_classname = "FeatureRowProto";
26-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/types";
26+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/types";
2727

2828
message FeatureRow {
2929

protos/feast/types/FeatureRowExtended.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ package feast.types;
2323

2424
option java_package = "feast.types";
2525
option java_outer_classname = "FeatureRowExtendedProto";
26-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/types";
26+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/types";
2727

2828
message Error {
2929
string cause = 1; // exception class name

protos/feast/types/Field.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package feast.types;
2222

2323
option java_package = "feast.types";
2424
option java_outer_classname = "FieldProto";
25-
option go_package = "github.com/gojek/feast/protos/generated/go/feast/types";
25+
option go_package = "github.com/gojek/feast/sdk/go/protos/feast/types";
2626

2727
message Field {
2828
string name = 1;

0 commit comments

Comments
 (0)