diff --git a/cmd/zbctl/build.sh b/cmd/zbctl/build.sh index b1174fe1..b4a575f0 100755 --- a/cmd/zbctl/build.sh +++ b/cmd/zbctl/build.sh @@ -13,7 +13,7 @@ rm -rf ${DIST_DIR}/* for i in "${!OS[@]}"; do if [ $# -eq 0 ] || [ ${OS[$i]} = $1 ]; then - CGO_ENABLED=0 GOOS="${OS[$i]}" GOARCH=amd64 go build -a -tags netgo -ldflags "-w -X github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands.Version=${VERSION} -X github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands.Commit=${COMMIT}" -o "${DIST_DIR}/${BINARY[$i]}" "${SRC_DIR}/main.go" & + CGO_ENABLED=0 GOOS="${OS[$i]}" GOARCH=amd64 go build -a -tags netgo -ldflags "-w -X github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands.Version=${VERSION} -X github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands.Commit=${COMMIT}" -o "${DIST_DIR}/${BINARY[$i]}" "${SRC_DIR}/main.go" & fi done diff --git a/cmd/zbctl/internal/commands/activateJobs.go b/cmd/zbctl/internal/commands/activateJobs.go index db59ecf3..8ca09280 100644 --- a/cmd/zbctl/internal/commands/activateJobs.go +++ b/cmd/zbctl/internal/commands/activateJobs.go @@ -18,8 +18,8 @@ import ( "context" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/broadcastSignal.go b/cmd/zbctl/internal/commands/broadcastSignal.go index 742c3678..159bee82 100644 --- a/cmd/zbctl/internal/commands/broadcastSignal.go +++ b/cmd/zbctl/internal/commands/broadcastSignal.go @@ -19,7 +19,7 @@ import ( "errors" "os" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/cancelInstance.go b/cmd/zbctl/internal/commands/cancelInstance.go index 5b9602ea..f7f07dd4 100644 --- a/cmd/zbctl/internal/commands/cancelInstance.go +++ b/cmd/zbctl/internal/commands/cancelInstance.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/completeJob.go b/cmd/zbctl/internal/commands/completeJob.go index 0d3182ac..1e5615f1 100644 --- a/cmd/zbctl/internal/commands/completeJob.go +++ b/cmd/zbctl/internal/commands/completeJob.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/createInstance.go b/cmd/zbctl/internal/commands/createInstance.go index 37927134..bc3f1cc6 100644 --- a/cmd/zbctl/internal/commands/createInstance.go +++ b/cmd/zbctl/internal/commands/createInstance.go @@ -16,7 +16,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" "github.com/spf13/cobra" "strconv" "strings" diff --git a/cmd/zbctl/internal/commands/createWorker.go b/cmd/zbctl/internal/commands/createWorker.go index 1e7e969d..1c2b3f0a 100644 --- a/cmd/zbctl/internal/commands/createWorker.go +++ b/cmd/zbctl/internal/commands/createWorker.go @@ -25,9 +25,9 @@ import ( "sync/atomic" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/worker" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/deleteResource.go b/cmd/zbctl/internal/commands/deleteResource.go index a584df45..35c6228c 100644 --- a/cmd/zbctl/internal/commands/deleteResource.go +++ b/cmd/zbctl/internal/commands/deleteResource.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/evaluateDecision.go b/cmd/zbctl/internal/commands/evaluateDecision.go index c5f2f909..d4e9b3ab 100644 --- a/cmd/zbctl/internal/commands/evaluateDecision.go +++ b/cmd/zbctl/internal/commands/evaluateDecision.go @@ -17,8 +17,8 @@ package commands import ( "context" "errors" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" "github.com/spf13/cobra" "os" "strconv" diff --git a/cmd/zbctl/internal/commands/failJob.go b/cmd/zbctl/internal/commands/failJob.go index 3ab0bb4d..dc2455f7 100644 --- a/cmd/zbctl/internal/commands/failJob.go +++ b/cmd/zbctl/internal/commands/failJob.go @@ -17,8 +17,8 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" "time" ) diff --git a/cmd/zbctl/internal/commands/publishMessage.go b/cmd/zbctl/internal/commands/publishMessage.go index f7d02d26..078f9ef6 100644 --- a/cmd/zbctl/internal/commands/publishMessage.go +++ b/cmd/zbctl/internal/commands/publishMessage.go @@ -20,7 +20,7 @@ import ( "time" "errors" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/resolveIncident.go b/cmd/zbctl/internal/commands/resolveIncident.go index c84bc71a..d0f55e76 100644 --- a/cmd/zbctl/internal/commands/resolveIncident.go +++ b/cmd/zbctl/internal/commands/resolveIncident.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/root.go b/cmd/zbctl/internal/commands/root.go index f09e954c..60883612 100644 --- a/cmd/zbctl/internal/commands/root.go +++ b/cmd/zbctl/internal/commands/root.go @@ -16,7 +16,7 @@ package commands import ( "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" "net" diff --git a/cmd/zbctl/internal/commands/setVariables.go b/cmd/zbctl/internal/commands/setVariables.go index 1abb66fe..cf582992 100644 --- a/cmd/zbctl/internal/commands/setVariables.go +++ b/cmd/zbctl/internal/commands/setVariables.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/status.go b/cmd/zbctl/internal/commands/status.go index 2b1dd6fd..8df34112 100644 --- a/cmd/zbctl/internal/commands/status.go +++ b/cmd/zbctl/internal/commands/status.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" "net" "sort" diff --git a/cmd/zbctl/internal/commands/throwErrorJob.go b/cmd/zbctl/internal/commands/throwErrorJob.go index 71822fb5..8f83d223 100644 --- a/cmd/zbctl/internal/commands/throwErrorJob.go +++ b/cmd/zbctl/internal/commands/throwErrorJob.go @@ -17,7 +17,7 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/updateJobTimeout.go b/cmd/zbctl/internal/commands/updateJobTimeout.go index 99e4577e..fa817ea6 100644 --- a/cmd/zbctl/internal/commands/updateJobTimeout.go +++ b/cmd/zbctl/internal/commands/updateJobTimeout.go @@ -18,8 +18,8 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/updateRetries.go b/cmd/zbctl/internal/commands/updateRetries.go index 5cdc66a3..8524ca8f 100644 --- a/cmd/zbctl/internal/commands/updateRetries.go +++ b/cmd/zbctl/internal/commands/updateRetries.go @@ -18,8 +18,8 @@ package commands import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/main.go b/cmd/zbctl/main.go index ce21a9d1..2a0ae256 100644 --- a/cmd/zbctl/main.go +++ b/cmd/zbctl/main.go @@ -15,7 +15,7 @@ package main import ( - "github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands" ) func main() { diff --git a/cmd/zbctl/main_test.go b/cmd/zbctl/main_test.go index c7cec316..67fde481 100644 --- a/cmd/zbctl/main_test.go +++ b/cmd/zbctl/main_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/containersuite" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/containersuite" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc" "github.com/google/go-cmp/cmp" "github.com/google/uuid" "github.com/stretchr/testify/suite" diff --git a/go.mod b/go.mod index 3569a383..bce25978 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/camunda-community-hub/zeebe-client-go +module github.com/camunda-community-hub/zeebe-client-go/v8 go 1.21 diff --git a/internal/containersuite/containerSuite.go b/internal/containersuite/containerSuite.go index a12d7697..89af7d8d 100644 --- a/internal/containersuite/containerSuite.go +++ b/internal/containersuite/containerSuite.go @@ -22,9 +22,9 @@ import ( "strings" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" - "github.com/camunda-community-hub/zeebe-client-go/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc" "github.com/docker/go-connections/nat" "github.com/stretchr/testify/suite" "github.com/testcontainers/testcontainers-go" diff --git a/internal/mock_pb/mock_gateway.go b/internal/mock_pb/mock_gateway.go index 6525026a..fe581f29 100644 --- a/internal/mock_pb/mock_gateway.go +++ b/internal/mock_pb/mock_gateway.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - pb "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + pb "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" gomock "github.com/golang/mock/gomock" grpc "google.golang.org/grpc" metadata "google.golang.org/grpc/metadata" diff --git a/internal/utils/test_utils.go b/internal/utils/test_utils.go index f5b90b56..b0c7919d 100644 --- a/internal/utils/test_utils.go +++ b/internal/utils/test_utils.go @@ -18,7 +18,7 @@ import ( "fmt" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "google.golang.org/protobuf/proto" diff --git a/pkg/commands/activate_jobs.go b/pkg/commands/activate_jobs.go index 536c7ae1..27eac1a5 100644 --- a/pkg/commands/activate_jobs.go +++ b/pkg/commands/activate_jobs.go @@ -20,8 +20,8 @@ import ( "log" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) const ( diff --git a/pkg/commands/activate_jobs_test.go b/pkg/commands/activate_jobs_test.go index 4588cd07..6ca56008 100644 --- a/pkg/commands/activate_jobs_test.go +++ b/pkg/commands/activate_jobs_test.go @@ -21,10 +21,10 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/broadcast_signal.go b/pkg/commands/broadcast_signal.go index 4c104d92..500e30a9 100644 --- a/pkg/commands/broadcast_signal.go +++ b/pkg/commands/broadcast_signal.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchBroadcastSignalCommand interface { diff --git a/pkg/commands/broadcast_signal_test.go b/pkg/commands/broadcast_signal_test.go index f772c980..126151d6 100644 --- a/pkg/commands/broadcast_signal_test.go +++ b/pkg/commands/broadcast_signal_test.go @@ -19,9 +19,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/cancel_instance.go b/pkg/commands/cancel_instance.go index c0415714..0c0d099b 100644 --- a/pkg/commands/cancel_instance.go +++ b/pkg/commands/cancel_instance.go @@ -17,7 +17,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type CancelInstanceStep1 interface { diff --git a/pkg/commands/cancel_instance_test.go b/pkg/commands/cancel_instance_test.go index 4aa3fe6e..4be931a8 100644 --- a/pkg/commands/cancel_instance_test.go +++ b/pkg/commands/cancel_instance_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/command.go b/pkg/commands/command.go index 1f04e596..2f42d625 100644 --- a/pkg/commands/command.go +++ b/pkg/commands/command.go @@ -18,8 +18,8 @@ import ( "context" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) const ( diff --git a/pkg/commands/complete_job.go b/pkg/commands/complete_job.go index 1ac8e898..84659d3d 100644 --- a/pkg/commands/complete_job.go +++ b/pkg/commands/complete_job.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchCompleteJobCommand interface { diff --git a/pkg/commands/complete_job_test.go b/pkg/commands/complete_job_test.go index 7d7236cd..f079be20 100644 --- a/pkg/commands/complete_job_test.go +++ b/pkg/commands/complete_job_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/create_instance.go b/pkg/commands/create_instance.go index ecce757c..ea78e6a7 100644 --- a/pkg/commands/create_instance.go +++ b/pkg/commands/create_instance.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) const LatestVersion = -1 diff --git a/pkg/commands/create_instance_test.go b/pkg/commands/create_instance_test.go index ef4d66c9..dcde8621 100644 --- a/pkg/commands/create_instance_test.go +++ b/pkg/commands/create_instance_test.go @@ -19,9 +19,9 @@ import ( "fmt" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/delete_resource.go b/pkg/commands/delete_resource.go index 12009840..d620647d 100644 --- a/pkg/commands/delete_resource.go +++ b/pkg/commands/delete_resource.go @@ -17,7 +17,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DeleteResourceCommand struct { diff --git a/pkg/commands/delete_resource_test.go b/pkg/commands/delete_resource_test.go index 68c076b2..9318d5af 100644 --- a/pkg/commands/delete_resource_test.go +++ b/pkg/commands/delete_resource_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/deploy.go b/pkg/commands/deploy.go index 8ab5c800..ebea695a 100644 --- a/pkg/commands/deploy.go +++ b/pkg/commands/deploy.go @@ -19,7 +19,7 @@ import ( "log" "os" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DeployCommand struct { diff --git a/pkg/commands/deploy_resource.go b/pkg/commands/deploy_resource.go index 54fbc935..077fb605 100644 --- a/pkg/commands/deploy_resource.go +++ b/pkg/commands/deploy_resource.go @@ -19,7 +19,7 @@ import ( "log" "os" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DeployResourceCommand struct { diff --git a/pkg/commands/deploy_resource_test.go b/pkg/commands/deploy_resource_test.go index 61c872a2..fc7a940d 100644 --- a/pkg/commands/deploy_resource_test.go +++ b/pkg/commands/deploy_resource_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/deploy_test.go b/pkg/commands/deploy_test.go index 87baa92c..82c8e877 100644 --- a/pkg/commands/deploy_test.go +++ b/pkg/commands/deploy_test.go @@ -19,9 +19,9 @@ import ( "os" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/evaluate_decision.go b/pkg/commands/evaluate_decision.go index a7d47600..16b94d7e 100644 --- a/pkg/commands/evaluate_decision.go +++ b/pkg/commands/evaluate_decision.go @@ -18,8 +18,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchEvaluateDecisionCommand interface { diff --git a/pkg/commands/evaluate_decision_test.go b/pkg/commands/evaluate_decision_test.go index b63f6a1e..3538bcbb 100644 --- a/pkg/commands/evaluate_decision_test.go +++ b/pkg/commands/evaluate_decision_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/fail_job.go b/pkg/commands/fail_job.go index 6c330c16..e6ebcbbd 100644 --- a/pkg/commands/fail_job.go +++ b/pkg/commands/fail_job.go @@ -20,8 +20,8 @@ import ( "fmt" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchFailJobCommand interface { diff --git a/pkg/commands/fail_job_test.go b/pkg/commands/fail_job_test.go index 58c0f60b..ccce117b 100644 --- a/pkg/commands/fail_job_test.go +++ b/pkg/commands/fail_job_test.go @@ -20,9 +20,9 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/publish_message.go b/pkg/commands/publish_message.go index 15c35aae..7f9d7a83 100644 --- a/pkg/commands/publish_message.go +++ b/pkg/commands/publish_message.go @@ -20,8 +20,8 @@ import ( "fmt" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type PublishMessageCommandStep1 interface { diff --git a/pkg/commands/publish_message_test.go b/pkg/commands/publish_message_test.go index a809b61a..a3d0a581 100644 --- a/pkg/commands/publish_message_test.go +++ b/pkg/commands/publish_message_test.go @@ -20,9 +20,9 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/resolve_incident.go b/pkg/commands/resolve_incident.go index dbe72d4b..2715d602 100644 --- a/pkg/commands/resolve_incident.go +++ b/pkg/commands/resolve_incident.go @@ -18,7 +18,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchResolveIncidentCommand interface { diff --git a/pkg/commands/resolve_incident_test.go b/pkg/commands/resolve_incident_test.go index 5c4a71a4..9ca4b887 100644 --- a/pkg/commands/resolve_incident_test.go +++ b/pkg/commands/resolve_incident_test.go @@ -19,9 +19,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/set_variables.go b/pkg/commands/set_variables.go index d9dfd788..59980fcd 100644 --- a/pkg/commands/set_variables.go +++ b/pkg/commands/set_variables.go @@ -19,8 +19,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchSetVariablesCommand interface { diff --git a/pkg/commands/set_variables_test.go b/pkg/commands/set_variables_test.go index 53f44cbc..20885976 100644 --- a/pkg/commands/set_variables_test.go +++ b/pkg/commands/set_variables_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/stream_jobs.go b/pkg/commands/stream_jobs.go index 66054a97..680e4c94 100644 --- a/pkg/commands/stream_jobs.go +++ b/pkg/commands/stream_jobs.go @@ -20,8 +20,8 @@ import ( "log" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type StreamJobsConsumer chan<- entities.Job diff --git a/pkg/commands/stream_jobs_test.go b/pkg/commands/stream_jobs_test.go index 9437ef95..5e058046 100644 --- a/pkg/commands/stream_jobs_test.go +++ b/pkg/commands/stream_jobs_test.go @@ -21,10 +21,10 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" ) diff --git a/pkg/commands/throw_error.go b/pkg/commands/throw_error.go index f391ee1e..b1f6dbc1 100644 --- a/pkg/commands/throw_error.go +++ b/pkg/commands/throw_error.go @@ -19,8 +19,8 @@ import ( "context" "fmt" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type ThrowErrorCommandStep1 interface { diff --git a/pkg/commands/throw_error_test.go b/pkg/commands/throw_error_test.go index 8bef42ac..b717d81f 100644 --- a/pkg/commands/throw_error_test.go +++ b/pkg/commands/throw_error_test.go @@ -19,9 +19,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/topology.go b/pkg/commands/topology.go index e824004d..35e5a89b 100644 --- a/pkg/commands/topology.go +++ b/pkg/commands/topology.go @@ -18,7 +18,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type TopologyCommand struct { diff --git a/pkg/commands/topology_test.go b/pkg/commands/topology_test.go index 241c182d..89e8f239 100644 --- a/pkg/commands/topology_test.go +++ b/pkg/commands/topology_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/update_job_retries.go b/pkg/commands/update_job_retries.go index 92cc5d72..7252977d 100644 --- a/pkg/commands/update_job_retries.go +++ b/pkg/commands/update_job_retries.go @@ -18,7 +18,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) const ( diff --git a/pkg/commands/update_job_retries_test.go b/pkg/commands/update_job_retries_test.go index 11545e90..3aa80c18 100644 --- a/pkg/commands/update_job_retries_test.go +++ b/pkg/commands/update_job_retries_test.go @@ -19,9 +19,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/commands/update_job_timeout.go b/pkg/commands/update_job_timeout.go index 3afa55ac..fab4aab5 100644 --- a/pkg/commands/update_job_timeout.go +++ b/pkg/commands/update_job_timeout.go @@ -17,7 +17,7 @@ package commands import ( "context" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type DispatchUpdateJobTimeoutCommand interface { diff --git a/pkg/commands/update_job_timeout_test.go b/pkg/commands/update_job_timeout_test.go index 96b4652d..dbdaa0dd 100644 --- a/pkg/commands/update_job_timeout_test.go +++ b/pkg/commands/update_job_timeout_test.go @@ -18,9 +18,9 @@ import ( "context" "testing" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" ) diff --git a/pkg/entities/job.go b/pkg/entities/job.go index 451a1ac4..c1b347d0 100644 --- a/pkg/entities/job.go +++ b/pkg/entities/job.go @@ -17,7 +17,7 @@ package entities import ( "encoding/json" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) // Job represents a single work item of a process. diff --git a/pkg/entities/job_test.go b/pkg/entities/job_test.go index b770016f..d6e77bb8 100644 --- a/pkg/entities/job_test.go +++ b/pkg/entities/job_test.go @@ -17,7 +17,7 @@ package entities import ( "testing" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/google/go-cmp/cmp" ) diff --git a/pkg/worker/jobDispatcher.go b/pkg/worker/jobDispatcher.go index 60dad614..1732fb11 100644 --- a/pkg/worker/jobDispatcher.go +++ b/pkg/worker/jobDispatcher.go @@ -17,7 +17,7 @@ package worker import ( "sync" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" ) type jobDispatcher struct { diff --git a/pkg/worker/jobDispatcher_test.go b/pkg/worker/jobDispatcher_test.go index c861e591..d31b0b1b 100644 --- a/pkg/worker/jobDispatcher_test.go +++ b/pkg/worker/jobDispatcher_test.go @@ -19,10 +19,10 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/stretchr/testify/suite" ) diff --git a/pkg/worker/jobPoller.go b/pkg/worker/jobPoller.go index 85de7c76..e9941909 100644 --- a/pkg/worker/jobPoller.go +++ b/pkg/worker/jobPoller.go @@ -23,8 +23,8 @@ import ( "sync" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/pkg/worker/jobPoller_test.go b/pkg/worker/jobPoller_test.go index 840eba17..2e2bfefb 100644 --- a/pkg/worker/jobPoller_test.go +++ b/pkg/worker/jobPoller_test.go @@ -23,10 +23,10 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" "github.com/stretchr/testify/suite" ) diff --git a/pkg/worker/jobStreamer.go b/pkg/worker/jobStreamer.go index 89365347..1f25c497 100644 --- a/pkg/worker/jobStreamer.go +++ b/pkg/worker/jobStreamer.go @@ -20,7 +20,7 @@ import ( "sync" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" ) type jobStreamer struct { diff --git a/pkg/worker/jobStreamer_test.go b/pkg/worker/jobStreamer_test.go index b0aa6105..4b7ba429 100644 --- a/pkg/worker/jobStreamer_test.go +++ b/pkg/worker/jobStreamer_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" "github.com/stretchr/testify/suite" ) diff --git a/pkg/worker/jobWorker.go b/pkg/worker/jobWorker.go index 658308c8..12512c2f 100644 --- a/pkg/worker/jobWorker.go +++ b/pkg/worker/jobWorker.go @@ -18,8 +18,8 @@ package worker import ( "sync" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" ) type JobClient interface { diff --git a/pkg/worker/jobWorker_builder.go b/pkg/worker/jobWorker_builder.go index c09b8925..f4cb4348 100644 --- a/pkg/worker/jobWorker_builder.go +++ b/pkg/worker/jobWorker_builder.go @@ -22,9 +22,9 @@ import ( "sync" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) const ( diff --git a/pkg/worker/jobWorker_builder_test.go b/pkg/worker/jobWorker_builder_test.go index 96e0df08..d3254e46 100644 --- a/pkg/worker/jobWorker_builder_test.go +++ b/pkg/worker/jobWorker_builder_test.go @@ -19,10 +19,10 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" ) diff --git a/pkg/worker/jobWorker_test.go b/pkg/worker/jobWorker_test.go index d564a28a..e441eb30 100644 --- a/pkg/worker/jobWorker_test.go +++ b/pkg/worker/jobWorker_test.go @@ -22,11 +22,11 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" diff --git a/pkg/zbc/api.go b/pkg/zbc/api.go index 6a10c3f8..155df34f 100644 --- a/pkg/zbc/api.go +++ b/pkg/zbc/api.go @@ -16,8 +16,8 @@ package zbc import ( - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/worker" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker" ) type Client interface { diff --git a/pkg/zbc/client.go b/pkg/zbc/client.go index 53cc99a8..fd69c118 100644 --- a/pkg/zbc/client.go +++ b/pkg/zbc/client.go @@ -24,7 +24,7 @@ import ( "strings" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/embedded" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/embedded" "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/credentials" @@ -32,9 +32,9 @@ import ( "google.golang.org/grpc" - "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" - "github.com/camunda-community-hub/zeebe-client-go/pkg/worker" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker" ) const DefaultKeepAlive = 45 * time.Second diff --git a/pkg/zbc/client_test.go b/pkg/zbc/client_test.go index 3e659744..377325c4 100644 --- a/pkg/zbc/client_test.go +++ b/pkg/zbc/client_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" "google.golang.org/grpc/metadata" "github.com/stretchr/testify/suite" @@ -33,7 +33,7 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/status" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" ) type clientTestSuite struct { diff --git a/pkg/zbc/credentialsProvider_test.go b/pkg/zbc/credentialsProvider_test.go index 544de62d..5a7f053e 100644 --- a/pkg/zbc/credentialsProvider_test.go +++ b/pkg/zbc/credentialsProvider_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/pkg/zbc/oauthCredentialsProvider_test.go b/pkg/zbc/oauthCredentialsProvider_test.go index 34e460c6..b9d82c9b 100644 --- a/pkg/zbc/oauthCredentialsProvider_test.go +++ b/pkg/zbc/oauthCredentialsProvider_test.go @@ -27,8 +27,8 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/worker" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" "golang.org/x/net/context" diff --git a/test/integration_test.go b/test/integration_test.go index 78bea097..a80d42d7 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -23,11 +23,11 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/internal/containersuite" - "github.com/camunda-community-hub/zeebe-client-go/internal/utils" - "github.com/camunda-community-hub/zeebe-client-go/pkg/entities" - "github.com/camunda-community-hub/zeebe-client-go/pkg/worker" - "github.com/camunda-community-hub/zeebe-client-go/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/containersuite" + "github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc" "github.com/google/uuid" "github.com/stretchr/testify/suite" ) diff --git a/test/oauth_integration_test.go b/test/oauth_integration_test.go index 732a75ef..c0e76384 100644 --- a/test/oauth_integration_test.go +++ b/test/oauth_integration_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/camunda-community-hub/zeebe-client-go/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc" "github.com/docker/go-connections/nat" "github.com/stretchr/testify/suite" "github.com/testcontainers/testcontainers-go"