Skip to content

Commit

Permalink
build: new module name
Browse files Browse the repository at this point in the history
  • Loading branch information
megglos committed Sep 10, 2024
1 parent b5679f1 commit af868fb
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion cmd/zbctl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/activateJobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/broadcastSignal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/cancelInstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/completeJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/createInstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions cmd/zbctl/internal/commands/createWorker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/deleteResource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/evaluateDecision.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/failJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/publishMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/resolveIncident.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/setVariables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/throwErrorJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/updateJobTimeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/updateRetries.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/zbctl/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit af868fb

Please sign in to comment.