From af868fb95b19a298a58e8aae3585d5ca9680bdf7 Mon Sep 17 00:00:00 2001 From: "Meggle (Sebastian Bathke)" Date: Tue, 10 Sep 2024 21:50:51 +0200 Subject: [PATCH] build: new module name --- cmd/zbctl/build.sh | 2 +- cmd/zbctl/internal/commands/activateJobs.go | 4 ++-- cmd/zbctl/internal/commands/broadcastSignal.go | 2 +- cmd/zbctl/internal/commands/cancelInstance.go | 2 +- cmd/zbctl/internal/commands/completeJob.go | 2 +- cmd/zbctl/internal/commands/createInstance.go | 2 +- cmd/zbctl/internal/commands/createWorker.go | 6 +++--- cmd/zbctl/internal/commands/deleteResource.go | 2 +- cmd/zbctl/internal/commands/evaluateDecision.go | 4 ++-- cmd/zbctl/internal/commands/failJob.go | 4 ++-- cmd/zbctl/internal/commands/publishMessage.go | 2 +- cmd/zbctl/internal/commands/resolveIncident.go | 2 +- cmd/zbctl/internal/commands/root.go | 2 +- cmd/zbctl/internal/commands/setVariables.go | 2 +- cmd/zbctl/internal/commands/status.go | 2 +- cmd/zbctl/internal/commands/throwErrorJob.go | 2 +- cmd/zbctl/internal/commands/updateJobTimeout.go | 4 ++-- cmd/zbctl/internal/commands/updateRetries.go | 4 ++-- cmd/zbctl/main.go | 2 +- cmd/zbctl/main_test.go | 6 +++--- 20 files changed, 29 insertions(+), 29 deletions(-) diff --git a/cmd/zbctl/build.sh b/cmd/zbctl/build.sh index 65195b62..b1174fe1 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/camunda/clients/go/v8/cmd/zbctl/internal/commands.Version=${VERSION} -X github.com/camunda/camunda/clients/go/v8/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/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" & fi done diff --git a/cmd/zbctl/internal/commands/activateJobs.go b/cmd/zbctl/internal/commands/activateJobs.go index 42e26ab4..db59ecf3 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/camunda/clients/go/v8/pkg/commands" - "github.com/camunda/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/broadcastSignal.go b/cmd/zbctl/internal/commands/broadcastSignal.go index 29f6b348..742c3678 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/camunda/clients/go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/internal/utils" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/cancelInstance.go b/cmd/zbctl/internal/commands/cancelInstance.go index d0fcb4f8..5b9602ea 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/completeJob.go b/cmd/zbctl/internal/commands/completeJob.go index 3a417199..0d3182ac 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/createInstance.go b/cmd/zbctl/internal/commands/createInstance.go index 609a4185..37927134 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/camunda/clients/go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/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 9864c3de..1e7e969d 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/camunda/clients/go/v8/pkg/commands" - "github.com/camunda/camunda/clients/go/v8/pkg/entities" - "github.com/camunda/camunda/clients/go/v8/pkg/worker" + "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/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/deleteResource.go b/cmd/zbctl/internal/commands/deleteResource.go index 1f58a5a7..a584df45 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/evaluateDecision.go b/cmd/zbctl/internal/commands/evaluateDecision.go index 170db5ff..c5f2f909 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/camunda/clients/go/v8/internal/utils" - "github.com/camunda/camunda/clients/go/v8/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/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 e01f447e..3ab0bb4d 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/camunda/clients/go/v8/pkg/commands" - "github.com/camunda/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" "time" ) diff --git a/cmd/zbctl/internal/commands/publishMessage.go b/cmd/zbctl/internal/commands/publishMessage.go index 2547f929..f7d02d26 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/camunda/clients/go/v8/internal/utils" + "github.com/camunda-community-hub/zeebe-client-go/internal/utils" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/resolveIncident.go b/cmd/zbctl/internal/commands/resolveIncident.go index aba4c969..c84bc71a 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/root.go b/cmd/zbctl/internal/commands/root.go index 0a630d02..f09e954c 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/camunda/clients/go/v8/pkg/zbc" + "github.com/camunda-community-hub/zeebe-client-go/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 a58a74be..1abb66fe 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/status.go b/cmd/zbctl/internal/commands/status.go index a60e4efb..2b1dd6fd 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/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 f3dc3066..71822fb5 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/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/updateJobTimeout.go b/cmd/zbctl/internal/commands/updateJobTimeout.go index 88d35431..99e4577e 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/camunda/clients/go/v8/pkg/commands" - "github.com/camunda/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/internal/commands/updateRetries.go b/cmd/zbctl/internal/commands/updateRetries.go index 46dfc071..5cdc66a3 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/camunda/clients/go/v8/pkg/commands" - "github.com/camunda/camunda/clients/go/v8/pkg/pb" + "github.com/camunda-community-hub/zeebe-client-go/pkg/commands" + "github.com/camunda-community-hub/zeebe-client-go/pkg/pb" "github.com/spf13/cobra" ) diff --git a/cmd/zbctl/main.go b/cmd/zbctl/main.go index c2b0b3b1..ce21a9d1 100644 --- a/cmd/zbctl/main.go +++ b/cmd/zbctl/main.go @@ -15,7 +15,7 @@ package main import ( - "github.com/camunda/camunda/clients/go/v8/cmd/zbctl/internal/commands" + "github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands" ) func main() { diff --git a/cmd/zbctl/main_test.go b/cmd/zbctl/main_test.go index 940c677c..c7cec316 100644 --- a/cmd/zbctl/main_test.go +++ b/cmd/zbctl/main_test.go @@ -28,9 +28,9 @@ import ( "testing" "time" - "github.com/camunda/camunda/clients/go/v8/internal/containersuite" - "github.com/camunda/camunda/clients/go/v8/internal/utils" - "github.com/camunda/camunda/clients/go/v8/pkg/zbc" + "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/google/go-cmp/cmp" "github.com/google/uuid" "github.com/stretchr/testify/suite"