diff --git a/.build-tools/go.mod b/.build-tools/go.mod index 72346de02..58f6ed770 100644 --- a/.build-tools/go.mod +++ b/.build-tools/go.mod @@ -18,5 +18,3 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/.github/infrastructure/conformance/temporal/worker/go.mod b/.github/infrastructure/conformance/temporal/worker/go.mod index d86f39dc5..4fc6c3bc3 100644 --- a/.github/infrastructure/conformance/temporal/worker/go.mod +++ b/.github/infrastructure/conformance/temporal/worker/go.mod @@ -33,5 +33,3 @@ require ( google.golang.org/protobuf v1.28.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/bindings/http/http.go b/bindings/http/http.go index ccf629f6d..56734c213 100644 --- a/bindings/http/http.go +++ b/bindings/http/http.go @@ -16,10 +16,15 @@ package http import ( "bytes" "context" + "crypto/tls" + "crypto/x509" + "encoding/pem" + "errors" "fmt" "io" "net" "net/http" + "os" "strconv" "strings" "time" @@ -32,6 +37,13 @@ import ( "github.com/dapr/kit/logger" ) +const ( + MTLSEnable = "MTLSEnable" + MTLSRootCA = "MTLSRootCA" + MTLSClientCert = "MTLSClientCert" + MTLSClientKey = "MTLSClientKey" +) + // HTTPSource is a binding for an http url endpoint invocation // //revive:disable-next-line @@ -43,7 +55,10 @@ type HTTPSource struct { } type httpMetadata struct { - URL string `mapstructure:"url"` + URL string `mapstructure:"url"` + MTLSClientCert string `mapstructure:"mtlsClientCert"` + MTLSClientKey string `mapstructure:"mtlsClientKey"` + MTLSRootCA string `mapstructure:"mtlsRootCA"` } // NewHTTP returns a new HTTPSource. @@ -53,9 +68,17 @@ func NewHTTP(logger logger.Logger) bindings.OutputBinding { // Init performs metadata parsing. func (h *HTTPSource) Init(metadata bindings.Metadata) error { - if err := mapstructure.Decode(metadata.Properties, &h.metadata); err != nil { + var err error + if err = mapstructure.Decode(metadata.Properties, &h.metadata); err != nil { return err } + var tlsConfig *tls.Config + if h.metadata.MTLSClientCert != "" && h.metadata.MTLSClientKey != "" { + tlsConfig, err = h.readMTLSCertificates() + if err != nil { + return err + } + } // See guidance on proper HTTP client settings here: // https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779 @@ -66,6 +89,9 @@ func (h *HTTPSource) Init(metadata bindings.Metadata) error { Dial: dialer.Dial, TLSHandshakeTimeout: 5 * time.Second, } + if tlsConfig != nil && len(tlsConfig.Certificates) > 0 && tlsConfig.RootCAs != nil { + netTransport.TLSClientConfig = tlsConfig + } h.client = &http.Client{ Timeout: time.Second * 30, Transport: netTransport, @@ -81,6 +107,66 @@ func (h *HTTPSource) Init(metadata bindings.Metadata) error { return nil } +// readMTLSCertificates reads the certificates and key from the metadata and returns a tls.Config. +func (h *HTTPSource) readMTLSCertificates() (*tls.Config, error) { + clientCertBytes, err := h.getPemBytes(MTLSClientCert, h.metadata.MTLSClientCert) + if err != nil { + return nil, err + } + clientKeyBytes, err := h.getPemBytes(MTLSClientKey, h.metadata.MTLSClientKey) + if err != nil { + return nil, err + } + cert, err := tls.X509KeyPair(clientCertBytes, clientKeyBytes) + if err != nil { + return nil, fmt.Errorf("failed to load client certificate: %w", err) + } + tlsConfig := &tls.Config{ + MinVersion: tls.VersionTLS12, + Certificates: []tls.Certificate{cert}, + } + if h.metadata.MTLSRootCA != "" { + caCertBytes, err := h.getPemBytes(MTLSRootCA, h.metadata.MTLSRootCA) + if err != nil { + return nil, err + } + caCertPool := x509.NewCertPool() + ok := caCertPool.AppendCertsFromPEM(caCertBytes) + if !ok { + return nil, errors.New("failed to add root certificate to certpool") + } + tlsConfig.RootCAs = caCertPool + } + + return tlsConfig, nil +} + +// getPemBytes returns the PEM encoded bytes from the provided certName and certData. +// If the certData is a file path, it reads the file and returns the bytes. +// Else if the certData is a PEM encoded string, it returns the bytes. +// Else it returns an error. +func (h *HTTPSource) getPemBytes(certName, certData string) ([]byte, error) { + // Read the file + pemBytes, err := os.ReadFile(certData) + // If there is an error assume it is already PEM encoded string not a file path. + if err != nil { + if !errors.Is(err, os.ErrNotExist) { + return nil, fmt.Errorf("failed to read %q file: %w", certName, err) + } + if !isValidPEM(certData) { + return nil, fmt.Errorf("provided %q value is neither a valid file path or nor a valid pem encoded string", certName) + } + return []byte(certData), nil + } + return pemBytes, nil +} + +// isValidPEM validates the provided input has PEM formatted block. +func isValidPEM(val string) bool { + block, _ := pem.Decode([]byte(val)) + return block != nil +} + // Operations returns the supported operations for this binding. func (h *HTTPSource) Operations() []bindings.OperationKind { return []bindings.OperationKind{ diff --git a/bindings/http/http_test.go b/bindings/http/http_test.go index d88e8aad4..c045b9434 100644 --- a/bindings/http/http_test.go +++ b/bindings/http/http_test.go @@ -15,9 +15,14 @@ package http_test import ( "context" + "crypto/tls" + "crypto/x509" + "fmt" "io" "net/http" "net/http/httptest" + "os" + "path/filepath" "strconv" "strings" "testing" @@ -142,7 +147,160 @@ func TestDefaultBehavior(t *testing.T) { hs, err := InitBinding(s, nil) require.NoError(t, err) + verifyDefaultBehaviors(t, hs, handler) +} +func TestNon2XXErrorsSuppressed(t *testing.T) { + handler := NewHTTPHandler() + s := httptest.NewServer(handler) + defer s.Close() + + hs, err := InitBinding(s, map[string]string{"errorIfNot2XX": "false"}) + require.NoError(t, err) + verifyNon2XXErrorsSuppressed(t, hs, handler) +} + +func InitBindingForHTTPS(s *httptest.Server, extraProps map[string]string) (bindings.OutputBinding, error) { + m := bindings.Metadata{Base: metadata.Base{ + Properties: map[string]string{ + "url": s.URL, + }, + }} + for k, v := range extraProps { + m.Properties[k] = v + } + hs := bindingHttp.NewHTTP(logger.NewLogger("test")) + err := hs.Init(m) + return hs, err +} + +func httpsHandler(w http.ResponseWriter, r *http.Request) { + // r.TLS gets ignored by HTTP handlers. + // in case where client auth is not required, r.TLS.PeerCertificates will be empty. + res := fmt.Sprintf("%v", len(r.TLS.PeerCertificates)) + io.WriteString(w, res) +} + +func TestDefaultBehaviorHTTPS(t *testing.T) { + handler := NewHTTPHandler() + server := setupHTTPSServer(t, true, handler) + defer server.Close() + + certMap := map[string]string{ + "MTLSRootCA": filepath.Join(".", "testdata", "ca.pem"), + "MTLSClientCert": filepath.Join(".", "testdata", "client.pem"), + "MTLSClientKey": filepath.Join(".", "testdata", "client.key"), + } + hs, err := InitBindingForHTTPS(server, certMap) + require.NoError(t, err) + + verifyDefaultBehaviors(t, hs, handler) +} + +func TestNon2XXErrorsSuppressedHTTPS(t *testing.T) { + handler := NewHTTPHandler() + server := setupHTTPSServer(t, true, handler) + defer server.Close() + + certMap := map[string]string{ + "MTLSRootCA": filepath.Join(".", "testdata", "ca.pem"), + "MTLSClientCert": filepath.Join(".", "testdata", "client.pem"), + "MTLSClientKey": filepath.Join(".", "testdata", "client.key"), + "errorIfNot2XX": "false", + } + hs, err := InitBindingForHTTPS(server, certMap) + require.NoError(t, err) + verifyNon2XXErrorsSuppressed(t, hs, handler) +} + +func TestHTTPSBinding(t *testing.T) { + handler := http.NewServeMux() + handler.HandleFunc("/testhttps", httpsHandler) + server := setupHTTPSServer(t, true, handler) + defer server.Close() + t.Run("get with https with valid client cert and clientAuthEnabled true", func(t *testing.T) { + certMap := map[string]string{ + "MTLSRootCA": filepath.Join(".", "testdata", "ca.pem"), + "MTLSClientCert": filepath.Join(".", "testdata", "client.pem"), + "MTLSClientKey": filepath.Join(".", "testdata", "client.key"), + } + hs, err := InitBindingForHTTPS(server, certMap) + require.NoError(t, err) + + req := TestCase{ + input: "GET", + operation: "get", + metadata: map[string]string{"path": "/testhttps"}, + path: "/testhttps", + err: "", + statusCode: 200, + }.ToInvokeRequest() + response, err := hs.Invoke(context.Background(), &req) + assert.NoError(t, err) + peerCerts, err := strconv.Atoi(string(response.Data)) + assert.NoError(t, err) + assert.True(t, peerCerts > 0) + + req = TestCase{ + input: "EXPECTED", + operation: "post", + metadata: map[string]string{"path": "/testhttps"}, + path: "/testhttps", + err: "", + statusCode: 201, + }.ToInvokeRequest() + response, err = hs.Invoke(context.Background(), &req) + assert.NoError(t, err) + peerCerts, err = strconv.Atoi(string(response.Data)) + assert.NoError(t, err) + assert.True(t, peerCerts > 0) + }) + t.Run("get with https with no client cert and clientAuthEnabled true", func(t *testing.T) { + certMap := map[string]string{} + hs, err := InitBindingForHTTPS(server, certMap) + require.NoError(t, err) + + req := TestCase{ + input: "GET", + operation: "get", + metadata: map[string]string{"path": "/testhttps"}, + path: "/testhttps", + err: "", + statusCode: 200, + }.ToInvokeRequest() + _, err = hs.Invoke(context.Background(), &req) + assert.Error(t, err) + }) +} + +func setupHTTPSServer(t *testing.T, clientAuthEnabled bool, handler http.Handler) *httptest.Server { + server := httptest.NewUnstartedServer(handler) + caCertFile, err := os.ReadFile(filepath.Join(".", "testdata", "ca.pem")) + assert.NoError(t, err) + + caCertPool := x509.NewCertPool() + caCertPool.AppendCertsFromPEM(caCertFile) + + serverCert := filepath.Join(".", "testdata", "server.pem") + serverKey := filepath.Join(".", "testdata", "server.key") + cert, err := tls.LoadX509KeyPair(serverCert, serverKey) + assert.NoError(t, err) + + // Create the TLS Config with the CA pool and enable Client certificate validation + tlsConfig := &tls.Config{ + MinVersion: tls.VersionTLS12, + ClientCAs: caCertPool, + Certificates: []tls.Certificate{cert}, + } + if clientAuthEnabled { + tlsConfig.ClientAuth = tls.RequireAndVerifyClientCert + } + server.TLS = tlsConfig + server.StartTLS() + return server +} + +func verifyDefaultBehaviors(t *testing.T, hs bindings.OutputBinding, handler *HTTPHandler) { tests := map[string]TestCase{ "get": { input: "GET", @@ -269,7 +427,7 @@ func TestDefaultBehavior(t *testing.T) { for name, tc := range tests { t.Run(name, func(t *testing.T) { req := tc.ToInvokeRequest() - response, err := hs.Invoke(context.TODO(), &req) + response, err := hs.Invoke(context.Background(), &req) if tc.err == "" { require.NoError(t, err) assert.Equal(t, tc.path, handler.Path) @@ -286,14 +444,7 @@ func TestDefaultBehavior(t *testing.T) { } } -func TestNon2XXErrorsSuppressed(t *testing.T) { - handler := NewHTTPHandler() - s := httptest.NewServer(handler) - defer s.Close() - - hs, err := InitBinding(s, map[string]string{"errorIfNot2XX": "false"}) - require.NoError(t, err) - +func verifyNon2XXErrorsSuppressed(t *testing.T, hs bindings.OutputBinding, handler *HTTPHandler) { tests := map[string]TestCase{ "internal server error": { input: "internal server error", @@ -348,7 +499,7 @@ func TestNon2XXErrorsSuppressed(t *testing.T) { for name, tc := range tests { t.Run(name, func(t *testing.T) { req := tc.ToInvokeRequest() - response, err := hs.Invoke(context.TODO(), &req) + response, err := hs.Invoke(context.Background(), &req) if tc.err == "" { require.NoError(t, err) assert.Equal(t, tc.path, handler.Path) diff --git a/bindings/http/metadata.yaml b/bindings/http/metadata.yaml index 44d435c04..007ed5ec3 100644 --- a/bindings/http/metadata.yaml +++ b/bindings/http/metadata.yaml @@ -39,3 +39,18 @@ metadata: # If omitted, uses the same values as ".binding" binding: output: true + - name: MTLSRootCA + required: false + description: "The CA certificate used to generate the client certificate" + binding: + output: true + - name: MTLSClientCert + required: false + description: "The client certificate to present to server to enable client verification" + binding: + output: true + - name: MTLSClientKey + required: false + description: "The client certificate key to present to server to enable client verification" + binding: + output: true diff --git a/bindings/http/testdata/ca.pem b/bindings/http/testdata/ca.pem new file mode 100644 index 000000000..ff1543162 --- /dev/null +++ b/bindings/http/testdata/ca.pem @@ -0,0 +1,14 @@ +-----BEGIN CERTIFICATE----- +MIICHzCCAcWgAwIBAgIUVmulwhIO5Y2A8ACi3OcX94denFEwCgYIKoZIzj0EAwIw +UDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQswCQYDVQQHDAJIWTETMBEGA1UE +CgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxob3N0MB4XDTIzMDEwNjEwMDI0 +NVoXDTI0MDEwNjEwMDI0NVowUDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQsw +CQYDVQQHDAJIWTETMBEGA1UECgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxo +b3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE03ecfl+LFMzocftTCwpYrcJK +YwutP6My8ZNfELp0IUqvMyTCgG3o08niA4GrUGaP73wyUFhO6UaswvFccBI92aN9 +MHswDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0lBBYwFAYI +KwYBBQUHAwEGCCsGAQUFBwMCMBoGA1UdEQQTMBGCCWxvY2FsaG9zdIcEfwAAATAd +BgNVHQ4EFgQUmYArK7rKcVh57kzZXYMze2RiNrMwCgYIKoZIzj0EAwIDSAAwRQIg +QtSMNNo+OWONVB4HfyV5UwjxyMxGmJwNt8qh99PWS2UCIQCyzZzBUOwNAHQv/T3D +IsCxyWZQ37yZpvS82Z/SnCIZuw== +-----END CERTIFICATE----- diff --git a/bindings/http/testdata/client.key b/bindings/http/testdata/client.key new file mode 100644 index 000000000..e77ee31d4 --- /dev/null +++ b/bindings/http/testdata/client.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIEobWR8PduGHOPY+T/Id/bNmjS8cjRQ+UID4NnCaROgmoAoGCCqGSM49 +AwEHoUQDQgAEKx7xYU7DGNX+WDo5QzJGkIvrqhqbw1ZaNKe5h2QREJwwIB2X5TyT +DYaNfhqXc8IOB9si4GJ2x0JhyeoAvi/U8w== +-----END EC PRIVATE KEY----- diff --git a/bindings/http/testdata/client.pem b/bindings/http/testdata/client.pem new file mode 100644 index 000000000..263b686db --- /dev/null +++ b/bindings/http/testdata/client.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICRjCCAeugAwIBAgIUKCvur/fviGKJDitDggTtIkwQMxIwCgYIKoZIzj0EAwIw +UDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQswCQYDVQQHDAJIWTETMBEGA1UE +CgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxob3N0MB4XDTIzMDEwNjEwMDI0 +NVoXDTI0MDEwNjEwMDI0NVowUDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQsw +CQYDVQQHDAJIWTETMBEGA1UECgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxo +b3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKx7xYU7DGNX+WDo5QzJGkIvr +qhqbw1ZaNKe5h2QREJwwIB2X5TyTDYaNfhqXc8IOB9si4GJ2x0JhyeoAvi/U86OB +ojCBnzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUE +FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/ +AAABMB0GA1UdDgQWBBRHcmSCVapIorD+/O1T+ySlkwEI+zAfBgNVHSMEGDAWgBSZ +gCsruspxWHnuTNldgzN7ZGI2szAKBggqhkjOPQQDAgNJADBGAiEAh+c11VmTeiv3 +v4sRikMeiLkneDUl1wuLfffZbCLXsXkCIQC9bfk8RlH5aTTJ6Xrpz5oVyxU58v7E +2HVuTU281m67bw== +-----END CERTIFICATE----- diff --git a/bindings/http/testdata/server.key b/bindings/http/testdata/server.key new file mode 100644 index 000000000..2c895567a --- /dev/null +++ b/bindings/http/testdata/server.key @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBdj4qCqbLVvFqjcv14xthAm+YGghrMe6uHbE6nKg93EoAoGCCqGSM49 +AwEHoUQDQgAEJup13iQfS72fRxN9JLJDLP0tel4F8bmxEfcHjvKMGJaupvvtHgZm +tlYlY6evzE6yIN5mUIcBqCWzpN+aCPBwqw== +-----END EC PRIVATE KEY----- diff --git a/bindings/http/testdata/server.pem b/bindings/http/testdata/server.pem new file mode 100644 index 000000000..8203a2d41 --- /dev/null +++ b/bindings/http/testdata/server.pem @@ -0,0 +1,15 @@ +-----BEGIN CERTIFICATE----- +MIICRjCCAeugAwIBAgIUXpf5hT8jws5FV65ZFdVUITeldAYwCgYIKoZIzj0EAwIw +UDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQswCQYDVQQHDAJIWTETMBEGA1UE +CgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxob3N0MB4XDTIzMDEwNjEwMDI0 +NVoXDTI0MDEwNjEwMDI0NVowUDELMAkGA1UEBhMCSU4xCzAJBgNVBAgMAlRTMQsw +CQYDVQQHDAJIWTETMBEGA1UECgwKRGFwciBXb3JsZDESMBAGA1UEAwwJbG9jYWxo +b3N0MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJup13iQfS72fRxN9JLJDLP0t +el4F8bmxEfcHjvKMGJaupvvtHgZmtlYlY6evzE6yIN5mUIcBqCWzpN+aCPBwq6OB +ojCBnzASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUE +FjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwGgYDVR0RBBMwEYIJbG9jYWxob3N0hwR/ +AAABMB0GA1UdDgQWBBRkZKt5a3/g5ea0eVufjBT3QL5xkTAfBgNVHSMEGDAWgBSZ +gCsruspxWHnuTNldgzN7ZGI2szAKBggqhkjOPQQDAgNJADBGAiEAkO5nX2Eofa0k +R+u1zIiwJilwzgI9A2WnnvLWWmKiQkQCIQDtoS4x1bKaPyCTtLJ91fwSPxWdexhQ +CDsniMd431J38g== +-----END CERTIFICATE----- diff --git a/go.mod b/go.mod index 9b6a095c1..2d3b0a4ee 100644 --- a/go.mod +++ b/go.mod @@ -388,5 +388,3 @@ replace github.com/toolkits/concurrent => github.com/niean/gotools v0.0.0-201512 // this is a fork which addresses a performance issues due to go routines replace dubbo.apache.org/dubbo-go/v3 => dubbo.apache.org/dubbo-go/v3 v3.0.3-0.20220610080020-48691a404537 - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/middleware/http/wasm/example/go.mod b/middleware/http/wasm/example/go.mod index 28f6f597b..6b117f794 100644 --- a/middleware/http/wasm/example/go.mod +++ b/middleware/http/wasm/example/go.mod @@ -3,5 +3,3 @@ module github.com/dapr/components-contrib/middleware/wasm/example go 1.19 require github.com/http-wasm/http-wasm-guest-tinygo v0.1.0 - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/middleware/http/wasm/internal/e2e-guests/go.mod b/middleware/http/wasm/internal/e2e-guests/go.mod index ed5d74459..9d8f47562 100644 --- a/middleware/http/wasm/internal/e2e-guests/go.mod +++ b/middleware/http/wasm/internal/e2e-guests/go.mod @@ -3,5 +3,3 @@ module github.com/dapr/components-contrib/middleware/wasm/internal go 1.19 require github.com/http-wasm/http-wasm-guest-tinygo v0.1.0 - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/pubsub/jetstream/jetstream.go b/pubsub/jetstream/jetstream.go index 3965cb0a5..8f28cbbd7 100644 --- a/pubsub/jetstream/jetstream.go +++ b/pubsub/jetstream/jetstream.go @@ -166,8 +166,8 @@ func (js *jetstreamPubSub) Subscribe(ctx context.Context, req pubsub.SubscribeRe if js.meta.rateLimit != 0 { consumerConfig.RateLimit = js.meta.rateLimit } - if js.meta.hearbeat != 0 { - consumerConfig.Heartbeat = js.meta.hearbeat + if js.meta.heartbeat != 0 { + consumerConfig.Heartbeat = js.meta.heartbeat } consumerConfig.AckPolicy = js.meta.ackPolicy consumerConfig.FilterSubject = req.Topic diff --git a/pubsub/jetstream/metadata.go b/pubsub/jetstream/metadata.go index c11408a40..ef14da011 100644 --- a/pubsub/jetstream/metadata.go +++ b/pubsub/jetstream/metadata.go @@ -48,7 +48,7 @@ type metadata struct { replicas int memoryStorage bool rateLimit uint64 - hearbeat time.Duration + heartbeat time.Duration deliverPolicy nats.DeliverPolicy ackPolicy nats.AckPolicy domain string @@ -141,8 +141,8 @@ func parseMetadata(psm pubsub.Metadata) (metadata, error) { m.rateLimit = v } - if v, err := time.ParseDuration(psm.Properties["hearbeat"]); err == nil { - m.hearbeat = v + if v, err := time.ParseDuration(psm.Properties["heartbeat"]); err == nil { + m.heartbeat = v } if domain := psm.Properties["domain"]; domain != "" { diff --git a/pubsub/jetstream/metadata_test.go b/pubsub/jetstream/metadata_test.go index dedce4b86..7b1e4785a 100644 --- a/pubsub/jetstream/metadata_test.go +++ b/pubsub/jetstream/metadata_test.go @@ -49,7 +49,7 @@ func TestParseMetadata(t *testing.T) { "replicas": "3", "memoryStorage": "true", "rateLimit": "20000", - "hearbeat": "1s", + "heartbeat": "1s", "domain": "hub", }, }}, @@ -68,7 +68,7 @@ func TestParseMetadata(t *testing.T) { replicas: 3, memoryStorage: true, rateLimit: 20000, - hearbeat: time.Second * 1, + heartbeat: time.Second * 1, deliverPolicy: nats.DeliverAllPolicy, ackPolicy: nats.AckExplicitPolicy, domain: "hub", @@ -92,7 +92,7 @@ func TestParseMetadata(t *testing.T) { "replicas": "3", "memoryStorage": "true", "rateLimit": "20000", - "hearbeat": "1s", + "heartbeat": "1s", "token": "myToken", "deliverPolicy": "sequence", "startSequence": "5", @@ -115,7 +115,7 @@ func TestParseMetadata(t *testing.T) { replicas: 3, memoryStorage: true, rateLimit: 20000, - hearbeat: time.Second * 1, + heartbeat: time.Second * 1, token: "myToken", deliverPolicy: nats.DeliverByStartSequencePolicy, ackPolicy: nats.AckAllPolicy, diff --git a/state/aws/dynamodb/dynamodb.go b/state/aws/dynamodb/dynamodb.go index ca1521d79..f1eb010cc 100644 --- a/state/aws/dynamodb/dynamodb.go +++ b/state/aws/dynamodb/dynamodb.go @@ -39,6 +39,7 @@ type StateStore struct { client dynamodbiface.DynamoDBAPI table string ttlAttributeName string + partitionKey string } type dynamoDBMetadata struct { @@ -49,15 +50,19 @@ type dynamoDBMetadata struct { SessionToken string `json:"sessionToken"` Table string `json:"table"` TTLAttributeName string `json:"ttlAttributeName"` + PartitionKey string `json:"partitionKey"` } const ( - metadataPartitionKey = "partitionKey" + defaultPartitionKeyName = "key" + metadataPartitionKey = "partitionKey" ) // NewDynamoDBStateStore returns a new dynamoDB state store. func NewDynamoDBStateStore(_ logger.Logger) state.Store { - return &StateStore{} + return &StateStore{ + partitionKey: defaultPartitionKeyName, + } } // Init does metadata and connection parsing. @@ -75,6 +80,7 @@ func (d *StateStore) Init(metadata state.Metadata) error { d.client = client d.table = meta.Table d.ttlAttributeName = meta.TTLAttributeName + d.partitionKey = meta.PartitionKey return nil } @@ -90,8 +96,8 @@ func (d *StateStore) Get(ctx context.Context, req *state.GetRequest) (*state.Get ConsistentRead: aws.Bool(req.Options.Consistency == state.Strong), TableName: aws.String(d.table), Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(populatePartitionMetadata(req.Key, req.Metadata)), + d.partitionKey: { + S: aws.String(req.Key), }, }, } @@ -227,8 +233,8 @@ func (d *StateStore) BulkSet(ctx context.Context, req []state.SetRequest) error func (d *StateStore) Delete(ctx context.Context, req *state.DeleteRequest) error { input := &dynamodb.DeleteItemInput{ Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(populatePartitionMetadata(req.Key, req.Metadata)), + d.partitionKey: { + S: aws.String(req.Key), }, }, TableName: aws.String(d.table), @@ -271,8 +277,8 @@ func (d *StateStore) BulkDelete(ctx context.Context, req []state.DeleteRequest) writeRequest := &dynamodb.WriteRequest{ DeleteRequest: &dynamodb.DeleteRequest{ Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(populatePartitionMetadata(r.Key, r.Metadata)), + d.partitionKey: { + S: aws.String(r.Key), }, }, }, @@ -303,6 +309,7 @@ func (d *StateStore) getDynamoDBMetadata(meta state.Metadata) (*dynamoDBMetadata if m.Table == "" { return nil, fmt.Errorf("missing dynamodb table name") } + m.PartitionKey = populatePartitionMetadata(meta.Properties, defaultPartitionKeyName) return &m, err } @@ -318,10 +325,9 @@ func (d *StateStore) getClient(metadata *dynamoDBMetadata) (*dynamodb.DynamoDB, // getItemFromReq converts a dapr state.SetRequest into an dynamodb item func (d *StateStore) getItemFromReq(req *state.SetRequest) (map[string]*dynamodb.AttributeValue, error) { - partitionKey := populatePartitionMetadata(req.Key, req.Metadata) value, err := d.marshalToString(req.Value) if err != nil { - return nil, fmt.Errorf("dynamodb error: failed to set key %s: %s", partitionKey, err) + return nil, fmt.Errorf("dynamodb error: failed to marshal value for key %s: %s", req.Key, err) } ttl, err := d.parseTTL(req) @@ -335,8 +341,8 @@ func (d *StateStore) getItemFromReq(req *state.SetRequest) (map[string]*dynamodb } item := map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(partitionKey), + d.partitionKey: { + S: aws.String(req.Key), }, "value": { S: aws.String(value), @@ -393,11 +399,11 @@ func (d *StateStore) parseTTL(req *state.SetRequest) (*int64, error) { } // This is a helper to return the partition key to use. If if metadata["partitionkey"] is present, -// use that, otherwise use what's in "key". -func populatePartitionMetadata(key string, requestMetadata map[string]string) string { +// use that, otherwise use default primay key "key". +func populatePartitionMetadata(requestMetadata map[string]string, defaultPartitionKeyName string) string { if val, found := requestMetadata[metadataPartitionKey]; found { return val } - return key + return defaultPartitionKeyName } diff --git a/state/aws/dynamodb/dynamodb_test.go b/state/aws/dynamodb/dynamodb_test.go index 426c869d0..ffd71a57c 100644 --- a/state/aws/dynamodb/dynamodb_test.go +++ b/state/aws/dynamodb/dynamodb_test.go @@ -70,6 +70,12 @@ func (m *mockedDynamoDB) BatchWriteItemWithContext(ctx context.Context, input *d func TestInit(t *testing.T) { m := state.Metadata{} s := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + + t.Run("NewDynamoDBStateStore Default Partition Key", func(t *testing.T) { + assert.NotNil(t, s) + assert.Equal(t, s.partitionKey, defaultPartitionKeyName) + }) + t.Run("Init with valid metadata", func(t *testing.T) { m.Properties = map[string]string{ "AccessKey": "a", @@ -100,29 +106,40 @@ func TestInit(t *testing.T) { err := s.Init(m) assert.Nil(t, err) }) + + t.Run("Init with partition key", func(t *testing.T) { + pkey := "pkey" + m.Properties = map[string]string{ + "Table": "a", + "partitionKey": pkey, + } + err := s.Init(m) + assert.Nil(t, err) + assert.Equal(t, s.partitionKey, pkey) + }) } func TestGet(t *testing.T) { t.Run("Successfully retrieve item", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - GetItemWithContextFn: func(ctx context.Context, input *dynamodb.GetItemInput, op ...request.Option) (output *dynamodb.GetItemOutput, err error) { - return &dynamodb.GetItemOutput{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("someKey"), - }, - "value": { - S: aws.String("some value"), - }, - "etag": { - S: aws.String("1bdead4badc0ffee"), - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + GetItemWithContextFn: func(ctx context.Context, input *dynamodb.GetItemInput, op ...request.Option) (output *dynamodb.GetItemOutput, err error) { + return &dynamodb.GetItemOutput{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("someKey"), }, - }, nil - }, + "value": { + S: aws.String("some value"), + }, + "etag": { + S: aws.String("1bdead4badc0ffee"), + }, + }, + }, nil }, } + req := &state.GetRequest{ Key: "someKey", Metadata: nil, @@ -273,45 +290,6 @@ func TestGet(t *testing.T) { assert.Nil(t, err) assert.Empty(t, out.Data) }) - t.Run("Successfully retrieve item with metadata partition key", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - GetItemWithContextFn: func(ctx context.Context, input *dynamodb.GetItemInput, op ...request.Option) (output *dynamodb.GetItemOutput, err error) { - if *input.Key["key"].S != pkey { - return &dynamodb.GetItemOutput{ - Item: map[string]*dynamodb.AttributeValue{}, - }, nil - } - return &dynamodb.GetItemOutput{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: input.Key["key"].S, - }, - "value": { - S: aws.String("some value"), - }, - "etag": { - S: aws.String("1bdead4badc0ffee"), - }, - }, - }, nil - }, - }, - } - req := &state.GetRequest{ - Key: "someKey", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - Options: state.GetStateOption{ - Consistency: "strong", - }, - } - out, err := ss.Get(context.Background(), req) - assert.Nil(t, err) - assert.Equal(t, []byte("some value"), out.Data) - assert.Equal(t, "1bdead4badc0ffee", *out.ETag) - }) } func TestSet(t *testing.T) { @@ -320,25 +298,24 @@ func TestSet(t *testing.T) { } t.Run("Successfully set item", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("key"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("key"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"value"}`), + }, *input.Item["value"]) + assert.Equal(t, len(input.Item), 3) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, } req := &state.SetRequest{ @@ -352,29 +329,28 @@ func TestSet(t *testing.T) { }) t.Run("Successfully set item with matching etag", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("key"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, "etag = :etag", *input.ConditionExpression) - assert.Equal(t, &dynamodb.AttributeValue{ - S: aws.String("1bdead4badc0ffee"), - }, input.ExpressionAttributeValues[":etag"]) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("key"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"value"}`), + }, *input.Item["value"]) + assert.Equal(t, "etag = :etag", *input.ConditionExpression) + assert.Equal(t, &dynamodb.AttributeValue{ + S: aws.String("1bdead4badc0ffee"), + }, input.ExpressionAttributeValues[":etag"]) + assert.Equal(t, len(input.Item), 3) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, } etag := "1bdead4badc0ffee" @@ -390,24 +366,23 @@ func TestSet(t *testing.T) { }) t.Run("Unsuccessfully set item with mismatched etag", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("key"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, "etag = :etag", *input.ConditionExpression) - assert.Equal(t, &dynamodb.AttributeValue{ - S: aws.String("bogusetag"), - }, input.ExpressionAttributeValues[":etag"]) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("key"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"value"}`), + }, *input.Item["value"]) + assert.Equal(t, "etag = :etag", *input.ConditionExpression) + assert.Equal(t, &dynamodb.AttributeValue{ + S: aws.String("bogusetag"), + }, input.ExpressionAttributeValues[":etag"]) + assert.Equal(t, len(input.Item), 3) - var checkErr dynamodb.ConditionalCheckFailedException - return nil, &checkErr - }, + var checkErr dynamodb.ConditionalCheckFailedException + return nil, &checkErr }, } etag := "bogusetag" @@ -430,26 +405,25 @@ func TestSet(t *testing.T) { }) t.Run("Successfully set item with first-write-concurrency", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("key"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, "attribute_not_exists(etag)", *input.ConditionExpression) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("key"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"value"}`), + }, *input.Item["value"]) + assert.Equal(t, "attribute_not_exists(etag)", *input.ConditionExpression) + assert.Equal(t, len(input.Item), 3) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, } req := &state.SetRequest{ @@ -466,21 +440,20 @@ func TestSet(t *testing.T) { }) t.Run("Unsuccessfully set item with first-write-concurrency", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("key"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, "attribute_not_exists(etag)", *input.ConditionExpression) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("key"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"value"}`), + }, *input.Item["value"]) + assert.Equal(t, "attribute_not_exists(etag)", *input.ConditionExpression) + assert.Equal(t, len(input.Item), 3) - var checkErr dynamodb.ConditionalCheckFailedException - return nil, &checkErr - }, + var checkErr dynamodb.ConditionalCheckFailedException + return nil, &checkErr }, } req := &state.SetRequest{ @@ -502,28 +475,28 @@ func TestSet(t *testing.T) { }) t.Run("Successfully set item with ttl = -1", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, len(input.Item), 4) - result := DynamoDBItem{} - dynamodbattribute.UnmarshalMap(input.Item, &result) - assert.Equal(t, result.Key, "someKey") - assert.Equal(t, result.Value, "{\"Value\":\"someValue\"}") - assert.Greater(t, result.TestAttributeName, time.Now().Unix()-2) - assert.Less(t, result.TestAttributeName, time.Now().Unix()) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, len(input.Item), 4) + result := DynamoDBItem{} + dynamodbattribute.UnmarshalMap(input.Item, &result) + assert.Equal(t, result.Key, "someKey") + assert.Equal(t, result.Value, "{\"Value\":\"someValue\"}") + assert.Greater(t, result.TestAttributeName, time.Now().Unix()-2) + assert.Less(t, result.TestAttributeName, time.Now().Unix()) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, - ttlAttributeName: "testAttributeName", } + ss.ttlAttributeName = "testAttributeName" + req := &state.SetRequest{ Key: "someKey", Value: value{ @@ -537,28 +510,28 @@ func TestSet(t *testing.T) { assert.Nil(t, err) }) t.Run("Successfully set item with 'correct' ttl", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, len(input.Item), 4) - result := DynamoDBItem{} - dynamodbattribute.UnmarshalMap(input.Item, &result) - assert.Equal(t, result.Key, "someKey") - assert.Equal(t, result.Value, "{\"Value\":\"someValue\"}") - assert.Greater(t, result.TestAttributeName, time.Now().Unix()+180-1) - assert.Less(t, result.TestAttributeName, time.Now().Unix()+180+1) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, len(input.Item), 4) + result := DynamoDBItem{} + dynamodbattribute.UnmarshalMap(input.Item, &result) + assert.Equal(t, result.Key, "someKey") + assert.Equal(t, result.Value, "{\"Value\":\"someValue\"}") + assert.Greater(t, result.TestAttributeName, time.Now().Unix()+180-1) + assert.Less(t, result.TestAttributeName, time.Now().Unix()+180+1) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, - ttlAttributeName: "testAttributeName", } + ss.ttlAttributeName = "testAttributeName" + req := &state.SetRequest{ Key: "someKey", Value: value{ @@ -573,11 +546,10 @@ func TestSet(t *testing.T) { }) t.Run("Unsuccessfully set item", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - return nil, fmt.Errorf("unable to put item") - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + return nil, fmt.Errorf("unable to put item") }, } req := &state.SetRequest{ @@ -590,25 +562,24 @@ func TestSet(t *testing.T) { assert.NotNil(t, err) }) t.Run("Successfully set item with correct ttl but without component metadata", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String("someKey"), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"someValue"}`), - }, *input.Item["value"]) - assert.Equal(t, len(input.Item), 3) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String("someKey"), + }, *input.Item["key"]) + assert.Equal(t, dynamodb.AttributeValue{ + S: aws.String(`{"Value":"someValue"}`), + }, *input.Item["value"]) + assert.Equal(t, len(input.Item), 3) - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, + return &dynamodb.PutItemOutput{ + Attributes: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("value"), }, - }, nil - }, + }, + }, nil }, } req := &state.SetRequest{ @@ -663,40 +634,6 @@ func TestSet(t *testing.T) { assert.NotNil(t, err) assert.Equal(t, "dynamodb error: failed to parse ttlInSeconds: strconv.ParseInt: parsing \"invalidvalue\": invalid syntax", err.Error()) }) - t.Run("Successfully set item with metadata partition key", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - PutItemWithContextFn: func(ctx context.Context, input *dynamodb.PutItemInput, op ...request.Option) (output *dynamodb.PutItemOutput, err error) { - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(pkey), - }, *input.Item["key"]) - assert.Equal(t, dynamodb.AttributeValue{ - S: aws.String(`{"Value":"value"}`), - }, *input.Item["value"]) - assert.Equal(t, len(input.Item), 3) - - return &dynamodb.PutItemOutput{ - Attributes: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("value"), - }, - }, - }, nil - }, - }, - } - req := &state.SetRequest{ - Key: "key", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - Value: value{ - Value: "value", - }, - } - err := ss.Set(context.Background(), req) - assert.Nil(t, err) - }) } func TestBulkSet(t *testing.T) { @@ -705,54 +642,54 @@ func TestBulkSet(t *testing.T) { } t.Run("Successfully set items", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - expected[tableName] = []*dynamodb.WriteRequest{ - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key1"), - }, - "value": { - S: aws.String(`{"Value":"value1"}`), - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { + expected := map[string][]*dynamodb.WriteRequest{} + expected[tableName] = []*dynamodb.WriteRequest{ + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key1"), + }, + "value": { + S: aws.String(`{"Value":"value1"}`), }, }, }, - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key2"), - }, - "value": { - S: aws.String(`{"Value":"value2"}`), - }, + }, + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key2"), + }, + "value": { + S: aws.String(`{"Value":"value2"}`), }, }, }, + }, + } + + for tbl := range expected { + for reqNum := range expected[tbl] { + expectedItem := expected[tbl][reqNum].PutRequest.Item + inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item + + assert.Equal(t, expectedItem["key"], inputItem["key"]) + assert.Equal(t, expectedItem["value"], inputItem["value"]) } + } - for tbl := range expected { - for reqNum := range expected[tbl] { - expectedItem := expected[tbl][reqNum].PutRequest.Item - inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item - - assert.Equal(t, expectedItem["key"], inputItem["key"]) - assert.Equal(t, expectedItem["value"], inputItem["value"]) - } - } - - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, + return &dynamodb.BatchWriteItemOutput{ + UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, + }, nil }, - table: tableName, } + ss.table = tableName + req := []state.SetRequest{ { Key: "key1", @@ -771,57 +708,57 @@ func TestBulkSet(t *testing.T) { assert.Nil(t, err) }) t.Run("Successfully set items with ttl = -1", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - expected[tableName] = []*dynamodb.WriteRequest{ - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key1"), - }, - "value": { - S: aws.String(`{"Value":"value1"}`), - }, - "testAttributeName": { - N: aws.String(strconv.FormatInt(time.Now().Unix()-1, 10)), - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { + expected := map[string][]*dynamodb.WriteRequest{} + expected[tableName] = []*dynamodb.WriteRequest{ + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key1"), + }, + "value": { + S: aws.String(`{"Value":"value1"}`), + }, + "testAttributeName": { + N: aws.String(strconv.FormatInt(time.Now().Unix()-1, 10)), }, }, }, - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key2"), - }, - "value": { - S: aws.String(`{"Value":"value2"}`), - }, + }, + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key2"), + }, + "value": { + S: aws.String(`{"Value":"value2"}`), }, }, }, - } - for tbl := range expected { - for reqNum := range expected[tbl] { - expectedItem := expected[tbl][reqNum].PutRequest.Item - inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item + }, + } + for tbl := range expected { + for reqNum := range expected[tbl] { + expectedItem := expected[tbl][reqNum].PutRequest.Item + inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item - assert.Equal(t, expectedItem["key"], inputItem["key"]) - assert.Equal(t, expectedItem["value"], inputItem["value"]) - } + assert.Equal(t, expectedItem["key"], inputItem["key"]) + assert.Equal(t, expectedItem["value"], inputItem["value"]) } + } - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, + return &dynamodb.BatchWriteItemOutput{ + UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, + }, nil }, - table: tableName, - ttlAttributeName: "testAttributeName", } + ss.table = tableName + ss.ttlAttributeName = "testAttributeName" + req := []state.SetRequest{ { Key: "key1", @@ -843,59 +780,59 @@ func TestBulkSet(t *testing.T) { assert.Nil(t, err) }) t.Run("Successfully set items with ttl", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - // This might fail occasionally due to timestamp precision. - timestamp := time.Now().Unix() + 90 - expected[tableName] = []*dynamodb.WriteRequest{ - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key1"), - }, - "value": { - S: aws.String(`{"Value":"value1"}`), - }, - "testAttributeName": { - N: aws.String(strconv.FormatInt(timestamp, 10)), - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { + expected := map[string][]*dynamodb.WriteRequest{} + // This might fail occasionally due to timestamp precision. + timestamp := time.Now().Unix() + 90 + expected[tableName] = []*dynamodb.WriteRequest{ + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key1"), + }, + "value": { + S: aws.String(`{"Value":"value1"}`), + }, + "testAttributeName": { + N: aws.String(strconv.FormatInt(timestamp, 10)), }, }, }, - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key2"), - }, - "value": { - S: aws.String(`{"Value":"value2"}`), - }, + }, + { + PutRequest: &dynamodb.PutRequest{ + Item: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key2"), + }, + "value": { + S: aws.String(`{"Value":"value2"}`), }, }, }, - } - for tbl := range expected { - for reqNum := range expected[tbl] { - expectedItem := expected[tbl][reqNum].PutRequest.Item - inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item + }, + } + for tbl := range expected { + for reqNum := range expected[tbl] { + expectedItem := expected[tbl][reqNum].PutRequest.Item + inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item - assert.Equal(t, expectedItem["key"], inputItem["key"]) - assert.Equal(t, expectedItem["value"], inputItem["value"]) - } + assert.Equal(t, expectedItem["key"], inputItem["key"]) + assert.Equal(t, expectedItem["value"], inputItem["value"]) } + } - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, + return &dynamodb.BatchWriteItemOutput{ + UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, + }, nil }, - table: tableName, - ttlAttributeName: "testAttributeName", } + ss.table = tableName + ss.ttlAttributeName = "testAttributeName" + req := []state.SetRequest{ { Key: "key1", @@ -941,78 +878,6 @@ func TestBulkSet(t *testing.T) { err := ss.BulkSet(context.Background(), req) assert.NotNil(t, err) }) - t.Run("Successfully set items with metadata partition key", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - expected[tableName] = []*dynamodb.WriteRequest{ - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(pkey), - }, - "value": { - S: aws.String(`{"Value":"value1"}`), - }, - }, - }, - }, - { - PutRequest: &dynamodb.PutRequest{ - Item: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(pkey), - }, - "value": { - S: aws.String(`{"Value":"value2"}`), - }, - }, - }, - }, - } - - for tbl := range expected { - for reqNum := range expected[tbl] { - expectedItem := expected[tbl][reqNum].PutRequest.Item - inputItem := input.RequestItems[tbl][reqNum].PutRequest.Item - - assert.Equal(t, expectedItem["key"], inputItem["key"]) - assert.Equal(t, expectedItem["value"], inputItem["value"]) - } - } - - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, - }, - table: tableName, - } - req := []state.SetRequest{ - { - Key: "key1", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - Value: value{ - Value: "value1", - }, - }, - { - Key: "key2", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - Value: value{ - Value: "value2", - }, - }, - } - err := ss.BulkSet(context.Background(), req) - assert.Nil(t, err) - }) } func TestDelete(t *testing.T) { @@ -1021,19 +886,19 @@ func TestDelete(t *testing.T) { Key: "key", } - ss := StateStore{ - client: &mockedDynamoDB{ - DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { - assert.Equal(t, map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(req.Key), - }, - }, input.Key) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { + assert.Equal(t, map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String(req.Key), + }, + }, input.Key) - return nil, nil - }, + return nil, nil }, } + err := ss.Delete(context.Background(), req) assert.Nil(t, err) }) @@ -1044,24 +909,23 @@ func TestDelete(t *testing.T) { ETag: &etag, Key: "key", } + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { + assert.Equal(t, map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String(req.Key), + }, + }, input.Key) + assert.Equal(t, "etag = :etag", *input.ConditionExpression) + assert.Equal(t, &dynamodb.AttributeValue{ + S: aws.String("1bdead4badc0ffee"), + }, input.ExpressionAttributeValues[":etag"]) - ss := StateStore{ - client: &mockedDynamoDB{ - DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { - assert.Equal(t, map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(req.Key), - }, - }, input.Key) - assert.Equal(t, "etag = :etag", *input.ConditionExpression) - assert.Equal(t, &dynamodb.AttributeValue{ - S: aws.String("1bdead4badc0ffee"), - }, input.ExpressionAttributeValues[":etag"]) - - return nil, nil - }, + return nil, nil }, } + err := ss.Delete(context.Background(), req) assert.Nil(t, err) }) @@ -1073,24 +937,24 @@ func TestDelete(t *testing.T) { Key: "key", } - ss := StateStore{ - client: &mockedDynamoDB{ - DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { - assert.Equal(t, map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(req.Key), - }, - }, input.Key) - assert.Equal(t, "etag = :etag", *input.ConditionExpression) - assert.Equal(t, &dynamodb.AttributeValue{ - S: aws.String("bogusetag"), - }, input.ExpressionAttributeValues[":etag"]) + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { + assert.Equal(t, map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String(req.Key), + }, + }, input.Key) + assert.Equal(t, "etag = :etag", *input.ConditionExpression) + assert.Equal(t, &dynamodb.AttributeValue{ + S: aws.String("bogusetag"), + }, input.ExpressionAttributeValues[":etag"]) - var checkErr dynamodb.ConditionalCheckFailedException - return nil, &checkErr - }, + var checkErr dynamodb.ConditionalCheckFailedException + return nil, &checkErr }, } + err := ss.Delete(context.Background(), req) assert.NotNil(t, err) switch tagErr := err.(type) { @@ -1115,68 +979,43 @@ func TestDelete(t *testing.T) { err := ss.Delete(context.Background(), req) assert.NotNil(t, err) }) - - t.Run("Successfully delete item with metadata partition key", func(t *testing.T) { - req := &state.DeleteRequest{ - Key: "key", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - } - - ss := StateStore{ - client: &mockedDynamoDB{ - DeleteItemWithContextFn: func(ctx context.Context, input *dynamodb.DeleteItemInput, op ...request.Option) (output *dynamodb.DeleteItemOutput, err error) { - assert.Equal(t, map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(pkey), - }, - }, input.Key) - - return nil, nil - }, - }, - } - err := ss.Delete(context.Background(), req) - assert.Nil(t, err) - }) } func TestBulkDelete(t *testing.T) { t.Run("Successfully delete items", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - expected[tableName] = []*dynamodb.WriteRequest{ - { - DeleteRequest: &dynamodb.DeleteRequest{ - Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key1"), - }, + ss := NewDynamoDBStateStore(logger.NewLogger("test")).(*StateStore) + ss.client = &mockedDynamoDB{ + BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { + expected := map[string][]*dynamodb.WriteRequest{} + expected[tableName] = []*dynamodb.WriteRequest{ + { + DeleteRequest: &dynamodb.DeleteRequest{ + Key: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key1"), }, }, }, - { - DeleteRequest: &dynamodb.DeleteRequest{ - Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String("key2"), - }, + }, + { + DeleteRequest: &dynamodb.DeleteRequest{ + Key: map[string]*dynamodb.AttributeValue{ + "key": { + S: aws.String("key2"), }, }, }, - } - assert.Equal(t, expected, input.RequestItems) + }, + } + assert.Equal(t, expected, input.RequestItems) - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, + return &dynamodb.BatchWriteItemOutput{ + UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, + }, nil }, - table: tableName, } + ss.table = tableName + req := []state.DeleteRequest{ { Key: "key1", @@ -1207,55 +1046,4 @@ func TestBulkDelete(t *testing.T) { err := ss.BulkDelete(context.Background(), req) assert.NotNil(t, err) }) - t.Run("Successfully delete items with metadata partition key", func(t *testing.T) { - ss := StateStore{ - client: &mockedDynamoDB{ - BatchWriteItemWithContextFn: func(ctx context.Context, input *dynamodb.BatchWriteItemInput, op ...request.Option) (output *dynamodb.BatchWriteItemOutput, err error) { - expected := map[string][]*dynamodb.WriteRequest{} - expected[tableName] = []*dynamodb.WriteRequest{ - { - DeleteRequest: &dynamodb.DeleteRequest{ - Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(pkey), - }, - }, - }, - }, - { - DeleteRequest: &dynamodb.DeleteRequest{ - Key: map[string]*dynamodb.AttributeValue{ - "key": { - S: aws.String(pkey), - }, - }, - }, - }, - } - assert.Equal(t, expected, input.RequestItems) - - return &dynamodb.BatchWriteItemOutput{ - UnprocessedItems: map[string][]*dynamodb.WriteRequest{}, - }, nil - }, - }, - table: tableName, - } - req := []state.DeleteRequest{ - { - Key: "key1", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - }, - { - Key: "key2", - Metadata: map[string]string{ - metadataPartitionKey: pkey, - }, - }, - } - err := ss.BulkDelete(context.Background(), req) - assert.Nil(t, err) - }) } diff --git a/tests/certification/bindings/alicloud/dubbo/go.mod b/tests/certification/bindings/alicloud/dubbo/go.mod index 69e5fac0e..c4a22f31c 100644 --- a/tests/certification/bindings/alicloud/dubbo/go.mod +++ b/tests/certification/bindings/alicloud/dubbo/go.mod @@ -7,7 +7,7 @@ require ( github.com/apache/dubbo-go-hessian2 v1.11.5 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -177,5 +177,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/alicloud/dubbo/go.sum b/tests/certification/bindings/alicloud/dubbo/go.sum index 59fcbef9a..ac2f32b66 100644 --- a/tests/certification/bindings/alicloud/dubbo/go.sum +++ b/tests/certification/bindings/alicloud/dubbo/go.sum @@ -43,8 +43,6 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -169,6 +167,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3 github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creasty/defaults v1.5.2 h1:/VfB6uxpyp6h0fr7SPp7n8WJBoV8jfxQXPCnkVSjyls= github.com/creasty/defaults v1.5.2/go.mod h1:FPZ+Y0WNrbqOVw+c6av63eyHUAl6pMHZwqLPvXUZGfY= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/alicloud/nacos/go.mod b/tests/certification/bindings/alicloud/nacos/go.mod index 1ad9d9200..5e976fec2 100644 --- a/tests/certification/bindings/alicloud/nacos/go.mod +++ b/tests/certification/bindings/alicloud/nacos/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/nacos-group/nacos-sdk-go/v2 v2.1.2 @@ -147,5 +147,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/alicloud/nacos/go.sum b/tests/certification/bindings/alicloud/nacos/go.sum index a744a17e4..399848ad2 100644 --- a/tests/certification/bindings/alicloud/nacos/go.sum +++ b/tests/certification/bindings/alicloud/nacos/go.sum @@ -39,8 +39,6 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -97,6 +95,8 @@ github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/azure/blobstorage/go.mod b/tests/certification/bindings/azure/blobstorage/go.mod index 395130464..9499fc1c4 100644 --- a/tests/certification/bindings/azure/blobstorage/go.mod +++ b/tests/certification/bindings/azure/blobstorage/go.mod @@ -6,7 +6,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.6.1 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -161,5 +161,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../../ replace github.com/dapr/components-contrib => ../../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/azure/blobstorage/go.sum b/tests/certification/bindings/azure/blobstorage/go.sum index 8994640bc..81900eed0 100644 --- a/tests/certification/bindings/azure/blobstorage/go.sum +++ b/tests/certification/bindings/azure/blobstorage/go.sum @@ -79,8 +79,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -131,6 +129,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/azure/cosmosdb/go.mod b/tests/certification/bindings/azure/cosmosdb/go.mod index e6ca43a19..6536fd879 100644 --- a/tests/certification/bindings/azure/cosmosdb/go.mod +++ b/tests/certification/bindings/azure/cosmosdb/go.mod @@ -6,7 +6,7 @@ require ( github.com/a8m/documentdb v1.3.1-0.20220405205223-5b41ba0aaeb1 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -163,5 +163,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../../ replace github.com/dapr/components-contrib => ../../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/azure/cosmosdb/go.sum b/tests/certification/bindings/azure/cosmosdb/go.sum index 2dd06fc11..673d6573b 100644 --- a/tests/certification/bindings/azure/cosmosdb/go.sum +++ b/tests/certification/bindings/azure/cosmosdb/go.sum @@ -81,8 +81,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -135,6 +133,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/azure/eventhubs/go.mod b/tests/certification/bindings/azure/eventhubs/go.mod index c009e4e42..84e40d70c 100644 --- a/tests/certification/bindings/azure/eventhubs/go.mod +++ b/tests/certification/bindings/azure/eventhubs/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -171,5 +171,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/azure/eventhubs/go.sum b/tests/certification/bindings/azure/eventhubs/go.sum index 7059051e3..af8699e9a 100644 --- a/tests/certification/bindings/azure/eventhubs/go.sum +++ b/tests/certification/bindings/azure/eventhubs/go.sum @@ -87,8 +87,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -139,6 +137,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/azure/servicebusqueues/go.mod b/tests/certification/bindings/azure/servicebusqueues/go.mod index 669de6d5e..f8344271c 100644 --- a/tests/certification/bindings/azure/servicebusqueues/go.mod +++ b/tests/certification/bindings/azure/servicebusqueues/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -168,5 +168,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/azure/servicebusqueues/go.sum b/tests/certification/bindings/azure/servicebusqueues/go.sum index 61fddad08..275d000c6 100644 --- a/tests/certification/bindings/azure/servicebusqueues/go.sum +++ b/tests/certification/bindings/azure/servicebusqueues/go.sum @@ -81,8 +81,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -135,6 +133,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/azure/storagequeues/go.mod b/tests/certification/bindings/azure/storagequeues/go.mod index 3e96980f2..f0ddbdedc 100644 --- a/tests/certification/bindings/azure/storagequeues/go.mod +++ b/tests/certification/bindings/azure/storagequeues/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -164,5 +164,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/azure/storagequeues/go.sum b/tests/certification/bindings/azure/storagequeues/go.sum index 5cf0fa5be..1b15ea9a5 100644 --- a/tests/certification/bindings/azure/storagequeues/go.sum +++ b/tests/certification/bindings/azure/storagequeues/go.sum @@ -77,8 +77,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -129,6 +127,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/cron/go.mod b/tests/certification/bindings/cron/go.mod index d13514b71..24367f39d 100644 --- a/tests/certification/bindings/cron/go.mod +++ b/tests/certification/bindings/cron/go.mod @@ -6,7 +6,7 @@ require ( github.com/benbjohnson/clock v1.3.0 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220519061249-c2cb1dad5bb0 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -144,5 +144,3 @@ replace github.com/dapr/components-contrib => ../../../../ // in the Dapr runtime. Don't commit with this uncommented! // // replace github.com/dapr/dapr => ../../../../../dapr - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/cron/go.sum b/tests/certification/bindings/cron/go.sum index 3dfe89fea..6d87e0df2 100644 --- a/tests/certification/bindings/cron/go.sum +++ b/tests/certification/bindings/cron/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/kafka/go.mod b/tests/certification/bindings/kafka/go.mod index 801a3b478..16b825a12 100644 --- a/tests/certification/bindings/kafka/go.mod +++ b/tests/certification/bindings/kafka/go.mod @@ -7,7 +7,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.0 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220519061249-c2cb1dad5bb0 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -159,5 +159,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/kafka/go.sum b/tests/certification/bindings/kafka/go.sum index a52969012..7822cba45 100644 --- a/tests/certification/bindings/kafka/go.sum +++ b/tests/certification/bindings/kafka/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -93,6 +91,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/localstorage/go.mod b/tests/certification/bindings/localstorage/go.mod index d31ab2b83..6f1b07439 100644 --- a/tests/certification/bindings/localstorage/go.mod +++ b/tests/certification/bindings/localstorage/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-00010101000000-000000000000 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -139,5 +139,3 @@ require ( replace github.com/dapr/components-contrib => ../../../.. replace github.com/dapr/components-contrib/tests/certification => ../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/localstorage/go.sum b/tests/certification/bindings/localstorage/go.sum index 7d76a88c3..e29883e94 100644 --- a/tests/certification/bindings/localstorage/go.sum +++ b/tests/certification/bindings/localstorage/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.2.3 h1:YX6ebbZCZP7VkM3scTTokDgBL2TY741X51MTk3ycuNI= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/postgres/go.mod b/tests/certification/bindings/postgres/go.mod index fb5ad1f2c..42799d013 100644 --- a/tests/certification/bindings/postgres/go.mod +++ b/tests/certification/bindings/postgres/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/lib/pq v1.10.7 @@ -146,5 +146,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/postgres/go.sum b/tests/certification/bindings/postgres/go.sum index a6659ffc3..61bbe66a1 100644 --- a/tests/certification/bindings/postgres/go.sum +++ b/tests/certification/bindings/postgres/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/rabbitmq/go.mod b/tests/certification/bindings/rabbitmq/go.mod index 3f6e88b10..ed0a5b91b 100644 --- a/tests/certification/bindings/rabbitmq/go.mod +++ b/tests/certification/bindings/rabbitmq/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/rabbitmq/amqp091-go v1.5.0 @@ -143,5 +143,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/rabbitmq/go.sum b/tests/certification/bindings/rabbitmq/go.sum index ba7b8cc15..312dfe473 100644 --- a/tests/certification/bindings/rabbitmq/go.sum +++ b/tests/certification/bindings/rabbitmq/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/bindings/redis/go.mod b/tests/certification/bindings/redis/go.mod index c9315a35a..d1c6c3bcc 100644 --- a/tests/certification/bindings/redis/go.mod +++ b/tests/certification/bindings/redis/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220908221803-2b5650c2faa4 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/go-redis/redis/v8 v8.11.5 @@ -142,5 +142,3 @@ require ( replace github.com/dapr/components-contrib => ../../../.. replace github.com/dapr/components-contrib/tests/certification => ../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/bindings/redis/go.sum b/tests/certification/bindings/redis/go.sum index 7c52a70d5..0e9273448 100644 --- a/tests/certification/bindings/redis/go.sum +++ b/tests/certification/bindings/redis/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/flow/sidecar/sidecar.go b/tests/certification/flow/sidecar/sidecar.go index 00e249f76..c895b16f5 100644 --- a/tests/certification/flow/sidecar/sidecar.go +++ b/tests/certification/flow/sidecar/sidecar.go @@ -145,6 +145,7 @@ func Stop(appID string) flow.Runnable { func (s Sidecar) Stop(ctx flow.Context) error { var client *Client if ctx.Get(s.appID, &client) { + client.rt.SetRunning(true) client.rt.Shutdown(2 * time.Second) return client.rt.WaitUntilShutdown() diff --git a/tests/certification/go.mod b/tests/certification/go.mod index 7420e4a35..d63a6c62f 100644 --- a/tests/certification/go.mod +++ b/tests/certification/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/cenkalti/backoff/v4 v4.2.0 github.com/dapr/components-contrib v1.9.6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/go-cmp v0.5.9 @@ -137,5 +137,3 @@ require ( ) replace github.com/dapr/components-contrib => ../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/go.sum b/tests/certification/go.sum index 53f79a0ef..9c2c8648e 100644 --- a/tests/certification/go.sum +++ b/tests/certification/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/aws/snssqs/go.mod b/tests/certification/pubsub/aws/snssqs/go.mod index 8493878ee..8a7f0097c 100644 --- a/tests/certification/pubsub/aws/snssqs/go.mod +++ b/tests/certification/pubsub/aws/snssqs/go.mod @@ -10,7 +10,7 @@ require ( github.com/aws/aws-sdk-go v1.44.158 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-00010101000000-000000000000 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -144,5 +144,3 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/aws/snssqs/go.sum b/tests/certification/pubsub/aws/snssqs/go.sum index 7bbdc8db5..9d1663384 100644 --- a/tests/certification/pubsub/aws/snssqs/go.sum +++ b/tests/certification/pubsub/aws/snssqs/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/azure/eventhubs/go.mod b/tests/certification/pubsub/azure/eventhubs/go.mod index 0ad08fd36..85818fa03 100644 --- a/tests/certification/pubsub/azure/eventhubs/go.mod +++ b/tests/certification/pubsub/azure/eventhubs/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v1.4.0-rc2 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -170,5 +170,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../../ replace github.com/dapr/components-contrib => ../../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/azure/eventhubs/go.sum b/tests/certification/pubsub/azure/eventhubs/go.sum index 9b6d8c1cb..a85598df8 100644 --- a/tests/certification/pubsub/azure/eventhubs/go.sum +++ b/tests/certification/pubsub/azure/eventhubs/go.sum @@ -87,8 +87,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -139,6 +137,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/azure/servicebus/topics/go.mod b/tests/certification/pubsub/azure/servicebus/topics/go.mod index 7c2a22e46..278d8b2ba 100644 --- a/tests/certification/pubsub/azure/servicebus/topics/go.mod +++ b/tests/certification/pubsub/azure/servicebus/topics/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -168,5 +168,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/azure/servicebus/topics/go.sum b/tests/certification/pubsub/azure/servicebus/topics/go.sum index 61fddad08..275d000c6 100644 --- a/tests/certification/pubsub/azure/servicebus/topics/go.sum +++ b/tests/certification/pubsub/azure/servicebus/topics/go.sum @@ -81,8 +81,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -135,6 +133,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/kafka/go.mod b/tests/certification/pubsub/kafka/go.mod index 2b5b71556..59109fef4 100644 --- a/tests/certification/pubsub/kafka/go.mod +++ b/tests/certification/pubsub/kafka/go.mod @@ -7,7 +7,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.0 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220519061249-c2cb1dad5bb0 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -159,5 +159,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/kafka/go.sum b/tests/certification/pubsub/kafka/go.sum index a52969012..7822cba45 100644 --- a/tests/certification/pubsub/kafka/go.sum +++ b/tests/certification/pubsub/kafka/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -93,6 +91,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/mqtt/go.mod b/tests/certification/pubsub/mqtt/go.mod index cc5e6669f..c68ec98c1 100644 --- a/tests/certification/pubsub/mqtt/go.mod +++ b/tests/certification/pubsub/mqtt/go.mod @@ -6,7 +6,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.0 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v1.4.0-rc2 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/eclipse/paho.mqtt.golang v1.4.2 @@ -146,5 +146,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/mqtt/go.sum b/tests/certification/pubsub/mqtt/go.sum index 673cf37f1..26726233d 100644 --- a/tests/certification/pubsub/mqtt/go.sum +++ b/tests/certification/pubsub/mqtt/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/pubsub/rabbitmq/go.mod b/tests/certification/pubsub/rabbitmq/go.mod index d2d482c50..4e4fff544 100644 --- a/tests/certification/pubsub/rabbitmq/go.mod +++ b/tests/certification/pubsub/rabbitmq/go.mod @@ -6,7 +6,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.0 github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/rabbitmq/amqp091-go v1.5.0 @@ -143,5 +143,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/pubsub/rabbitmq/go.sum b/tests/certification/pubsub/rabbitmq/go.sum index ba7b8cc15..312dfe473 100644 --- a/tests/certification/pubsub/rabbitmq/go.sum +++ b/tests/certification/pubsub/rabbitmq/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/secretstores/azure/keyvault/go.mod b/tests/certification/secretstores/azure/keyvault/go.mod index 6a157e8f5..8157bc782 100644 --- a/tests/certification/secretstores/azure/keyvault/go.mod +++ b/tests/certification/secretstores/azure/keyvault/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -162,5 +162,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../../ replace github.com/dapr/components-contrib => ../../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/secretstores/azure/keyvault/go.sum b/tests/certification/secretstores/azure/keyvault/go.sum index 5e587512d..77ac7511b 100644 --- a/tests/certification/secretstores/azure/keyvault/go.sum +++ b/tests/certification/secretstores/azure/keyvault/go.sum @@ -81,8 +81,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -133,6 +131,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/secretstores/hashicorp/vault/go.mod b/tests/certification/secretstores/hashicorp/vault/go.mod index 0f00c699c..162849131 100644 --- a/tests/certification/secretstores/hashicorp/vault/go.mod +++ b/tests/certification/secretstores/hashicorp/vault/go.mod @@ -5,7 +5,7 @@ go 1.18 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 // We require dapr/dapr#5208 merged + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed // We require dapr/dapr#5208 merged github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/golang/protobuf v1.5.2 @@ -139,5 +139,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../../ replace github.com/dapr/components-contrib => ../../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/secretstores/hashicorp/vault/go.sum b/tests/certification/secretstores/hashicorp/vault/go.sum index dae442230..cca5d4152 100644 --- a/tests/certification/secretstores/hashicorp/vault/go.sum +++ b/tests/certification/secretstores/hashicorp/vault/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/secretstores/local/env/go.mod b/tests/certification/secretstores/local/env/go.mod index 4d5dbf7ba..247b43c48 100644 --- a/tests/certification/secretstores/local/env/go.mod +++ b/tests/certification/secretstores/local/env/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -138,5 +138,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/secretstores/local/env/go.sum b/tests/certification/secretstores/local/env/go.sum index f80fe582e..482dff711 100644 --- a/tests/certification/secretstores/local/env/go.sum +++ b/tests/certification/secretstores/local/env/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/secretstores/local/file/go.mod b/tests/certification/secretstores/local/file/go.mod index cd75b20c1..5877983a6 100644 --- a/tests/certification/secretstores/local/file/go.mod +++ b/tests/certification/secretstores/local/file/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -138,5 +138,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/secretstores/local/file/go.sum b/tests/certification/secretstores/local/file/go.sum index f80fe582e..482dff711 100644 --- a/tests/certification/secretstores/local/file/go.sum +++ b/tests/certification/secretstores/local/file/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/azure/blobstorage/go.mod b/tests/certification/state/azure/blobstorage/go.mod index c7a844106..14b1c6101 100644 --- a/tests/certification/state/azure/blobstorage/go.mod +++ b/tests/certification/state/azure/blobstorage/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -161,5 +161,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/azure/blobstorage/go.sum b/tests/certification/state/azure/blobstorage/go.sum index 8994640bc..81900eed0 100644 --- a/tests/certification/state/azure/blobstorage/go.sum +++ b/tests/certification/state/azure/blobstorage/go.sum @@ -79,8 +79,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -131,6 +129,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/azure/cosmosdb/go.mod b/tests/certification/state/azure/cosmosdb/go.mod index 37a09f361..daaf36e1c 100644 --- a/tests/certification/state/azure/cosmosdb/go.mod +++ b/tests/certification/state/azure/cosmosdb/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -162,5 +162,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/azure/cosmosdb/go.sum b/tests/certification/state/azure/cosmosdb/go.sum index 712fe7a65..d4e3ec40b 100644 --- a/tests/certification/state/azure/cosmosdb/go.sum +++ b/tests/certification/state/azure/cosmosdb/go.sum @@ -81,8 +81,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -133,6 +131,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/azure/tablestorage/go.mod b/tests/certification/state/azure/tablestorage/go.mod index 44ac21158..86eda94a5 100644 --- a/tests/certification/state/azure/tablestorage/go.mod +++ b/tests/certification/state/azure/tablestorage/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -161,5 +161,3 @@ require ( replace github.com/dapr/components-contrib => ../../../../.. replace github.com/dapr/components-contrib/tests/certification => ../../.. - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/azure/tablestorage/go.sum b/tests/certification/state/azure/tablestorage/go.sum index cff6072e7..e836bbecd 100644 --- a/tests/certification/state/azure/tablestorage/go.sum +++ b/tests/certification/state/azure/tablestorage/go.sum @@ -79,8 +79,6 @@ github.com/AzureAD/microsoft-authentication-library-for-go v0.7.0/go.mod h1:BDJ5 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -131,6 +129,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/cassandra/go.mod b/tests/certification/state/cassandra/go.mod index 50442df51..53ba717c8 100644 --- a/tests/certification/state/cassandra/go.mod +++ b/tests/certification/state/cassandra/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211026011813-36b75e9ae272 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -142,5 +142,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/cassandra/go.sum b/tests/certification/state/cassandra/go.sum index 490c256dc..68e88a83c 100644 --- a/tests/certification/state/cassandra/go.sum +++ b/tests/certification/state/cassandra/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -94,6 +92,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/cockroachdb/go.mod b/tests/certification/state/cockroachdb/go.mod index 94bafff22..8ef276b79 100644 --- a/tests/certification/state/cockroachdb/go.mod +++ b/tests/certification/state/cockroachdb/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20221111215803-c92827c3defc - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/google/uuid v1.3.0 @@ -142,5 +142,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/cockroachdb/go.sum b/tests/certification/state/cockroachdb/go.sum index 404f3ff89..7b59df765 100644 --- a/tests/certification/state/cockroachdb/go.sum +++ b/tests/certification/state/cockroachdb/go.sum @@ -39,8 +39,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -91,6 +89,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/memcached/go.mod b/tests/certification/state/memcached/go.mod index 3b66fb1d8..47c57de64 100644 --- a/tests/certification/state/memcached/go.mod +++ b/tests/certification/state/memcached/go.mod @@ -5,7 +5,7 @@ go 1.18 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -140,5 +140,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/memcached/go.sum b/tests/certification/state/memcached/go.sum index d825ba343..691d63fe2 100644 --- a/tests/certification/state/memcached/go.sum +++ b/tests/certification/state/memcached/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/mongodb/go.mod b/tests/certification/state/mongodb/go.mod index 0d76648e1..599739a8f 100644 --- a/tests/certification/state/mongodb/go.mod +++ b/tests/certification/state/mongodb/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -147,5 +147,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/mongodb/go.sum b/tests/certification/state/mongodb/go.sum index 9d2fd3c9d..451875eea 100644 --- a/tests/certification/state/mongodb/go.sum +++ b/tests/certification/state/mongodb/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/mysql/go.mod b/tests/certification/state/mysql/go.mod index 1258632d4..b30577980 100644 --- a/tests/certification/state/mysql/go.mod +++ b/tests/certification/state/mysql/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -139,5 +139,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/mysql/go.sum b/tests/certification/state/mysql/go.sum index 7a92df403..9b26ba8dc 100644 --- a/tests/certification/state/mysql/go.sum +++ b/tests/certification/state/mysql/go.sum @@ -39,8 +39,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -91,6 +89,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/postgresql/go.mod b/tests/certification/state/postgresql/go.mod index 64f436be7..30b81c7f6 100644 --- a/tests/certification/state/postgresql/go.mod +++ b/tests/certification/state/postgresql/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/jackc/pgx/v5 v5.2.0 @@ -144,5 +144,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/postgresql/go.sum b/tests/certification/state/postgresql/go.sum index dbcf4ca7d..b93785762 100644 --- a/tests/certification/state/postgresql/go.sum +++ b/tests/certification/state/postgresql/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -90,6 +88,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/redis/go.mod b/tests/certification/state/redis/go.mod index 4baa48792..9f2c13dda 100644 --- a/tests/certification/state/redis/go.mod +++ b/tests/certification/state/redis/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20220526162429-d03aeba3e0d6 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -143,5 +143,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/redis/go.sum b/tests/certification/state/redis/go.sum index 7c52a70d5..0e9273448 100644 --- a/tests/certification/state/redis/go.sum +++ b/tests/certification/state/redis/go.sum @@ -38,8 +38,6 @@ github.com/AdhityaRamadhanus/fasthttpcors v0.0.0-20170121111917-d4c07198763a/go. github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -92,6 +90,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/certification/state/sqlserver/go.mod b/tests/certification/state/sqlserver/go.mod index 7888ead94..2ed8ec600 100644 --- a/tests/certification/state/sqlserver/go.mod +++ b/tests/certification/state/sqlserver/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/dapr/components-contrib v1.9.6 github.com/dapr/components-contrib/tests/certification v0.0.0-20211130185200-4918900c09e1 - github.com/dapr/dapr v1.9.4-0.20230109055003-ce6dbf12fab1 + github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed github.com/dapr/go-sdk v1.6.0 github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 github.com/stretchr/testify v1.8.1 @@ -143,5 +143,3 @@ require ( replace github.com/dapr/components-contrib/tests/certification => ../../ replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 diff --git a/tests/certification/state/sqlserver/go.sum b/tests/certification/state/sqlserver/go.sum index 571d04936..627d08f03 100644 --- a/tests/certification/state/sqlserver/go.sum +++ b/tests/certification/state/sqlserver/go.sum @@ -41,8 +41,6 @@ github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0 h1:BY4tyxrcbZYveRxnwGGbUZBakeo9fP1Gb+/I8roMY6Q= -github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0/go.mod h1:QskWxKcLykohpJisgIH5CzlHZDj9BslGhChHKiTKAz4= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/PuerkitoBio/purell v1.2.0 h1:/Jdm5QfyM8zdlqT6WVZU4cfP23sot6CEHA4CS49Ezig= github.com/PuerkitoBio/purell v1.2.0/go.mod h1:OhLRTaaIzhvIyofkJfB24gokC7tM42Px5UhoT32THBk= @@ -93,6 +91,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed h1:EfUlBjGuAz2HtFy9ad3CK1JurFwNSwh5lb7vsskz3S8= +github.com/dapr/dapr v1.9.4-0.20230112074057-9f143d8deeed/go.mod h1:gI1WBCngrFTTkXb+Z1svrb9DpmaI5LyYIDji9sbZ4mk= github.com/dapr/go-sdk v1.6.0 h1:jg5A2khSCHF8bGZsig5RWN/gD0jjitszc2V6Uq2pPdY= github.com/dapr/go-sdk v1.6.0/go.mod h1:KLQBltoD9K0w5hKTihdcyg9Epob9gypwL5dYcQzPro4= github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 h1:/gb6V6ua7hgizjYrg/q25wd2G3J3o/gZfvQDc37AUHQ= diff --git a/tests/config/pubsub/jetstream/pubsub.yml b/tests/config/pubsub/jetstream/pubsub.yml index 1615f18f4..de6fc791b 100644 --- a/tests/config/pubsub/jetstream/pubsub.yml +++ b/tests/config/pubsub/jetstream/pubsub.yml @@ -12,5 +12,5 @@ spec: value: config-test - name: flowControl value: true - - name: hearbeat + - name: heartbeat value: 5s diff --git a/tests/e2e/pubsub/jetstream/go.mod b/tests/e2e/pubsub/jetstream/go.mod index 6f70fbc57..11317b7df 100644 --- a/tests/e2e/pubsub/jetstream/go.mod +++ b/tests/e2e/pubsub/jetstream/go.mod @@ -3,7 +3,7 @@ module github.com/dapr/components-contrib/tests/e2e/pubsub/jetstream go 1.19 require ( - github.com/dapr/components-contrib v1.9.1-0.20221222230611-870ff8dc2e34 + github.com/dapr/components-contrib v1.9.1-0.20230110173025-b2d8e6013b5f github.com/dapr/kit v0.0.4-0.20230105202559-fcb09958bfb0 ) @@ -22,5 +22,3 @@ require ( ) replace github.com/dapr/components-contrib => ../../../../ - -replace github.com/dapr/dapr => github.com/DeepanshuA/dapr v1.6.1-0.20230109081951-60504eb904b0