Skip to content

Commit

Permalink
[#162]: feat(sdk): update go.temporal/sdk-go to v1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rustatian authored Feb 3, 2022
2 parents 193820a + 00d634a commit a4ab14e
Show file tree
Hide file tree
Showing 29 changed files with 143 additions and 116 deletions.
11 changes: 6 additions & 5 deletions activity/activity.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
"github.com/google/uuid"
"github.com/roadrunner-server/errors"
"github.com/roadrunner-server/sdk/v2/utils"
tActivity "github.com/spiral/sdk-go/activity"
temporalClient "github.com/spiral/sdk-go/client"
"github.com/spiral/sdk-go/converter"
"github.com/spiral/sdk-go/internalbindings"
"github.com/spiral/sdk-go/worker"
"github.com/temporalio/roadrunner-temporal/internal"
"github.com/temporalio/roadrunner-temporal/internal/codec"
commonpb "go.temporal.io/api/common/v1"
tActivity "go.temporal.io/sdk/activity"
temporalClient "go.temporal.io/sdk/client"
"go.temporal.io/sdk/converter"
"go.temporal.io/sdk/internalbindings"
"go.temporal.io/sdk/worker"
"go.uber.org/zap"
)

Expand Down Expand Up @@ -80,6 +80,7 @@ func (a *activity) Init() ([]worker.Worker, error) {
)
}

wi[i].Options.DisableWorkflowWorker = true
wrk := worker.New(a.client, wi[i].TaskQueue, wi[i].Options)

for j := 0; j < len(wi[i].Activities); j++ {
Expand Down
27 changes: 12 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ require (
github.com/roadrunner-server/config/v2 v2.8.0-rc.3
github.com/roadrunner-server/endure v1.2.1
github.com/roadrunner-server/errors v1.1.1
github.com/roadrunner-server/goridge/v3 v3.3.0
github.com/roadrunner-server/goridge/v3 v3.3.1
github.com/roadrunner-server/informer/v2 v2.8.0-rc.1
github.com/roadrunner-server/logger/v2 v2.8.0-rc.1
github.com/roadrunner-server/logger/v2 v2.8.0-rc.2
github.com/roadrunner-server/resetter/v2 v2.8.0-rc.1
github.com/roadrunner-server/rpc/v2 v2.8.0-rc.1
github.com/roadrunner-server/sdk/v2 v2.8.0-rc.1
github.com/roadrunner-server/sdk/v2 v2.8.0-rc.2
github.com/roadrunner-server/server/v2 v2.8.0-rc.1
github.com/spiral/sdk-go v1.12.0
github.com/spiral/sdk-go/contrib/tally v0.0.0-20211210212330-614642034d01
github.com/stretchr/testify v1.7.0
github.com/uber-go/tally/v4 v4.1.1
go.temporal.io/api v1.7.0
go.temporal.io/sdk v1.13.0
go.temporal.io/sdk/contrib/tally v0.1.0
go.uber.org/zap v1.20.0
google.golang.org/protobuf v1.27.1
)
Expand All @@ -43,22 +43,19 @@ require (
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/hashicorp/go-version v1.4.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.12.0
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/roadrunner-server/tcplisten v1.1.0 // indirect
github.com/roadrunner-server/tcplisten v1.1.1 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/spf13/afero v1.8.0 // indirect
Expand All @@ -69,21 +66,21 @@ require (
github.com/stretchr/objx v0.3.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/tklauser/go-sysconf v0.3.9 // indirect
github.com/tklauser/numcpus v0.3.0 // indirect
github.com/tklauser/numcpus v0.4.0 // indirect
github.com/twmb/murmur3 v1.1.6 // indirect
github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/goleak v1.1.12 // indirect
go.uber.org/multierr v1.7.0 // indirect
golang.org/x/net v0.0.0-20220121210141-e204ce36a2ba // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
google.golang.org/genproto v0.0.0-20220118154757-00ab72f36ad5 // indirect
google.golang.org/grpc v1.43.0 // indirect
google.golang.org/genproto v0.0.0-20220201184016-50beb8ab5c44 // indirect
google.golang.org/grpc v1.44.0 // indirect
gopkg.in/ini.v1 v1.66.3 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading

0 comments on commit a4ab14e

Please sign in to comment.