diff --git a/Makefile b/Makefile index b1488b51847..14d28d89edc 100644 --- a/Makefile +++ b/Makefile @@ -105,12 +105,12 @@ $(BIN)/protoc: | $(BIN) cp $(BIN)/protoc-zip/bin/protoc $(BIN)/protoc # any generated file - they all depend on each other / are generated at once, so any will work -PROTO_GEN_SRC = ./.gen/proto/admin/v1/service.pb.go +PROTO_GEN_SRC = ./gen/proto/admin/v1/service.pb.go -THRIFT_GENDIR=.gen/go +THRIFT_GENDIR=gen/go THRIFT_SRCS := $(shell find idls -name '*.thrift') # concrete targets to build / the "sentinel" go files that need to be produced per thrift file. -# idls/thrift/thing.thrift -> thing.thrift -> thing -> ./.gen/go/thing/thing.go +# idls/thrift/thing.thrift -> thing.thrift -> thing -> ./gen/go/thing/thing.go THRIFT_GEN_SRC := $(foreach tsrc,$(basename $(subst idls/thrift/,,$(THRIFT_SRCS))),./$(THRIFT_GENDIR)/$(tsrc)/$(tsrc).go) # this is a "false" dependency chain, but it convinces make that "need to make thriftrw(-plugin-yarpc)" @@ -130,7 +130,7 @@ $(THRIFT_SRCS): $(BIN)/thriftrw $(BIN)/thriftrw-plugin-yarpc # how to generate each thrift file. # note that each generated file depends on ALL thrift files - this is necessary because they can import each other. $(THRIFT_GEN_SRC): $(THRIFT_SRCS) go.mod - @# .gen/go/thing/thing.go -> thing.go -> "thing " -> thing -> idls/thrift/thing.thrift + @# gen/go/thing/thing.go -> thing.go -> "thing " -> thing -> idls/thrift/thing.thrift @echo 'thriftrw for idls/thrift/$(strip $(basename $(notdir $@))).thrift...' @$(BIN_PATH) $(BIN)/thriftrw \ --plugin=yarpc \ @@ -163,7 +163,7 @@ ALL_SRC := $(FRESH_ALL_SRC) ALL_SRC += $(THRIFT_GEN_SRC) ALL_SRC += $(PROTO_GEN_SRC) ALL_SRC := $(sort $(ALL_SRC)) # dedup -LINT_SRC := $(filter-out %_test.go ./.gen/%, $(ALL_SRC)) +LINT_SRC := $(filter-out %_test.go ./gen/%, $(ALL_SRC)) # all directories with *_test.go files in them (exclude host/xdc) TEST_DIRS := $(filter-out $(INTEG_TEST_XDC_ROOT)%, $(sort $(dir $(filter %_test.go,$(ALL_SRC))))) # all tests other than end-to-end integration test fall into the pkg_test category @@ -201,7 +201,7 @@ thriftc: $(THRIFT_GEN_SRC) copyright ## rebuild thrift-generated source files proto: proto-lint proto-compile fmt copyright PROTO_ROOT := proto -PROTO_OUT := .gen/proto +PROTO_OUT := gen/proto PROTO_FILES = $(shell find ./$(PROTO_ROOT) -name "*.proto" | grep -v "persistenceblobs") PROTO_DIRS = $(sort $(dir $(PROTO_FILES))) @@ -342,13 +342,13 @@ cover_ndc_profile: clean bins_nothrift $(COVER_ROOT)/cover.out: $(UNIT_COVER_FILE) $(INTEG_COVER_FILE_CASS) $(INTEG_COVER_FILE_MYSQL) $(INTEG_COVER_FILE_POSTGRES) $(INTEG_NDC_COVER_FILE_CASS) $(INTEG_NDC_COVER_FILE_MYSQL) $(INTEG_NDC_COVER_FILE_POSTGRES) @echo "mode: atomic" > $(COVER_ROOT)/cover.out - cat $(UNIT_COVER_FILE) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_COVER_FILE_CASS) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_COVER_FILE_MYSQL) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_COVER_FILE_POSTGRES) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_NDC_COVER_FILE_CASS) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_NDC_COVER_FILE_MYSQL) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out - cat $(INTEG_NDC_COVER_FILE_POSTGRES) | grep -v "^mode: \w\+" | grep -vP ".gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(UNIT_COVER_FILE) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_COVER_FILE_CASS) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_COVER_FILE_MYSQL) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_COVER_FILE_POSTGRES) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_NDC_COVER_FILE_CASS) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_NDC_COVER_FILE_MYSQL) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out + cat $(INTEG_NDC_COVER_FILE_POSTGRES) | grep -v "^mode: \w\+" | grep -vP "gen|[Mm]ock[s]?" >> $(COVER_ROOT)/cover.out cover: $(COVER_ROOT)/cover.out go tool cover -html=$(COVER_ROOT)/cover.out; diff --git a/client/admin/thriftClient.go b/client/admin/thriftClient.go index 00c6b2e7209..0884c5e03ce 100644 --- a/client/admin/thriftClient.go +++ b/client/admin/thriftClient.go @@ -25,9 +25,9 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/admin/adminserviceclient" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/admin/adminserviceclient" ) type thriftClient struct { diff --git a/client/clientfactory.go b/client/clientfactory.go index e8a41ba69a8..12f5dfa5476 100644 --- a/client/clientfactory.go +++ b/client/clientfactory.go @@ -25,10 +25,6 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/admin/adminserviceclient" - "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" - "github.com/uber/cadence/.gen/go/history/historyserviceclient" - "github.com/uber/cadence/.gen/go/matching/matchingserviceclient" "github.com/uber/cadence/client/admin" "github.com/uber/cadence/client/frontend" "github.com/uber/cadence/client/history" @@ -38,6 +34,10 @@ import ( "github.com/uber/cadence/common/membership" "github.com/uber/cadence/common/metrics" "github.com/uber/cadence/common/service/dynamicconfig" + "github.com/uber/cadence/gen/go/admin/adminserviceclient" + "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" + "github.com/uber/cadence/gen/go/history/historyserviceclient" + "github.com/uber/cadence/gen/go/matching/matchingserviceclient" ) const ( diff --git a/client/frontend/thriftClient.go b/client/frontend/thriftClient.go index 1504ce87aa6..983f2a65aaf 100644 --- a/client/frontend/thriftClient.go +++ b/client/frontend/thriftClient.go @@ -25,9 +25,9 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" ) type thriftClient struct { diff --git a/client/history/thriftClient.go b/client/history/thriftClient.go index 15fa346643e..c52cc99201f 100644 --- a/client/history/thriftClient.go +++ b/client/history/thriftClient.go @@ -25,9 +25,9 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/history/historyserviceclient" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/history/historyserviceclient" ) type thriftClient struct { diff --git a/client/matching/thriftClient.go b/client/matching/thriftClient.go index 0f172a71b8d..a43d2e2fd6c 100644 --- a/client/matching/thriftClient.go +++ b/client/matching/thriftClient.go @@ -25,9 +25,9 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/matching/matchingserviceclient" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/matching/matchingserviceclient" ) type thriftClient struct { diff --git a/cmd/tools/copyright/licensegen.go b/cmd/tools/copyright/licensegen.go index 91c1f0f2e05..7b8cd10b325 100644 --- a/cmd/tools/copyright/licensegen.go +++ b/cmd/tools/copyright/licensegen.go @@ -234,7 +234,7 @@ func hasCopyright(f *os.File) (bool, error) { } func isFileAutogenerated(path string) bool { - return strings.HasPrefix(path, ".gen") + return strings.HasPrefix(path, "gen") } func mustProcessPath(path string) bool { diff --git a/common/checksum/crc_test.go b/common/checksum/crc_test.go index aeead73a1fe..7c021a22e64 100644 --- a/common/checksum/crc_test.go +++ b/common/checksum/crc_test.go @@ -29,8 +29,8 @@ import ( "github.com/pborman/uuid" "github.com/stretchr/testify/assert" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" + "github.com/uber/cadence/gen/go/shared" ) func TestCRC32OverThrift(t *testing.T) { diff --git a/common/codec/version0Thriftrw_test.go b/common/codec/version0Thriftrw_test.go index dc5aff182f0..94a7e1218ee 100644 --- a/common/codec/version0Thriftrw_test.go +++ b/common/codec/version0Thriftrw_test.go @@ -27,7 +27,7 @@ import ( "github.com/stretchr/testify/suite" - workflow "github.com/uber/cadence/.gen/go/shared" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/convert.go b/common/convert.go index 7d0f256b306..a3356019dd9 100644 --- a/common/convert.go +++ b/common/convert.go @@ -25,7 +25,7 @@ import ( "go.uber.org/cadence/.gen/go/shared" - s "github.com/uber/cadence/.gen/go/shared" + s "github.com/uber/cadence/gen/go/shared" ) // IntPtr makes a copy and returns the pointer to an int. diff --git a/common/definition/indexedKeys.go b/common/definition/indexedKeys.go index 6eab2d9d90f..a7d7e7fd26b 100644 --- a/common/definition/indexedKeys.go +++ b/common/definition/indexedKeys.go @@ -20,7 +20,7 @@ package definition -import "github.com/uber/cadence/.gen/go/shared" +import "github.com/uber/cadence/gen/go/shared" // valid indexed fields on ES const ( diff --git a/common/domain/replication_queue.go b/common/domain/replication_queue.go index cdef089c3d8..da9bf1d14b2 100644 --- a/common/domain/replication_queue.go +++ b/common/domain/replication_queue.go @@ -30,7 +30,6 @@ import ( "sync/atomic" "time" - "github.com/uber/cadence/.gen/go/replicator" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/log" @@ -39,6 +38,7 @@ import ( "github.com/uber/cadence/common/persistence" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/replicator" ) const ( diff --git a/common/elasticsearch/defs.go b/common/elasticsearch/defs.go index 231d9ec0064..362b72c5f5c 100644 --- a/common/elasticsearch/defs.go +++ b/common/elasticsearch/defs.go @@ -20,7 +20,7 @@ package elasticsearch -import "github.com/uber/cadence/.gen/go/indexer" +import "github.com/uber/cadence/gen/go/indexer" // All legal fields allowed in elastic search index const ( diff --git a/common/elasticsearch/interfaces.go b/common/elasticsearch/interfaces.go index 102f818d147..d7c52cb299f 100644 --- a/common/elasticsearch/interfaces.go +++ b/common/elasticsearch/interfaces.go @@ -25,11 +25,11 @@ import ( "fmt" "time" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/log" "github.com/uber/cadence/common/metrics" p "github.com/uber/cadence/common/persistence" "github.com/uber/cadence/common/service/config" + workflow "github.com/uber/cadence/gen/go/shared" ) // NewGenericClient create a ES client diff --git a/common/messaging/kafka/producerImpl.go b/common/messaging/kafka/producerImpl.go index 4515375ee51..8d77484e2a3 100644 --- a/common/messaging/kafka/producerImpl.go +++ b/common/messaging/kafka/producerImpl.go @@ -26,11 +26,11 @@ import ( "github.com/Shopify/sarama" - "github.com/uber/cadence/.gen/go/indexer" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/log" "github.com/uber/cadence/common/log/tag" "github.com/uber/cadence/common/messaging" + "github.com/uber/cadence/gen/go/indexer" ) type ( diff --git a/common/persistence/cassandra/cassandraVisibilityPersistence.go b/common/persistence/cassandra/cassandraVisibilityPersistence.go index 6e825256dcc..4fb2e454847 100644 --- a/common/persistence/cassandra/cassandraVisibilityPersistence.go +++ b/common/persistence/cassandra/cassandraVisibilityPersistence.go @@ -25,7 +25,6 @@ import ( "fmt" "time" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/log" p "github.com/uber/cadence/common/persistence" @@ -34,6 +33,7 @@ import ( "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + workflow "github.com/uber/cadence/gen/go/shared" ) // Fixed domain values for now diff --git a/common/persistence/dataInterfaces.go b/common/persistence/dataInterfaces.go index 7b08251bffa..0e6cd20ba2b 100644 --- a/common/persistence/dataInterfaces.go +++ b/common/persistence/dataInterfaces.go @@ -29,11 +29,11 @@ import ( "github.com/pborman/uuid" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/checksum" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) // Domain status diff --git a/common/persistence/elasticsearch/decodeBench_test.go b/common/persistence/elasticsearch/decodeBench_test.go index 5d9ba6e0c42..56958d2f649 100644 --- a/common/persistence/elasticsearch/decodeBench_test.go +++ b/common/persistence/elasticsearch/decodeBench_test.go @@ -28,11 +28,11 @@ import ( es "github.com/uber/cadence/common/elasticsearch" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/definition" p "github.com/uber/cadence/common/persistence" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/shared" ) var ( diff --git a/common/persistence/elasticsearch/esVisibilityStore.go b/common/persistence/elasticsearch/esVisibilityStore.go index 5110dd85f02..db107161282 100644 --- a/common/persistence/elasticsearch/esVisibilityStore.go +++ b/common/persistence/elasticsearch/esVisibilityStore.go @@ -34,8 +34,6 @@ import ( "github.com/cch123/elasticsql" "github.com/valyala/fastjson" - "github.com/uber/cadence/.gen/go/indexer" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/definition" es "github.com/uber/cadence/common/elasticsearch" @@ -46,6 +44,8 @@ import ( "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/indexer" + workflow "github.com/uber/cadence/gen/go/shared" ) const ( diff --git a/common/persistence/elasticsearch/esVisibilityStore_test.go b/common/persistence/elasticsearch/esVisibilityStore_test.go index 4f721260e4c..011d24dd9b3 100644 --- a/common/persistence/elasticsearch/esVisibilityStore_test.go +++ b/common/persistence/elasticsearch/esVisibilityStore_test.go @@ -34,8 +34,6 @@ import ( "github.com/stretchr/testify/suite" "github.com/valyala/fastjson" - "github.com/uber/cadence/.gen/go/indexer" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/definition" es "github.com/uber/cadence/common/elasticsearch" @@ -47,6 +45,8 @@ import ( "github.com/uber/cadence/common/service/dynamicconfig" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/indexer" + workflow "github.com/uber/cadence/gen/go/shared" ) type ESVisibilitySuite struct { diff --git a/common/persistence/historyStore.go b/common/persistence/historyStore.go index 890e2c5ccfd..c5b6af48949 100644 --- a/common/persistence/historyStore.go +++ b/common/persistence/historyStore.go @@ -26,7 +26,6 @@ import ( "github.com/pborman/uuid" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/log" @@ -34,6 +33,7 @@ import ( "github.com/uber/cadence/common/service/dynamicconfig" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/persistence-tests/historyV2PersistenceTest.go b/common/persistence/persistence-tests/historyV2PersistenceTest.go index 3f3d44a2acf..4475ad51eb4 100644 --- a/common/persistence/persistence-tests/historyV2PersistenceTest.go +++ b/common/persistence/persistence-tests/historyV2PersistenceTest.go @@ -34,11 +34,11 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/backoff" p "github.com/uber/cadence/common/persistence" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/persistence-tests/persistenceTestBase.go b/common/persistence/persistence-tests/persistenceTestBase.go index 05139d81c68..fab4fd99160 100644 --- a/common/persistence/persistence-tests/persistenceTestBase.go +++ b/common/persistence/persistence-tests/persistenceTestBase.go @@ -32,7 +32,6 @@ import ( "github.com/stretchr/testify/suite" "github.com/uber-go/tally" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/backoff" "github.com/uber/cadence/common/cluster" @@ -47,6 +46,7 @@ import ( "github.com/uber/cadence/common/service" "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/persistenceInterface.go b/common/persistence/persistenceInterface.go index 6629ce0176d..b9881b203ec 100644 --- a/common/persistence/persistenceInterface.go +++ b/common/persistence/persistenceInterface.go @@ -26,10 +26,10 @@ import ( "fmt" "time" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/checksum" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/serialization/thrift_decoder.go b/common/persistence/serialization/thrift_decoder.go index 3088babcb78..e806a131241 100644 --- a/common/persistence/serialization/thrift_decoder.go +++ b/common/persistence/serialization/thrift_decoder.go @@ -28,7 +28,7 @@ import ( "go.uber.org/thriftrw/protocol" "go.uber.org/thriftrw/wire" - "github.com/uber/cadence/.gen/go/sqlblobs" + "github.com/uber/cadence/gen/go/sqlblobs" ) type ( diff --git a/common/persistence/serialization/thrift_mapper.go b/common/persistence/serialization/thrift_mapper.go index 762a3772224..4024d8f8cfe 100644 --- a/common/persistence/serialization/thrift_mapper.go +++ b/common/persistence/serialization/thrift_mapper.go @@ -25,10 +25,10 @@ package serialization import ( "time" - "github.com/uber/cadence/.gen/go/shared" - "github.com/uber/cadence/.gen/go/sqlblobs" "github.com/uber/cadence/common" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/shared" + "github.com/uber/cadence/gen/go/sqlblobs" ) func shardInfoToThrift(info *ShardInfo) *sqlblobs.ShardInfo { diff --git a/common/persistence/serializer.go b/common/persistence/serializer.go index dbd4e3f6ab2..f7d694ad201 100644 --- a/common/persistence/serializer.go +++ b/common/persistence/serializer.go @@ -24,13 +24,13 @@ import ( "encoding/json" "fmt" - "github.com/uber/cadence/.gen/go/history" - "github.com/uber/cadence/.gen/go/replicator" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/history" + "github.com/uber/cadence/gen/go/replicator" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/sql/sqlVisibilityStore.go b/common/persistence/sql/sqlVisibilityStore.go index 8027f4656d8..96553c75f75 100644 --- a/common/persistence/sql/sqlVisibilityStore.go +++ b/common/persistence/sql/sqlVisibilityStore.go @@ -27,7 +27,6 @@ import ( "fmt" "time" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/log" p "github.com/uber/cadence/common/persistence" @@ -35,6 +34,7 @@ import ( "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/persistence/statsComputer_test.go b/common/persistence/statsComputer_test.go index 95a22b0df39..9f0014d841a 100644 --- a/common/persistence/statsComputer_test.go +++ b/common/persistence/statsComputer_test.go @@ -26,8 +26,8 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" + workflow "github.com/uber/cadence/gen/go/shared" ) type ( diff --git a/common/reconciliation/fetcher/concrete.go b/common/reconciliation/fetcher/concrete.go index f905d72d49e..0d832b6b013 100644 --- a/common/reconciliation/fetcher/concrete.go +++ b/common/reconciliation/fetcher/concrete.go @@ -25,12 +25,12 @@ package fetcher import ( "context" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/pagination" "github.com/uber/cadence/common/persistence" "github.com/uber/cadence/common/reconciliation/entity" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/shared" ) // ConcreteExecutionIterator is used to retrieve Concrete executions. diff --git a/common/reconciliation/fetcher/concrete_test.go b/common/reconciliation/fetcher/concrete_test.go index 413287fc562..dc668623363 100644 --- a/common/reconciliation/fetcher/concrete_test.go +++ b/common/reconciliation/fetcher/concrete_test.go @@ -28,10 +28,10 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/persistence" + "github.com/uber/cadence/gen/go/shared" ) const ( diff --git a/common/types/mapper/thrift/admin.go b/common/types/mapper/thrift/admin.go index cbab1a89690..8d4d25c2e8c 100644 --- a/common/types/mapper/thrift/admin.go +++ b/common/types/mapper/thrift/admin.go @@ -23,7 +23,7 @@ package thrift import ( "github.com/uber/cadence/common/types" - "github.com/uber/cadence/.gen/go/admin" + "github.com/uber/cadence/gen/go/admin" ) // FromAddSearchAttributeRequest converts internal AddSearchAttributeRequest type to thrift diff --git a/common/types/mapper/thrift/errors.go b/common/types/mapper/thrift/errors.go index 81701686f77..87a470e5d67 100644 --- a/common/types/mapper/thrift/errors.go +++ b/common/types/mapper/thrift/errors.go @@ -21,9 +21,9 @@ package thrift import ( - "github.com/uber/cadence/.gen/go/history" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/history" + "github.com/uber/cadence/gen/go/shared" ) // FromError convert error to Thrift type if it comes as its internal equivalent diff --git a/common/types/mapper/thrift/health.go b/common/types/mapper/thrift/health.go index 1260734f619..e234eafae86 100644 --- a/common/types/mapper/thrift/health.go +++ b/common/types/mapper/thrift/health.go @@ -21,8 +21,8 @@ package thrift import ( - "github.com/uber/cadence/.gen/go/health" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/health" ) // FromHealthStatus converts internal HealthStatus type to thrift diff --git a/common/types/mapper/thrift/history.go b/common/types/mapper/thrift/history.go index 72eb666f2ad..9bf4f7be361 100644 --- a/common/types/mapper/thrift/history.go +++ b/common/types/mapper/thrift/history.go @@ -23,7 +23,7 @@ package thrift import ( "github.com/uber/cadence/common/types" - "github.com/uber/cadence/.gen/go/history" + "github.com/uber/cadence/gen/go/history" ) // FromDescribeMutableStateRequest converts internal DescribeMutableStateRequest type to thrift diff --git a/common/types/mapper/thrift/matching.go b/common/types/mapper/thrift/matching.go index 19fde03d822..341220a24b0 100644 --- a/common/types/mapper/thrift/matching.go +++ b/common/types/mapper/thrift/matching.go @@ -23,7 +23,7 @@ package thrift import ( "github.com/uber/cadence/common/types" - "github.com/uber/cadence/.gen/go/matching" + "github.com/uber/cadence/gen/go/matching" ) // FromAddActivityTaskRequest converts internal AddActivityTaskRequest type to thrift diff --git a/common/types/mapper/thrift/replicator.go b/common/types/mapper/thrift/replicator.go index 45ad008554b..d0905d007bd 100644 --- a/common/types/mapper/thrift/replicator.go +++ b/common/types/mapper/thrift/replicator.go @@ -23,7 +23,7 @@ package thrift import ( "github.com/uber/cadence/common/types" - "github.com/uber/cadence/.gen/go/replicator" + "github.com/uber/cadence/gen/go/replicator" ) // FromDLQType converts internal DLQType type to thrift diff --git a/common/types/mapper/thrift/shared.go b/common/types/mapper/thrift/shared.go index dc5450686af..bd6b0b369e8 100644 --- a/common/types/mapper/thrift/shared.go +++ b/common/types/mapper/thrift/shared.go @@ -23,7 +23,7 @@ package thrift import ( "github.com/uber/cadence/common/types" - "github.com/uber/cadence/.gen/go/shared" + "github.com/uber/cadence/gen/go/shared" ) // FromAccessDeniedError converts internal AccessDeniedError type to thrift diff --git a/common/util.go b/common/util.go index 3b91374342d..b6f4b4a08d1 100644 --- a/common/util.go +++ b/common/util.go @@ -34,12 +34,12 @@ import ( "github.com/dgryski/go-farm" "go.uber.org/yarpc/yarpcerrors" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/backoff" "github.com/uber/cadence/common/log" "github.com/uber/cadence/common/log/tag" "github.com/uber/cadence/common/metrics" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) const ( diff --git a/common/util_test.go b/common/util_test.go index 2f5748e0ff2..47922809375 100644 --- a/common/util_test.go +++ b/common/util_test.go @@ -33,8 +33,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/yarpc/yarpcerrors" - workflow "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types" + workflow "github.com/uber/cadence/gen/go/shared" ) func TestIsServiceTransientError_ContextTimeout(t *testing.T) { diff --git a/.gen/go/admin/admin.go b/gen/go/admin/admin.go similarity index 99% rename from .gen/go/admin/admin.go rename to gen/go/admin/admin.go index fa143a56e3e..dbe758f7388 100644 --- a/.gen/go/admin/admin.go +++ b/gen/go/admin/admin.go @@ -37,8 +37,8 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) type AddSearchAttributeRequest struct { @@ -3002,7 +3002,7 @@ func (v *RingInfo) IsSetMembers() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "admin", - Package: "github.com/uber/cadence/.gen/go/admin", + Package: "github.com/uber/cadence/gen/go/admin", FilePath: "admin.thrift", SHA1: "6b8899c15b18d2022df452b70fe3bf49948daafa", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/admin/adminserviceclient/client.go b/gen/go/admin/adminserviceclient/client.go similarity index 98% rename from .gen/go/admin/adminserviceclient/client.go rename to gen/go/admin/adminserviceclient/client.go index 3b7195b76c9..829d06b4eb8 100644 --- a/.gen/go/admin/adminserviceclient/client.go +++ b/gen/go/admin/adminserviceclient/client.go @@ -34,9 +34,9 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - admin "github.com/uber/cadence/.gen/go/admin" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + admin "github.com/uber/cadence/gen/go/admin" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is a client for the AdminService service. diff --git a/.gen/go/admin/adminservicefx/client.go b/gen/go/admin/adminservicefx/client.go similarity index 96% rename from .gen/go/admin/adminservicefx/client.go rename to gen/go/admin/adminservicefx/client.go index f21e3e68235..1e7d955e2a1 100644 --- a/.gen/go/admin/adminservicefx/client.go +++ b/gen/go/admin/adminservicefx/client.go @@ -30,7 +30,7 @@ import ( yarpc "go.uber.org/yarpc" thrift "go.uber.org/yarpc/encoding/thrift" - adminserviceclient "github.com/uber/cadence/.gen/go/admin/adminserviceclient" + adminserviceclient "github.com/uber/cadence/gen/go/admin/adminserviceclient" ) // Params defines the dependencies for the AdminService client. diff --git a/.gen/go/admin/adminservicefx/doc.go b/gen/go/admin/adminservicefx/doc.go similarity index 100% rename from .gen/go/admin/adminservicefx/doc.go rename to gen/go/admin/adminservicefx/doc.go diff --git a/.gen/go/admin/adminservicefx/server.go b/gen/go/admin/adminservicefx/server.go similarity index 96% rename from .gen/go/admin/adminservicefx/server.go rename to gen/go/admin/adminservicefx/server.go index 1a2ae27cb6c..b74dafe1e23 100644 --- a/.gen/go/admin/adminservicefx/server.go +++ b/gen/go/admin/adminservicefx/server.go @@ -30,7 +30,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - adminserviceserver "github.com/uber/cadence/.gen/go/admin/adminserviceserver" + adminserviceserver "github.com/uber/cadence/gen/go/admin/adminserviceserver" ) // ServerParams defines the dependencies for the AdminService server. diff --git a/.gen/go/admin/adminserviceserver/server.go b/gen/go/admin/adminserviceserver/server.go similarity index 99% rename from .gen/go/admin/adminserviceserver/server.go rename to gen/go/admin/adminserviceserver/server.go index 9760b019749..fcb62b0ce61 100644 --- a/.gen/go/admin/adminserviceserver/server.go +++ b/gen/go/admin/adminserviceserver/server.go @@ -32,9 +32,9 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - admin "github.com/uber/cadence/.gen/go/admin" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + admin "github.com/uber/cadence/gen/go/admin" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is the server-side interface for the AdminService service. diff --git a/.gen/go/admin/adminservicetest/client.go b/gen/go/admin/adminservicetest/client.go similarity index 98% rename from .gen/go/admin/adminservicetest/client.go rename to gen/go/admin/adminservicetest/client.go index 3108903ceec..ac405e4c238 100644 --- a/.gen/go/admin/adminservicetest/client.go +++ b/gen/go/admin/adminservicetest/client.go @@ -31,10 +31,10 @@ import ( gomock "github.com/golang/mock/gomock" yarpc "go.uber.org/yarpc" - admin "github.com/uber/cadence/.gen/go/admin" - adminserviceclient "github.com/uber/cadence/.gen/go/admin/adminserviceclient" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + admin "github.com/uber/cadence/gen/go/admin" + adminserviceclient "github.com/uber/cadence/gen/go/admin/adminserviceclient" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // MockClient implements a gomock-compatible mock client for service diff --git a/.gen/go/cadence/cadence.go b/gen/go/cadence/cadence.go similarity index 99% rename from .gen/go/cadence/cadence.go rename to gen/go/cadence/cadence.go index 8a009909496..bf4e40560bc 100644 --- a/.gen/go/cadence/cadence.go +++ b/gen/go/cadence/cadence.go @@ -35,13 +35,13 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "cadence", - Package: "github.com/uber/cadence/.gen/go/cadence", + Package: "github.com/uber/cadence/gen/go/cadence", FilePath: "cadence.thrift", SHA1: "4f624203d4b1260bcccc8789d989e4e98107f2c9", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/cadence/workflowserviceclient/client.go b/gen/go/cadence/workflowserviceclient/client.go similarity index 99% rename from .gen/go/cadence/workflowserviceclient/client.go rename to gen/go/cadence/workflowserviceclient/client.go index 5a7b02969d6..d8ee4fef1cc 100644 --- a/.gen/go/cadence/workflowserviceclient/client.go +++ b/gen/go/cadence/workflowserviceclient/client.go @@ -34,8 +34,8 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - cadence "github.com/uber/cadence/.gen/go/cadence" - shared "github.com/uber/cadence/.gen/go/shared" + cadence "github.com/uber/cadence/gen/go/cadence" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is a client for the WorkflowService service. diff --git a/.gen/go/cadence/workflowservicefx/client.go b/gen/go/cadence/workflowservicefx/client.go similarity index 96% rename from .gen/go/cadence/workflowservicefx/client.go rename to gen/go/cadence/workflowservicefx/client.go index fbd921cd74f..a2eda5b838f 100644 --- a/.gen/go/cadence/workflowservicefx/client.go +++ b/gen/go/cadence/workflowservicefx/client.go @@ -30,7 +30,7 @@ import ( yarpc "go.uber.org/yarpc" thrift "go.uber.org/yarpc/encoding/thrift" - workflowserviceclient "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" + workflowserviceclient "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" ) // Params defines the dependencies for the WorkflowService client. diff --git a/.gen/go/cadence/workflowservicefx/doc.go b/gen/go/cadence/workflowservicefx/doc.go similarity index 100% rename from .gen/go/cadence/workflowservicefx/doc.go rename to gen/go/cadence/workflowservicefx/doc.go diff --git a/.gen/go/cadence/workflowservicefx/server.go b/gen/go/cadence/workflowservicefx/server.go similarity index 96% rename from .gen/go/cadence/workflowservicefx/server.go rename to gen/go/cadence/workflowservicefx/server.go index 7f443551d84..c4ee5e5975c 100644 --- a/.gen/go/cadence/workflowservicefx/server.go +++ b/gen/go/cadence/workflowservicefx/server.go @@ -30,7 +30,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - workflowserviceserver "github.com/uber/cadence/.gen/go/cadence/workflowserviceserver" + workflowserviceserver "github.com/uber/cadence/gen/go/cadence/workflowserviceserver" ) // ServerParams defines the dependencies for the WorkflowService server. diff --git a/.gen/go/cadence/workflowserviceserver/server.go b/gen/go/cadence/workflowserviceserver/server.go similarity index 99% rename from .gen/go/cadence/workflowserviceserver/server.go rename to gen/go/cadence/workflowserviceserver/server.go index 340a5713e54..a9cd912dc92 100644 --- a/.gen/go/cadence/workflowserviceserver/server.go +++ b/gen/go/cadence/workflowserviceserver/server.go @@ -32,8 +32,8 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - cadence "github.com/uber/cadence/.gen/go/cadence" - shared "github.com/uber/cadence/.gen/go/shared" + cadence "github.com/uber/cadence/gen/go/cadence" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is the server-side interface for the WorkflowService service. diff --git a/.gen/go/cadence/workflowservicetest/client.go b/gen/go/cadence/workflowservicetest/client.go similarity index 99% rename from .gen/go/cadence/workflowservicetest/client.go rename to gen/go/cadence/workflowservicetest/client.go index 7aca0121c10..c570d3b1ac9 100644 --- a/.gen/go/cadence/workflowservicetest/client.go +++ b/gen/go/cadence/workflowservicetest/client.go @@ -31,8 +31,8 @@ import ( gomock "github.com/golang/mock/gomock" yarpc "go.uber.org/yarpc" - workflowserviceclient "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" - shared "github.com/uber/cadence/.gen/go/shared" + workflowserviceclient "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" + shared "github.com/uber/cadence/gen/go/shared" ) // MockClient implements a gomock-compatible mock client for service diff --git a/.gen/go/checksum/checksum.go b/gen/go/checksum/checksum.go similarity index 99% rename from .gen/go/checksum/checksum.go rename to gen/go/checksum/checksum.go index bc5208bd403..520a0e58470 100644 --- a/.gen/go/checksum/checksum.go +++ b/gen/go/checksum/checksum.go @@ -34,7 +34,7 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) type MutableStateChecksumPayload struct { @@ -1128,7 +1128,7 @@ func (v *MutableStateChecksumPayload) IsSetVersionHistories() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "checksum", - Package: "github.com/uber/cadence/.gen/go/checksum", + Package: "github.com/uber/cadence/gen/go/checksum", FilePath: "checksum.thrift", SHA1: "c3ee77b53c2e06c35a3296cfeeeadf140711ed95", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/health/health.go b/gen/go/health/health.go similarity index 99% rename from .gen/go/health/health.go rename to gen/go/health/health.go index 61bfa72bbba..4697990b727 100644 --- a/.gen/go/health/health.go +++ b/gen/go/health/health.go @@ -223,7 +223,7 @@ func (v *HealthStatus) IsSetMsg() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "health", - Package: "github.com/uber/cadence/.gen/go/health", + Package: "github.com/uber/cadence/gen/go/health", FilePath: "health.thrift", SHA1: "8d52f05c157e47bef27c86d2133e1cdb475f8024", Raw: rawIDL, diff --git a/.gen/go/health/metaclient/client.go b/gen/go/health/metaclient/client.go similarity index 98% rename from .gen/go/health/metaclient/client.go rename to gen/go/health/metaclient/client.go index 4b9adeb0670..10d9b8553e1 100644 --- a/.gen/go/health/metaclient/client.go +++ b/gen/go/health/metaclient/client.go @@ -34,7 +34,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - health "github.com/uber/cadence/.gen/go/health" + health "github.com/uber/cadence/gen/go/health" ) // Interface is a client for the Meta service. diff --git a/.gen/go/health/metafx/client.go b/gen/go/health/metafx/client.go similarity index 97% rename from .gen/go/health/metafx/client.go rename to gen/go/health/metafx/client.go index 4165bcd4b44..aec5ddd3a69 100644 --- a/.gen/go/health/metafx/client.go +++ b/gen/go/health/metafx/client.go @@ -30,7 +30,7 @@ import ( yarpc "go.uber.org/yarpc" thrift "go.uber.org/yarpc/encoding/thrift" - metaclient "github.com/uber/cadence/.gen/go/health/metaclient" + metaclient "github.com/uber/cadence/gen/go/health/metaclient" ) // Params defines the dependencies for the Meta client. diff --git a/.gen/go/health/metafx/doc.go b/gen/go/health/metafx/doc.go similarity index 100% rename from .gen/go/health/metafx/doc.go rename to gen/go/health/metafx/doc.go diff --git a/.gen/go/health/metafx/server.go b/gen/go/health/metafx/server.go similarity index 97% rename from .gen/go/health/metafx/server.go rename to gen/go/health/metafx/server.go index 391b866ea96..dc55739bab7 100644 --- a/.gen/go/health/metafx/server.go +++ b/gen/go/health/metafx/server.go @@ -30,7 +30,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - metaserver "github.com/uber/cadence/.gen/go/health/metaserver" + metaserver "github.com/uber/cadence/gen/go/health/metaserver" ) // ServerParams defines the dependencies for the Meta server. diff --git a/.gen/go/health/metaserver/server.go b/gen/go/health/metaserver/server.go similarity index 98% rename from .gen/go/health/metaserver/server.go rename to gen/go/health/metaserver/server.go index f023d98bd50..d2fa88b226e 100644 --- a/.gen/go/health/metaserver/server.go +++ b/gen/go/health/metaserver/server.go @@ -32,7 +32,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - health "github.com/uber/cadence/.gen/go/health" + health "github.com/uber/cadence/gen/go/health" ) // Interface is the server-side interface for the Meta service. diff --git a/.gen/go/health/metatest/client.go b/gen/go/health/metatest/client.go similarity index 96% rename from .gen/go/health/metatest/client.go rename to gen/go/health/metatest/client.go index 8211d10921d..8b9ccfee931 100644 --- a/.gen/go/health/metatest/client.go +++ b/gen/go/health/metatest/client.go @@ -31,8 +31,8 @@ import ( gomock "github.com/golang/mock/gomock" yarpc "go.uber.org/yarpc" - health "github.com/uber/cadence/.gen/go/health" - metaclient "github.com/uber/cadence/.gen/go/health/metaclient" + health "github.com/uber/cadence/gen/go/health" + metaclient "github.com/uber/cadence/gen/go/health/metaclient" ) // MockClient implements a gomock-compatible mock client for service diff --git a/.gen/go/history/history.go b/gen/go/history/history.go similarity index 99% rename from .gen/go/history/history.go rename to gen/go/history/history.go index 583b3a09c87..e4c8f025c0a 100644 --- a/.gen/go/history/history.go +++ b/gen/go/history/history.go @@ -37,8 +37,8 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) type DescribeMutableStateRequest struct { @@ -12824,7 +12824,7 @@ func (v *TerminateWorkflowExecutionRequest) IsSetTerminateRequest() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "history", - Package: "github.com/uber/cadence/.gen/go/history", + Package: "github.com/uber/cadence/gen/go/history", FilePath: "history.thrift", SHA1: "07f5e84818e0462394d7ebe394645b7fb601443e", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/history/historyserviceclient/client.go b/gen/go/history/historyserviceclient/client.go similarity index 99% rename from .gen/go/history/historyserviceclient/client.go rename to gen/go/history/historyserviceclient/client.go index 7498e419509..a34fd7aa6ed 100644 --- a/.gen/go/history/historyserviceclient/client.go +++ b/gen/go/history/historyserviceclient/client.go @@ -34,9 +34,9 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - history "github.com/uber/cadence/.gen/go/history" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + history "github.com/uber/cadence/gen/go/history" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is a client for the HistoryService service. diff --git a/.gen/go/history/historyservicefx/client.go b/gen/go/history/historyservicefx/client.go similarity index 96% rename from .gen/go/history/historyservicefx/client.go rename to gen/go/history/historyservicefx/client.go index 8e0477cb3a1..a943e00dc62 100644 --- a/.gen/go/history/historyservicefx/client.go +++ b/gen/go/history/historyservicefx/client.go @@ -30,7 +30,7 @@ import ( yarpc "go.uber.org/yarpc" thrift "go.uber.org/yarpc/encoding/thrift" - historyserviceclient "github.com/uber/cadence/.gen/go/history/historyserviceclient" + historyserviceclient "github.com/uber/cadence/gen/go/history/historyserviceclient" ) // Params defines the dependencies for the HistoryService client. diff --git a/.gen/go/history/historyservicefx/doc.go b/gen/go/history/historyservicefx/doc.go similarity index 100% rename from .gen/go/history/historyservicefx/doc.go rename to gen/go/history/historyservicefx/doc.go diff --git a/.gen/go/history/historyservicefx/server.go b/gen/go/history/historyservicefx/server.go similarity index 96% rename from .gen/go/history/historyservicefx/server.go rename to gen/go/history/historyservicefx/server.go index 26f92e3c191..149ed812ad5 100644 --- a/.gen/go/history/historyservicefx/server.go +++ b/gen/go/history/historyservicefx/server.go @@ -30,7 +30,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - historyserviceserver "github.com/uber/cadence/.gen/go/history/historyserviceserver" + historyserviceserver "github.com/uber/cadence/gen/go/history/historyserviceserver" ) // ServerParams defines the dependencies for the HistoryService server. diff --git a/.gen/go/history/historyserviceserver/server.go b/gen/go/history/historyserviceserver/server.go similarity index 99% rename from .gen/go/history/historyserviceserver/server.go rename to gen/go/history/historyserviceserver/server.go index e21c50b6c95..a9e28a9b10e 100644 --- a/.gen/go/history/historyserviceserver/server.go +++ b/gen/go/history/historyserviceserver/server.go @@ -32,9 +32,9 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - history "github.com/uber/cadence/.gen/go/history" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + history "github.com/uber/cadence/gen/go/history" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is the server-side interface for the HistoryService service. diff --git a/.gen/go/history/historyservicetest/client.go b/gen/go/history/historyservicetest/client.go similarity index 99% rename from .gen/go/history/historyservicetest/client.go rename to gen/go/history/historyservicetest/client.go index 5e74a77799a..507390ebc9c 100644 --- a/.gen/go/history/historyservicetest/client.go +++ b/gen/go/history/historyservicetest/client.go @@ -31,10 +31,10 @@ import ( gomock "github.com/golang/mock/gomock" yarpc "go.uber.org/yarpc" - history "github.com/uber/cadence/.gen/go/history" - historyserviceclient "github.com/uber/cadence/.gen/go/history/historyserviceclient" - replicator "github.com/uber/cadence/.gen/go/replicator" - shared "github.com/uber/cadence/.gen/go/shared" + history "github.com/uber/cadence/gen/go/history" + historyserviceclient "github.com/uber/cadence/gen/go/history/historyserviceclient" + replicator "github.com/uber/cadence/gen/go/replicator" + shared "github.com/uber/cadence/gen/go/shared" ) // MockClient implements a gomock-compatible mock client for service diff --git a/.gen/go/indexer/indexer.go b/gen/go/indexer/indexer.go similarity index 99% rename from .gen/go/indexer/indexer.go rename to gen/go/indexer/indexer.go index d54544ff0dc..0047c1379c9 100644 --- a/.gen/go/indexer/indexer.go +++ b/gen/go/indexer/indexer.go @@ -39,7 +39,7 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) type Field struct { @@ -1243,7 +1243,7 @@ func (v *MessageType) UnmarshalJSON(text []byte) error { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "indexer", - Package: "github.com/uber/cadence/.gen/go/indexer", + Package: "github.com/uber/cadence/gen/go/indexer", FilePath: "indexer.thrift", SHA1: "464fff1b44654c3f41da6b7a95de46593a9776d6", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/matching/matching.go b/gen/go/matching/matching.go similarity index 99% rename from .gen/go/matching/matching.go rename to gen/go/matching/matching.go index 7273b4a16cb..9585fc4f691 100644 --- a/.gen/go/matching/matching.go +++ b/gen/go/matching/matching.go @@ -40,7 +40,7 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) type AddActivityTaskRequest struct { @@ -3789,7 +3789,7 @@ func (v *TaskSource) UnmarshalJSON(text []byte) error { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "matching", - Package: "github.com/uber/cadence/.gen/go/matching", + Package: "github.com/uber/cadence/gen/go/matching", FilePath: "matching.thrift", SHA1: "561cdf2d3cb3071e96c5f238d5f96f999dfe712d", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/matching/matchingserviceclient/client.go b/gen/go/matching/matchingserviceclient/client.go similarity index 98% rename from .gen/go/matching/matchingserviceclient/client.go rename to gen/go/matching/matchingserviceclient/client.go index 6804a290a64..caca4d12247 100644 --- a/.gen/go/matching/matchingserviceclient/client.go +++ b/gen/go/matching/matchingserviceclient/client.go @@ -34,8 +34,8 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - matching "github.com/uber/cadence/.gen/go/matching" - shared "github.com/uber/cadence/.gen/go/shared" + matching "github.com/uber/cadence/gen/go/matching" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is a client for the MatchingService service. diff --git a/.gen/go/matching/matchingservicefx/client.go b/gen/go/matching/matchingservicefx/client.go similarity index 96% rename from .gen/go/matching/matchingservicefx/client.go rename to gen/go/matching/matchingservicefx/client.go index 06a0b96760a..4a0b9a88c01 100644 --- a/.gen/go/matching/matchingservicefx/client.go +++ b/gen/go/matching/matchingservicefx/client.go @@ -30,7 +30,7 @@ import ( yarpc "go.uber.org/yarpc" thrift "go.uber.org/yarpc/encoding/thrift" - matchingserviceclient "github.com/uber/cadence/.gen/go/matching/matchingserviceclient" + matchingserviceclient "github.com/uber/cadence/gen/go/matching/matchingserviceclient" ) // Params defines the dependencies for the MatchingService client. diff --git a/.gen/go/matching/matchingservicefx/doc.go b/gen/go/matching/matchingservicefx/doc.go similarity index 100% rename from .gen/go/matching/matchingservicefx/doc.go rename to gen/go/matching/matchingservicefx/doc.go diff --git a/.gen/go/matching/matchingservicefx/server.go b/gen/go/matching/matchingservicefx/server.go similarity index 96% rename from .gen/go/matching/matchingservicefx/server.go rename to gen/go/matching/matchingservicefx/server.go index a231fe09c7a..97156edee95 100644 --- a/.gen/go/matching/matchingservicefx/server.go +++ b/gen/go/matching/matchingservicefx/server.go @@ -30,7 +30,7 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - matchingserviceserver "github.com/uber/cadence/.gen/go/matching/matchingserviceserver" + matchingserviceserver "github.com/uber/cadence/gen/go/matching/matchingserviceserver" ) // ServerParams defines the dependencies for the MatchingService server. diff --git a/.gen/go/matching/matchingserviceserver/server.go b/gen/go/matching/matchingserviceserver/server.go similarity index 99% rename from .gen/go/matching/matchingserviceserver/server.go rename to gen/go/matching/matchingserviceserver/server.go index d4884eb3daa..b80418cf728 100644 --- a/.gen/go/matching/matchingserviceserver/server.go +++ b/gen/go/matching/matchingserviceserver/server.go @@ -32,8 +32,8 @@ import ( transport "go.uber.org/yarpc/api/transport" thrift "go.uber.org/yarpc/encoding/thrift" - matching "github.com/uber/cadence/.gen/go/matching" - shared "github.com/uber/cadence/.gen/go/shared" + matching "github.com/uber/cadence/gen/go/matching" + shared "github.com/uber/cadence/gen/go/shared" ) // Interface is the server-side interface for the MatchingService service. diff --git a/.gen/go/matching/matchingservicetest/client.go b/gen/go/matching/matchingservicetest/client.go similarity index 98% rename from .gen/go/matching/matchingservicetest/client.go rename to gen/go/matching/matchingservicetest/client.go index 577e722a959..4c3b852a1c7 100644 --- a/.gen/go/matching/matchingservicetest/client.go +++ b/gen/go/matching/matchingservicetest/client.go @@ -31,9 +31,9 @@ import ( gomock "github.com/golang/mock/gomock" yarpc "go.uber.org/yarpc" - matching "github.com/uber/cadence/.gen/go/matching" - matchingserviceclient "github.com/uber/cadence/.gen/go/matching/matchingserviceclient" - shared "github.com/uber/cadence/.gen/go/shared" + matching "github.com/uber/cadence/gen/go/matching" + matchingserviceclient "github.com/uber/cadence/gen/go/matching/matchingserviceclient" + shared "github.com/uber/cadence/gen/go/shared" ) // MockClient implements a gomock-compatible mock client for service diff --git a/.gen/go/replicator/replicator.go b/gen/go/replicator/replicator.go similarity index 99% rename from .gen/go/replicator/replicator.go rename to gen/go/replicator/replicator.go index d664058e795..beca948594a 100644 --- a/.gen/go/replicator/replicator.go +++ b/gen/go/replicator/replicator.go @@ -39,7 +39,7 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) type DLQType int32 @@ -7349,7 +7349,7 @@ func (v *SyncShardStatusTaskAttributes) IsSetTimestamp() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "replicator", - Package: "github.com/uber/cadence/.gen/go/replicator", + Package: "github.com/uber/cadence/gen/go/replicator", FilePath: "replicator.thrift", SHA1: "f3cf74d03a9d51e306e6faf89a07466feaec9846", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/go/shared/shared.go b/gen/go/shared/shared.go similarity index 99% rename from .gen/go/shared/shared.go rename to gen/go/shared/shared.go index a9b846bbf38..97e17e167e1 100644 --- a/.gen/go/shared/shared.go +++ b/gen/go/shared/shared.go @@ -61231,7 +61231,7 @@ func (v *WorkflowTypeFilter) IsSetName() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "shared", - Package: "github.com/uber/cadence/.gen/go/shared", + Package: "github.com/uber/cadence/gen/go/shared", FilePath: "shared.thrift", SHA1: "5f3b0a0862a92e7425a2a86d1602c4a76927cb86", Raw: rawIDL, diff --git a/.gen/go/sqlblobs/sqlblobs.go b/gen/go/sqlblobs/sqlblobs.go similarity index 99% rename from .gen/go/sqlblobs/sqlblobs.go rename to gen/go/sqlblobs/sqlblobs.go index ded452569e8..0dbd0e1d562 100644 --- a/.gen/go/sqlblobs/sqlblobs.go +++ b/gen/go/sqlblobs/sqlblobs.go @@ -36,7 +36,7 @@ import ( wire "go.uber.org/thriftrw/wire" zapcore "go.uber.org/zap/zapcore" - shared "github.com/uber/cadence/.gen/go/shared" + shared "github.com/uber/cadence/gen/go/shared" ) type ActivityInfo struct { @@ -10605,7 +10605,7 @@ func (v *WorkflowExecutionInfo) IsSetVersionHistoriesEncoding() bool { // ThriftModule represents the IDL file used to generate this package. var ThriftModule = &thriftreflect.ThriftModule{ Name: "sqlblobs", - Package: "github.com/uber/cadence/.gen/go/sqlblobs", + Package: "github.com/uber/cadence/gen/go/sqlblobs", FilePath: "sqlblobs.thrift", SHA1: "4bb54a8f70498f0bbd23c2801026c485e798c7b7", Includes: []*thriftreflect.ThriftModule{ diff --git a/.gen/proto/admin/v1/service.pb.go b/gen/proto/admin/v1/service.pb.go similarity index 99% rename from .gen/proto/admin/v1/service.pb.go rename to gen/proto/admin/v1/service.pb.go index a287146e449..13966a3e3ae 100644 --- a/.gen/proto/admin/v1/service.pb.go +++ b/gen/proto/admin/v1/service.pb.go @@ -35,8 +35,8 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - v1 "github.com/uber/cadence/.gen/proto/api/v1" - v11 "github.com/uber/cadence/.gen/proto/shared/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" + v11 "github.com/uber/cadence/gen/proto/shared/v1" ) const ( @@ -2576,11 +2576,11 @@ var file_uber_cadence_admin_v1_service_proto_rawDesc = []byte{ 0x35, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/admin/v1/service_grpc.pb.go b/gen/proto/admin/v1/service_grpc.pb.go similarity index 100% rename from .gen/proto/admin/v1/service_grpc.pb.go rename to gen/proto/admin/v1/service_grpc.pb.go diff --git a/.gen/proto/api/v1/common.pb.go b/gen/proto/api/v1/common.pb.go similarity index 99% rename from .gen/proto/api/v1/common.pb.go rename to gen/proto/api/v1/common.pb.go index 8d48f99b07c..a99f8bc6cd5 100644 --- a/.gen/proto/api/v1/common.pb.go +++ b/gen/proto/api/v1/common.pb.go @@ -860,13 +860,13 @@ var file_uber_cadence_api_v1_common_proto_rawDesc = []byte{ 0x54, 0x52, 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, - 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10, 0x03, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, + 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10, 0x03, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, - 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/decision.pb.go b/gen/proto/api/v1/decision.pb.go similarity index 99% rename from .gen/proto/api/v1/decision.pb.go rename to gen/proto/api/v1/decision.pb.go index 0a53928d44b..2ea473f3dd3 100644 --- a/.gen/proto/api/v1/decision.pb.go +++ b/gen/proto/api/v1/decision.pb.go @@ -1701,12 +1701,12 @@ var file_uber_cadence_api_v1_decision_proto_rawDesc = []byte{ 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, - 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, + 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, - 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/domain.pb.go b/gen/proto/api/v1/domain.pb.go similarity index 98% rename from .gen/proto/api/v1/domain.pb.go rename to gen/proto/api/v1/domain.pb.go index f23b7afc995..6d2db398ed8 100644 --- a/.gen/proto/api/v1/domain.pb.go +++ b/gen/proto/api/v1/domain.pb.go @@ -583,13 +583,13 @@ var file_uber_cadence_api_v1_domain_proto_rawDesc = []byte{ 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x41, 0x4c, 0x5f, 0x53, 0x54, - 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x42, 0x56, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, - 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, + 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/error.pb.go b/gen/proto/api/v1/error.pb.go similarity index 99% rename from .gen/proto/api/v1/error.pb.go rename to gen/proto/api/v1/error.pb.go index df88d781eab..491541286b6 100644 --- a/.gen/proto/api/v1/error.pb.go +++ b/gen/proto/api/v1/error.pb.go @@ -796,13 +796,12 @@ var file_uber_cadence_api_v1_error_proto_rawDesc = []byte{ 0x6f, 0x72, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x75, 0x73, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x53, 0x68, 0x61, 0x72, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4c, 0x6f, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, + 0x72, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, - 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, - 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/history.pb.go b/gen/proto/api/v1/history.pb.go similarity index 99% rename from .gen/proto/api/v1/history.pb.go rename to gen/proto/api/v1/history.pb.go index e16dd2cb0a2..71d4813102b 100644 --- a/.gen/proto/api/v1/history.pb.go +++ b/gen/proto/api/v1/history.pb.go @@ -5630,13 +5630,13 @@ var file_uber_cadence_api_v1_history_proto_rawDesc = []byte{ 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, - 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, + 0x45, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, - 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, + 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/query.pb.go b/gen/proto/api/v1/query.pb.go similarity index 98% rename from .gen/proto/api/v1/query.pb.go rename to gen/proto/api/v1/query.pb.go index 1fd9d051e35..6cacffcc797 100644 --- a/.gen/proto/api/v1/query.pb.go +++ b/gen/proto/api/v1/query.pb.go @@ -422,13 +422,13 @@ var file_uber_cadence_api_v1_query_proto_rawDesc = []byte{ 0x43, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x51, 0x55, 0x45, 0x52, 0x59, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x53, - 0x54, 0x52, 0x4f, 0x4e, 0x47, 0x10, 0x02, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, + 0x54, 0x52, 0x4f, 0x4e, 0x47, 0x10, 0x02, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, - 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_domain.pb.go b/gen/proto/api/v1/service_domain.pb.go similarity index 99% rename from .gen/proto/api/v1/service_domain.pb.go rename to gen/proto/api/v1/service_domain.pb.go index c75f55318ee..0c7ee573462 100644 --- a/.gen/proto/api/v1/service_domain.pb.go +++ b/gen/proto/api/v1/service_domain.pb.go @@ -977,12 +977,12 @@ var file_uber_cadence_api_v1_service_domain_proto_rawDesc = []byte{ 0x74, 0x1a, 0x2c, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, + 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, - 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_domain_grpc.pb.go b/gen/proto/api/v1/service_domain_grpc.pb.go similarity index 100% rename from .gen/proto/api/v1/service_domain_grpc.pb.go rename to gen/proto/api/v1/service_domain_grpc.pb.go diff --git a/.gen/proto/api/v1/service_meta.pb.go b/gen/proto/api/v1/service_meta.pb.go similarity index 96% rename from .gen/proto/api/v1/service_meta.pb.go rename to gen/proto/api/v1/service_meta.pb.go index 27ec58eeb39..76fcc2f3f54 100644 --- a/.gen/proto/api/v1/service_meta.pb.go +++ b/gen/proto/api/v1/service_meta.pb.go @@ -156,13 +156,13 @@ var file_uber_cadence_api_v1_service_meta_proto_rawDesc = []byte{ 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, - 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, + 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_meta_grpc.pb.go b/gen/proto/api/v1/service_meta_grpc.pb.go similarity index 100% rename from .gen/proto/api/v1/service_meta_grpc.pb.go rename to gen/proto/api/v1/service_meta_grpc.pb.go diff --git a/.gen/proto/api/v1/service_visibility.pb.go b/gen/proto/api/v1/service_visibility.pb.go similarity index 99% rename from .gen/proto/api/v1/service_visibility.pb.go rename to gen/proto/api/v1/service_visibility.pb.go index 25d7a3967d6..1aa7f1d3ee1 100644 --- a/.gen/proto/api/v1/service_visibility.pb.go +++ b/gen/proto/api/v1/service_visibility.pb.go @@ -1190,13 +1190,13 @@ var file_uber_cadence_api_v1_service_visibility_proto_rawDesc = []byte{ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, - 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_visibility_grpc.pb.go b/gen/proto/api/v1/service_visibility_grpc.pb.go similarity index 100% rename from .gen/proto/api/v1/service_visibility_grpc.pb.go rename to gen/proto/api/v1/service_visibility_grpc.pb.go diff --git a/.gen/proto/api/v1/service_worker.pb.go b/gen/proto/api/v1/service_worker.pb.go similarity index 99% rename from .gen/proto/api/v1/service_worker.pb.go rename to gen/proto/api/v1/service_worker.pb.go index 01b11441aca..31d7214e69c 100644 --- a/.gen/proto/api/v1/service_worker.pb.go +++ b/gen/proto/api/v1/service_worker.pb.go @@ -2446,12 +2446,12 @@ var file_uber_cadence_api_v1_service_worker_proto_rawDesc = []byte{ 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, + 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, - 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_worker_grpc.pb.go b/gen/proto/api/v1/service_worker_grpc.pb.go similarity index 100% rename from .gen/proto/api/v1/service_worker_grpc.pb.go rename to gen/proto/api/v1/service_worker_grpc.pb.go diff --git a/.gen/proto/api/v1/service_workflow.pb.go b/gen/proto/api/v1/service_workflow.pb.go similarity index 99% rename from .gen/proto/api/v1/service_workflow.pb.go rename to gen/proto/api/v1/service_workflow.pb.go index 155359c1e22..b59225301d4 100644 --- a/.gen/proto/api/v1/service_workflow.pb.go +++ b/gen/proto/api/v1/service_workflow.pb.go @@ -2041,13 +2041,13 @@ var file_uber_cadence_api_v1_service_workflow_proto_rawDesc = []byte{ 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, + 0x6e, 0x73, 0x65, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, - 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, + 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, - 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/service_workflow_grpc.pb.go b/gen/proto/api/v1/service_workflow_grpc.pb.go similarity index 100% rename from .gen/proto/api/v1/service_workflow_grpc.pb.go rename to gen/proto/api/v1/service_workflow_grpc.pb.go diff --git a/.gen/proto/api/v1/tasklist.pb.go b/gen/proto/api/v1/tasklist.pb.go similarity index 98% rename from .gen/proto/api/v1/tasklist.pb.go rename to gen/proto/api/v1/tasklist.pb.go index 9166187b44b..0894a41f16b 100644 --- a/.gen/proto/api/v1/tasklist.pb.go +++ b/gen/proto/api/v1/tasklist.pb.go @@ -638,13 +638,13 @@ var file_uber_cadence_api_v1_tasklist_proto_rawDesc = []byte{ 0x41, 0x53, 0x4b, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, - 0x49, 0x54, 0x59, 0x10, 0x02, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, + 0x49, 0x54, 0x59, 0x10, 0x02, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, - 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, + 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, - 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/visibility.pb.go b/gen/proto/api/v1/visibility.pb.go similarity index 98% rename from .gen/proto/api/v1/visibility.pb.go rename to gen/proto/api/v1/visibility.pb.go index d3242a6e198..715ce076aa9 100644 --- a/.gen/proto/api/v1/visibility.pb.go +++ b/gen/proto/api/v1/visibility.pb.go @@ -360,13 +360,13 @@ var file_uber_cadence_api_v1_visibility_proto_rawDesc = []byte{ 0x45, 0x58, 0x45, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x45, 0x44, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x41, 0x54, - 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x06, 0x42, 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, + 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x06, 0x42, 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, + 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, - 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/api/v1/workflow.pb.go b/gen/proto/api/v1/workflow.pb.go similarity index 99% rename from .gen/proto/api/v1/workflow.pb.go rename to gen/proto/api/v1/workflow.pb.go index 3bc9f55426c..998feff65c4 100644 --- a/.gen/proto/api/v1/workflow.pb.go +++ b/gen/proto/api/v1/workflow.pb.go @@ -1820,12 +1820,12 @@ var file_uber_cadence_api_v1_workflow_proto_rawDesc = []byte{ 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x42, - 0x56, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, + 0x55, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x41, 0x70, 0x69, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, - 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/dependencies/gogoproto.pb.go b/gen/proto/dependencies/gogoproto.pb.go similarity index 100% rename from .gen/proto/dependencies/gogoproto.pb.go rename to gen/proto/dependencies/gogoproto.pb.go diff --git a/.gen/proto/gogo.pb.go b/gen/proto/gogo.pb.go similarity index 100% rename from .gen/proto/gogo.pb.go rename to gen/proto/gogo.pb.go diff --git a/.gen/proto/history/v1/service.pb.go b/gen/proto/history/v1/service.pb.go similarity index 99% rename from .gen/proto/history/v1/service.pb.go rename to gen/proto/history/v1/service.pb.go index e8c262166ad..0c99d1a59c3 100644 --- a/.gen/proto/history/v1/service.pb.go +++ b/gen/proto/history/v1/service.pb.go @@ -36,8 +36,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - v1 "github.com/uber/cadence/.gen/proto/api/v1" - v11 "github.com/uber/cadence/.gen/proto/shared/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" + v11 "github.com/uber/cadence/gen/proto/shared/v1" ) const ( @@ -6151,11 +6151,11 @@ var file_uber_cadence_history_v1_service_proto_rawDesc = []byte{ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x75, 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x46, 0x61, 0x69, 0x6c, 0x6f, 0x76, 0x65, 0x72, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x39, 0x5a, - 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, - 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x68, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6b, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x38, 0x5a, + 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, + 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x68, 0x69, + 0x73, 0x74, 0x6f, 0x72, 0x79, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/history/v1/service_grpc.pb.go b/gen/proto/history/v1/service_grpc.pb.go similarity index 100% rename from .gen/proto/history/v1/service_grpc.pb.go rename to gen/proto/history/v1/service_grpc.pb.go diff --git a/.gen/proto/indexer/v1/messages.pb.go b/gen/proto/indexer/v1/messages.pb.go similarity index 97% rename from .gen/proto/indexer/v1/messages.pb.go rename to gen/proto/indexer/v1/messages.pb.go index 83aa88d930a..c2c8e88bd66 100644 --- a/.gen/proto/indexer/v1/messages.pb.go +++ b/gen/proto/indexer/v1/messages.pb.go @@ -34,7 +34,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - v1 "github.com/uber/cadence/.gen/proto/api/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" ) const ( @@ -332,11 +332,11 @@ var file_uber_cadence_indexer_v1_messages_proto_rawDesc = []byte{ 0x49, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x44, 0x45, 0x58, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, - 0x45, 0x54, 0x45, 0x10, 0x02, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x45, 0x54, 0x45, 0x10, 0x02, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, - 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x72, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x72, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/matching/v1/service.pb.go b/gen/proto/matching/v1/service.pb.go similarity index 99% rename from .gen/proto/matching/v1/service.pb.go rename to gen/proto/matching/v1/service.pb.go index 51dfe9b23ab..38004dabcf1 100644 --- a/.gen/proto/matching/v1/service.pb.go +++ b/gen/proto/matching/v1/service.pb.go @@ -36,8 +36,8 @@ import ( durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - v1 "github.com/uber/cadence/.gen/proto/api/v1" - v11 "github.com/uber/cadence/.gen/proto/shared/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" + v11 "github.com/uber/cadence/gen/proto/shared/v1" ) const ( @@ -1794,11 +1794,11 @@ var file_uber_cadence_matching_v1_service_proto_rawDesc = []byte{ 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, - 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, - 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x73, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, + 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, + 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/matching/v1/service_grpc.pb.go b/gen/proto/matching/v1/service_grpc.pb.go similarity index 100% rename from .gen/proto/matching/v1/service_grpc.pb.go rename to gen/proto/matching/v1/service_grpc.pb.go diff --git a/.gen/proto/message.pb.go b/gen/proto/message.pb.go similarity index 100% rename from .gen/proto/message.pb.go rename to gen/proto/message.pb.go diff --git a/.gen/proto/shared/v1/cluster.pb.go b/gen/proto/shared/v1/cluster.pb.go similarity index 98% rename from .gen/proto/shared/v1/cluster.pb.go rename to gen/proto/shared/v1/cluster.pb.go index 8bd9db00fe6..a9c44af8711 100644 --- a/.gen/proto/shared/v1/cluster.pb.go +++ b/gen/proto/shared/v1/cluster.pb.go @@ -312,11 +312,11 @@ var file_uber_cadence_shared_v1_cluster_proto_rawDesc = []byte{ 0x6d, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x49, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x42, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, - 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, - 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x6d, 0x65, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, + 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/.gen/proto/shared/v1/history.pb.go b/gen/proto/shared/v1/history.pb.go similarity index 97% rename from .gen/proto/shared/v1/history.pb.go rename to gen/proto/shared/v1/history.pb.go index aa91cacf6f7..95e20764eaf 100644 --- a/.gen/proto/shared/v1/history.pb.go +++ b/gen/proto/shared/v1/history.pb.go @@ -34,7 +34,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - v1 "github.com/uber/cadence/.gen/proto/api/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" ) const ( @@ -313,10 +313,10 @@ var file_uber_cadence_shared_v1_history_proto_rawDesc = []byte{ 0x62, 0x65, 0x72, 0x2e, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x42, - 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, - 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, - 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, + 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/shared/v1/queue.pb.go b/gen/proto/shared/v1/queue.pb.go similarity index 94% rename from .gen/proto/shared/v1/queue.pb.go rename to gen/proto/shared/v1/queue.pb.go index b90593e591f..280875452e8 100644 --- a/.gen/proto/shared/v1/queue.pb.go +++ b/gen/proto/shared/v1/queue.pb.go @@ -111,11 +111,11 @@ var file_uber_cadence_shared_v1_queue_proto_rawDesc = []byte{ 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x52, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, - 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/shared/v1/replication.pb.go b/gen/proto/shared/v1/replication.pb.go similarity index 99% rename from .gen/proto/shared/v1/replication.pb.go rename to gen/proto/shared/v1/replication.pb.go index b4ecbb2de93..6cdeb4fd7b9 100644 --- a/.gen/proto/shared/v1/replication.pb.go +++ b/gen/proto/shared/v1/replication.pb.go @@ -35,7 +35,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" - v1 "github.com/uber/cadence/.gen/proto/api/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" ) const ( @@ -1416,11 +1416,11 @@ var file_uber_cadence_shared_v1_replication_proto_rawDesc = []byte{ 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x4c, 0x51, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x44, 0x4c, 0x51, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x4d, 0x41, - 0x49, 0x4e, 0x10, 0x02, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x49, 0x4e, 0x10, 0x02, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, - 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, - 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/shared/v1/tasklist.pb.go b/gen/proto/shared/v1/tasklist.pb.go similarity index 95% rename from .gen/proto/shared/v1/tasklist.pb.go rename to gen/proto/shared/v1/tasklist.pb.go index 2facdfc2463..17c831fffe0 100644 --- a/.gen/proto/shared/v1/tasklist.pb.go +++ b/gen/proto/shared/v1/tasklist.pb.go @@ -110,11 +110,11 @@ var file_uber_cadence_shared_v1_tasklist_proto_rawDesc = []byte{ 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x52, 0x59, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x44, - 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x4c, 0x4f, 0x47, 0x10, 0x02, 0x42, 0x37, 0x5a, 0x35, 0x67, + 0x42, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x4c, 0x4f, 0x47, 0x10, 0x02, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, - 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, - 0x65, 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, + 0x64, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/.gen/proto/shared/v1/workflow.pb.go b/gen/proto/shared/v1/workflow.pb.go similarity index 96% rename from .gen/proto/shared/v1/workflow.pb.go rename to gen/proto/shared/v1/workflow.pb.go index 64d9fea6e8a..27bd66e36be 100644 --- a/.gen/proto/shared/v1/workflow.pb.go +++ b/gen/proto/shared/v1/workflow.pb.go @@ -34,7 +34,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - v1 "github.com/uber/cadence/.gen/proto/api/v1" + v1 "github.com/uber/cadence/gen/proto/api/v1" ) const ( @@ -215,11 +215,11 @@ var file_uber_cadence_shared_v1_workflow_proto_rawDesc = []byte{ 0x12, 0x17, 0x0a, 0x13, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x56, 0x4f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x57, 0x4f, 0x52, 0x4b, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x52, 0x52, - 0x55, 0x50, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x55, 0x50, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x64, 0x65, 0x6e, - 0x63, 0x65, 0x2f, 0x2e, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x76, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/host/client.go b/host/client.go index 45a4ee28fd6..6e2cba37550 100644 --- a/host/client.go +++ b/host/client.go @@ -23,13 +23,13 @@ package host import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/admin/adminserviceclient" - "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" - "github.com/uber/cadence/.gen/go/history/historyserviceclient" "github.com/uber/cadence/client/admin" "github.com/uber/cadence/client/frontend" "github.com/uber/cadence/client/history" "github.com/uber/cadence/common" + "github.com/uber/cadence/gen/go/admin/adminserviceclient" + "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" + "github.com/uber/cadence/gen/go/history/historyserviceclient" ) // AdminClient is the interface exposed by admin service client diff --git a/host/xdc/integration_failover_test.go b/host/xdc/integration_failover_test.go index 306085d2fad..1d6e5abc03b 100644 --- a/host/xdc/integration_failover_test.go +++ b/host/xdc/integration_failover_test.go @@ -158,7 +158,7 @@ func (s *integrationClustersTestSuite) TestDomainFailover() { // update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -410,7 +410,7 @@ func (s *integrationClustersTestSuite) TestSimpleWorkflowFailover() { // update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -634,7 +634,7 @@ func (s *integrationClustersTestSuite) TestStickyDecisionFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -665,7 +665,7 @@ func (s *integrationClustersTestSuite) TestStickyDecisionFailover() { // Update domain to fail over back updateReq = &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[0]), } updateResp, err = client2.UpdateDomain(createContext(), updateReq) @@ -775,7 +775,7 @@ func (s *integrationClustersTestSuite) TestStartWorkflowExecution_Failover_Workf // update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -918,7 +918,7 @@ func (s *integrationClustersTestSuite) TestTerminateFailover() { // update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1108,7 +1108,7 @@ func (s *integrationClustersTestSuite) TestContinueAsNewFailover() { // update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1246,7 +1246,7 @@ func (s *integrationClustersTestSuite) TestSignalFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1462,7 +1462,7 @@ func (s *integrationClustersTestSuite) TestUserTimerFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1635,7 +1635,7 @@ func (s *integrationClustersTestSuite) TestActivityHeartbeatFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1790,7 +1790,7 @@ func (s *integrationClustersTestSuite) TestTransientDecisionFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1881,7 +1881,7 @@ func (s *integrationClustersTestSuite) TestCronWorkflowFailover() { // Failover during backoff // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) @@ -1988,7 +1988,7 @@ func (s *integrationClustersTestSuite) TestWorkflowRetryFailover() { // Update domain to fail over updateReq := &types.UpdateDomainRequest{ - Name: domainName, + Name: domainName, ActiveClusterName: common.StringPtr(clusterName[1]), } updateResp, err := client1.UpdateDomain(createContext(), updateReq) diff --git a/proto/internal/uber/cadence/admin/v1/service.proto b/proto/internal/uber/cadence/admin/v1/service.proto index eb9354721f2..fa28248e319 100644 --- a/proto/internal/uber/cadence/admin/v1/service.proto +++ b/proto/internal/uber/cadence/admin/v1/service.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.admin.v1; -option go_package = "github.com/uber/cadence/.gen/proto/admin/v1;adminv1"; +option go_package = "github.com/uber/cadence/gen/proto/admin/v1;adminv1"; import "google/protobuf/timestamp.proto"; import "uber/cadence/api/v1/common.proto"; diff --git a/proto/internal/uber/cadence/history/v1/service.proto b/proto/internal/uber/cadence/history/v1/service.proto index 28a96ea5dc3..5be6e34f1e9 100644 --- a/proto/internal/uber/cadence/history/v1/service.proto +++ b/proto/internal/uber/cadence/history/v1/service.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.history.v1; -option go_package = "github.com/uber/cadence/.gen/proto/history/v1;historyv1"; +option go_package = "github.com/uber/cadence/gen/proto/history/v1;historyv1"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/internal/uber/cadence/indexer/v1/messages.proto b/proto/internal/uber/cadence/indexer/v1/messages.proto index 9d4f0a2ebea..c98226ee061 100644 --- a/proto/internal/uber/cadence/indexer/v1/messages.proto +++ b/proto/internal/uber/cadence/indexer/v1/messages.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.indexer.v1; -option go_package = "github.com/uber/cadence/.gen/proto/indexer/v1;indexerv1"; +option go_package = "github.com/uber/cadence/gen/proto/indexer/v1;indexerv1"; import "uber/cadence/api/v1/common.proto"; diff --git a/proto/internal/uber/cadence/matching/v1/service.proto b/proto/internal/uber/cadence/matching/v1/service.proto index c5d80a69037..9c8fce86dca 100644 --- a/proto/internal/uber/cadence/matching/v1/service.proto +++ b/proto/internal/uber/cadence/matching/v1/service.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.matching.v1; -option go_package = "github.com/uber/cadence/.gen/proto/matching/v1;matchingv1"; +option go_package = "github.com/uber/cadence/gen/proto/matching/v1;matchingv1"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/internal/uber/cadence/shared/v1/cluster.proto b/proto/internal/uber/cadence/shared/v1/cluster.proto index a28221ef9ae..844ce9e16ef 100644 --- a/proto/internal/uber/cadence/shared/v1/cluster.proto +++ b/proto/internal/uber/cadence/shared/v1/cluster.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; message HostInfo { string identity = 1; diff --git a/proto/internal/uber/cadence/shared/v1/history.proto b/proto/internal/uber/cadence/shared/v1/history.proto index a6e0c7a75aa..75606ecf06e 100644 --- a/proto/internal/uber/cadence/shared/v1/history.proto +++ b/proto/internal/uber/cadence/shared/v1/history.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; import "uber/cadence/api/v1/history.proto"; diff --git a/proto/internal/uber/cadence/shared/v1/queue.proto b/proto/internal/uber/cadence/shared/v1/queue.proto index e884e1de276..33419feb80c 100644 --- a/proto/internal/uber/cadence/shared/v1/queue.proto +++ b/proto/internal/uber/cadence/shared/v1/queue.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; enum TaskType { TASK_TYPE_INVALID = 0; diff --git a/proto/internal/uber/cadence/shared/v1/replication.proto b/proto/internal/uber/cadence/shared/v1/replication.proto index ae2deb9b081..fd58794a7bd 100644 --- a/proto/internal/uber/cadence/shared/v1/replication.proto +++ b/proto/internal/uber/cadence/shared/v1/replication.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; import "google/protobuf/timestamp.proto"; import "uber/cadence/api/v1/common.proto"; diff --git a/proto/internal/uber/cadence/shared/v1/tasklist.proto b/proto/internal/uber/cadence/shared/v1/tasklist.proto index 1218c4d962d..04bc26bbc4a 100644 --- a/proto/internal/uber/cadence/shared/v1/tasklist.proto +++ b/proto/internal/uber/cadence/shared/v1/tasklist.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; // TaskSource is the source from which a task was produced. enum TaskSource { diff --git a/proto/internal/uber/cadence/shared/v1/workflow.proto b/proto/internal/uber/cadence/shared/v1/workflow.proto index 6b1a3cf6155..6e3f6c2b45a 100644 --- a/proto/internal/uber/cadence/shared/v1/workflow.proto +++ b/proto/internal/uber/cadence/shared/v1/workflow.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.shared.v1; -option go_package = "github.com/uber/cadence/.gen/proto/shared/v1;sharedv1"; +option go_package = "github.com/uber/cadence/gen/proto/shared/v1;sharedv1"; import "uber/cadence/api/v1/common.proto"; diff --git a/proto/public/uber/cadence/api/v1/common.proto b/proto/public/uber/cadence/api/v1/common.proto index ecc893a30a2..f1f792f536e 100644 --- a/proto/public/uber/cadence/api/v1/common.proto +++ b/proto/public/uber/cadence/api/v1/common.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/decision.proto b/proto/public/uber/cadence/api/v1/decision.proto index 1b5e7e0cfa6..7fbbf4e2f7c 100644 --- a/proto/public/uber/cadence/api/v1/decision.proto +++ b/proto/public/uber/cadence/api/v1/decision.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/domain.proto b/proto/public/uber/cadence/api/v1/domain.proto index 47c29fbe474..d2ed28c7592 100644 --- a/proto/public/uber/cadence/api/v1/domain.proto +++ b/proto/public/uber/cadence/api/v1/domain.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/error.proto b/proto/public/uber/cadence/api/v1/error.proto index efd066f82a2..80f33b07ff9 100644 --- a/proto/public/uber/cadence/api/v1/error.proto +++ b/proto/public/uber/cadence/api/v1/error.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/history.proto b/proto/public/uber/cadence/api/v1/history.proto index 09183d6862a..db352d669e4 100644 --- a/proto/public/uber/cadence/api/v1/history.proto +++ b/proto/public/uber/cadence/api/v1/history.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/query.proto b/proto/public/uber/cadence/api/v1/query.proto index 176c3bf5901..c5f69588933 100644 --- a/proto/public/uber/cadence/api/v1/query.proto +++ b/proto/public/uber/cadence/api/v1/query.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/service_domain.proto b/proto/public/uber/cadence/api/v1/service_domain.proto index 0e6ecf522e1..a14915e2f52 100644 --- a/proto/public/uber/cadence/api/v1/service_domain.proto +++ b/proto/public/uber/cadence/api/v1/service_domain.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/service_meta.proto b/proto/public/uber/cadence/api/v1/service_meta.proto index 3bc42e288fa..a5ae2940935 100644 --- a/proto/public/uber/cadence/api/v1/service_meta.proto +++ b/proto/public/uber/cadence/api/v1/service_meta.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/service_visibility.proto b/proto/public/uber/cadence/api/v1/service_visibility.proto index 6720b608c87..391739c26fd 100644 --- a/proto/public/uber/cadence/api/v1/service_visibility.proto +++ b/proto/public/uber/cadence/api/v1/service_visibility.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/service_worker.proto b/proto/public/uber/cadence/api/v1/service_worker.proto index b59cff5e026..1e706b50632 100644 --- a/proto/public/uber/cadence/api/v1/service_worker.proto +++ b/proto/public/uber/cadence/api/v1/service_worker.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/service_workflow.proto b/proto/public/uber/cadence/api/v1/service_workflow.proto index d6017cfa4ab..6cd4e713419 100644 --- a/proto/public/uber/cadence/api/v1/service_workflow.proto +++ b/proto/public/uber/cadence/api/v1/service_workflow.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/tasklist.proto b/proto/public/uber/cadence/api/v1/tasklist.proto index 052263b30e2..ddac5ba9e1e 100644 --- a/proto/public/uber/cadence/api/v1/tasklist.proto +++ b/proto/public/uber/cadence/api/v1/tasklist.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/visibility.proto b/proto/public/uber/cadence/api/v1/visibility.proto index 2d6677df8cd..9638a816ee0 100644 --- a/proto/public/uber/cadence/api/v1/visibility.proto +++ b/proto/public/uber/cadence/api/v1/visibility.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/proto/public/uber/cadence/api/v1/workflow.proto b/proto/public/uber/cadence/api/v1/workflow.proto index 16e807efe3f..84710ebec2f 100644 --- a/proto/public/uber/cadence/api/v1/workflow.proto +++ b/proto/public/uber/cadence/api/v1/workflow.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package uber.cadence.api.v1; -option go_package = "github.com/uber/cadence/.gen/proto/api/v1;apiv1"; +option go_package = "github.com/uber/cadence/gen/proto/api/v1;apiv1"; option java_multiple_files = true; option java_outer_classname = "ApiProto"; option java_package = "com.uber.cadence.api.v1"; diff --git a/service/frontend/adminThriftHandler.go b/service/frontend/adminThriftHandler.go index 868d0b93656..cbce27ef093 100644 --- a/service/frontend/adminThriftHandler.go +++ b/service/frontend/adminThriftHandler.go @@ -25,11 +25,11 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/admin" - "github.com/uber/cadence/.gen/go/admin/adminserviceserver" - "github.com/uber/cadence/.gen/go/replicator" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/admin" + "github.com/uber/cadence/gen/go/admin/adminserviceserver" + "github.com/uber/cadence/gen/go/replicator" + "github.com/uber/cadence/gen/go/shared" ) // AdminThriftHandler wrap underlying handler and handles Thrift related type conversions diff --git a/service/frontend/adminThriftHandler_test.go b/service/frontend/adminThriftHandler_test.go index 035ed567a85..e7cb4b05a98 100644 --- a/service/frontend/adminThriftHandler_test.go +++ b/service/frontend/adminThriftHandler_test.go @@ -27,10 +27,10 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/uber/cadence/.gen/go/admin" - "github.com/uber/cadence/.gen/go/replicator" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/admin" + "github.com/uber/cadence/gen/go/replicator" + "github.com/uber/cadence/gen/go/shared" ) func TestAdminThriftHandler(t *testing.T) { diff --git a/service/frontend/thriftHandler.go b/service/frontend/thriftHandler.go index 58609a907f4..6369f7444ba 100644 --- a/service/frontend/thriftHandler.go +++ b/service/frontend/thriftHandler.go @@ -27,11 +27,11 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/cadence/workflowserviceserver" - "github.com/uber/cadence/.gen/go/health" - "github.com/uber/cadence/.gen/go/health/metaserver" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/cadence/workflowserviceserver" + "github.com/uber/cadence/gen/go/health" + "github.com/uber/cadence/gen/go/health/metaserver" + "github.com/uber/cadence/gen/go/shared" ) // ThriftHandler wrap underlying handler and handles Thrift related type conversions diff --git a/service/frontend/thriftHandler_test.go b/service/frontend/thriftHandler_test.go index 822b17cffae..b7f5e4f5068 100644 --- a/service/frontend/thriftHandler_test.go +++ b/service/frontend/thriftHandler_test.go @@ -29,10 +29,10 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "github.com/uber/cadence/.gen/go/health" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/health" + "github.com/uber/cadence/gen/go/shared" ) func TestThriftHandler(t *testing.T) { diff --git a/service/frontend/workflowHandler_test.go b/service/frontend/workflowHandler_test.go index 00a1d895764..a864ca7ca8b 100644 --- a/service/frontend/workflowHandler_test.go +++ b/service/frontend/workflowHandler_test.go @@ -33,7 +33,6 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/client/history" "github.com/uber/cadence/common" "github.com/uber/cadence/common/archiver" @@ -49,6 +48,7 @@ import ( "github.com/uber/cadence/common/resource" dc "github.com/uber/cadence/common/service/dynamicconfig" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/shared" ) const ( diff --git a/service/history/execution/checksum.go b/service/history/execution/checksum.go index 51003c2ba1b..fa37d9ed7ab 100644 --- a/service/history/execution/checksum.go +++ b/service/history/execution/checksum.go @@ -23,10 +23,10 @@ package execution import ( "fmt" - checksumgen "github.com/uber/cadence/.gen/go/checksum" "github.com/uber/cadence/common" "github.com/uber/cadence/common/checksum" "github.com/uber/cadence/common/types/mapper/thrift" + checksumgen "github.com/uber/cadence/gen/go/checksum" ) const ( diff --git a/service/history/execution/workflow_test.go b/service/history/execution/workflow_test.go index 9102ab2607f..59f7445c710 100644 --- a/service/history/execution/workflow_test.go +++ b/service/history/execution/workflow_test.go @@ -31,7 +31,7 @@ package execution // "github.com/stretchr/testify/require" // "github.com/stretchr/testify/suite" -// "github.com/uber/cadence/.gen/go/shared" +// "github.com/uber/cadence/gen/go/shared" // "github.com/uber/cadence/common/cache" // "github.com/uber/cadence/common/cluster" // "github.com/uber/cadence/common/persistence" diff --git a/service/history/thriftHandler.go b/service/history/thriftHandler.go index e87ba5eee56..e298a28d9a6 100644 --- a/service/history/thriftHandler.go +++ b/service/history/thriftHandler.go @@ -25,13 +25,13 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/health" - "github.com/uber/cadence/.gen/go/health/metaserver" - h "github.com/uber/cadence/.gen/go/history" - "github.com/uber/cadence/.gen/go/history/historyserviceserver" - "github.com/uber/cadence/.gen/go/replicator" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/health" + "github.com/uber/cadence/gen/go/health/metaserver" + h "github.com/uber/cadence/gen/go/history" + "github.com/uber/cadence/gen/go/history/historyserviceserver" + "github.com/uber/cadence/gen/go/replicator" + "github.com/uber/cadence/gen/go/shared" ) // ThriftHandler wrap underlying handler and handles Thrift related type conversions diff --git a/service/history/thriftHandler_test.go b/service/history/thriftHandler_test.go index 2ce3b36d527..6ea2773f0dd 100644 --- a/service/history/thriftHandler_test.go +++ b/service/history/thriftHandler_test.go @@ -24,12 +24,12 @@ import ( "context" "testing" - "github.com/uber/cadence/.gen/go/health" - hist "github.com/uber/cadence/.gen/go/history" - "github.com/uber/cadence/.gen/go/replicator" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/health" + hist "github.com/uber/cadence/gen/go/history" + "github.com/uber/cadence/gen/go/replicator" + "github.com/uber/cadence/gen/go/shared" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/service/matching/thriftHandler.go b/service/matching/thriftHandler.go index 49892366f3e..0e1c8c73eb2 100644 --- a/service/matching/thriftHandler.go +++ b/service/matching/thriftHandler.go @@ -25,12 +25,12 @@ import ( "go.uber.org/yarpc" - "github.com/uber/cadence/.gen/go/health" - "github.com/uber/cadence/.gen/go/health/metaserver" - m "github.com/uber/cadence/.gen/go/matching" - "github.com/uber/cadence/.gen/go/matching/matchingserviceserver" - s "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/health" + "github.com/uber/cadence/gen/go/health/metaserver" + m "github.com/uber/cadence/gen/go/matching" + "github.com/uber/cadence/gen/go/matching/matchingserviceserver" + s "github.com/uber/cadence/gen/go/shared" ) // ThriftHandler wrap underlying handler and handles Thrift related type conversions diff --git a/service/matching/thriftHandler_test.go b/service/matching/thriftHandler_test.go index 178566dd3be..db1f34e8192 100644 --- a/service/matching/thriftHandler_test.go +++ b/service/matching/thriftHandler_test.go @@ -24,11 +24,11 @@ import ( "context" "testing" - "github.com/uber/cadence/.gen/go/health" - m "github.com/uber/cadence/.gen/go/matching" - s "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/health" + m "github.com/uber/cadence/gen/go/matching" + s "github.com/uber/cadence/gen/go/shared" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" diff --git a/service/worker/indexer/esProcessor.go b/service/worker/indexer/esProcessor.go index 3546f6fc934..be0993ddbe5 100644 --- a/service/worker/indexer/esProcessor.go +++ b/service/worker/indexer/esProcessor.go @@ -27,7 +27,6 @@ import ( "github.com/uber-go/tally" - "github.com/uber/cadence/.gen/go/indexer" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/collection" @@ -36,6 +35,7 @@ import ( "github.com/uber/cadence/common/log/tag" "github.com/uber/cadence/common/messaging" "github.com/uber/cadence/common/metrics" + "github.com/uber/cadence/gen/go/indexer" ) type ( diff --git a/service/worker/indexer/esProcessor_test.go b/service/worker/indexer/esProcessor_test.go index db6a7915505..aa824064b91 100644 --- a/service/worker/indexer/esProcessor_test.go +++ b/service/worker/indexer/esProcessor_test.go @@ -30,7 +30,6 @@ import ( "github.com/stretchr/testify/suite" "go.uber.org/zap" - "github.com/uber/cadence/.gen/go/indexer" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/collection" @@ -41,6 +40,7 @@ import ( "github.com/uber/cadence/common/metrics" mmocks "github.com/uber/cadence/common/metrics/mocks" "github.com/uber/cadence/common/service/dynamicconfig" + "github.com/uber/cadence/gen/go/indexer" ) type esProcessorSuite struct { diff --git a/service/worker/indexer/processor.go b/service/worker/indexer/processor.go index 48c913d580a..83a28f50b70 100644 --- a/service/worker/indexer/processor.go +++ b/service/worker/indexer/processor.go @@ -27,7 +27,6 @@ import ( "sync/atomic" "time" - "github.com/uber/cadence/.gen/go/indexer" "github.com/uber/cadence/common" "github.com/uber/cadence/common/codec" "github.com/uber/cadence/common/definition" @@ -37,6 +36,7 @@ import ( "github.com/uber/cadence/common/messaging" "github.com/uber/cadence/common/metrics" "github.com/uber/cadence/common/types" + "github.com/uber/cadence/gen/go/indexer" ) type indexProcessor struct { diff --git a/tools/cli/adminCommands.go b/tools/cli/adminCommands.go index 2313aadba29..ba305b89d19 100644 --- a/tools/cli/adminCommands.go +++ b/tools/cli/adminCommands.go @@ -31,7 +31,6 @@ import ( "github.com/urfave/cli" - "github.com/uber/cadence/.gen/go/shared" "github.com/uber/cadence/common" "github.com/uber/cadence/common/auth" "github.com/uber/cadence/common/codec" @@ -44,6 +43,7 @@ import ( "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/shared" ) const ( diff --git a/tools/cli/adminElasticSearchCommands.go b/tools/cli/adminElasticSearchCommands.go index aed87b4d304..028fe546324 100644 --- a/tools/cli/adminElasticSearchCommands.go +++ b/tools/cli/adminElasticSearchCommands.go @@ -39,9 +39,9 @@ import ( "github.com/olivere/elastic" "github.com/urfave/cli" - "github.com/uber/cadence/.gen/go/indexer" es "github.com/uber/cadence/common/elasticsearch" "github.com/uber/cadence/common/elasticsearch/esql" + "github.com/uber/cadence/gen/go/indexer" ) const ( diff --git a/tools/cli/adminKafkaCommands.go b/tools/cli/adminKafkaCommands.go index 3b037d83ea9..b7bda3818f5 100644 --- a/tools/cli/adminKafkaCommands.go +++ b/tools/cli/adminKafkaCommands.go @@ -37,8 +37,6 @@ import ( "go.uber.org/thriftrw/protocol" "go.uber.org/thriftrw/wire" - "github.com/uber/cadence/.gen/go/indexer" - "github.com/uber/cadence/.gen/go/replicator" "github.com/uber/cadence/client/admin" "github.com/uber/cadence/common" "github.com/uber/cadence/common/auth" @@ -49,6 +47,8 @@ import ( "github.com/uber/cadence/common/service/config" "github.com/uber/cadence/common/types" "github.com/uber/cadence/common/types/mapper/thrift" + "github.com/uber/cadence/gen/go/indexer" + "github.com/uber/cadence/gen/go/replicator" ) type ( diff --git a/tools/cli/factory.go b/tools/cli/factory.go index 970978cdb3b..b3f75d513f0 100644 --- a/tools/cli/factory.go +++ b/tools/cli/factory.go @@ -30,12 +30,12 @@ import ( "go.uber.org/yarpc/transport/tchannel" "go.uber.org/zap" - serverAdmin "github.com/uber/cadence/.gen/go/admin/adminserviceclient" - serverFrontend "github.com/uber/cadence/.gen/go/cadence/workflowserviceclient" "github.com/uber/cadence/client/admin" "github.com/uber/cadence/client/frontend" "github.com/uber/cadence/common" "github.com/uber/cadence/common/persistence/nosql/nosqlplugin/cassandra/gocql" + serverAdmin "github.com/uber/cadence/gen/go/admin/adminserviceclient" + serverFrontend "github.com/uber/cadence/gen/go/cadence/workflowserviceclient" ) const (