diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d30a739..dddd86f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,9 +16,9 @@ builds: - arm64 ldflags: - -s -w - - -X github.com/temporalio/temporal-proxy/internal/version.Version={{.Version}} - - -X github.com/temporalio/temporal-proxy/internal/version.SHA={{.Commit}} - - -X github.com/temporalio/temporal-proxy/internal/version.BuildTime={{.Date}} + - -X go.temporal.io/proxy/internal/version.Version={{.Version}} + - -X go.temporal.io/proxy/internal/version.SHA={{.Commit}} + - -X go.temporal.io/proxy/internal/version.BuildTime={{.Date}} archives: - id: default @@ -94,7 +94,7 @@ release: **Go** ```bash - go install github.com/temporalio/{{ .ProjectName }}/cmd/proxy@{{ .Tag }} + go install go.temporal.io/proxy/cmd/proxy@{{ .Tag }} ``` **Container image** diff --git a/CLAUDE.md b/CLAUDE.md index 7701468..6014a2a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -57,4 +57,4 @@ Tests use `testify` (require, not assert) and `t.Parallel()` throughout when pos ## Import Ordering `gci` enforces three import groups in order: standard library → third-party → local module -(`github.com/temporalio/temporal-proxy`). Running `mise run format` fixes this automatically. +(`go.temporal.io/proxy`). Running `mise run format` fixes this automatically. diff --git a/README.md b/README.md index aa73932..3608e2c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![codecov](https://codecov.io/gh/temporalio/temporal-proxy/branch/main/graph/badge.svg)](https://codecov.io/gh/temporalio/temporal-proxy) [![release](https://img.shields.io/github/v/release/temporalio/temporal-proxy)](https://github.com/temporalio/temporal-proxy/releases) [![Docs](https://img.shields.io/badge/proxy-docs-blue)](https://docs.temporal.io/production-deployment/temporal-proxy/) -[![Go Reference](https://pkg.go.dev/badge/github.com/temporalio/temporal-proxy.svg)](https://pkg.go.dev/github.com/temporalio/temporal-proxy) +[![Go Reference](https://pkg.go.dev/badge/go.temporal.io/proxy.svg)](https://pkg.go.dev/go.temporal.io/proxy) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) A gRPC proxy that sits between Temporal SDK Clients, Workers, and the Temporal UI on one side and one or more upstream @@ -112,14 +112,14 @@ reaches a different upstream with no change to the Worker. Install the `proxy` binary into your `$GOBIN` with `go install`: ```bash -go install github.com/temporalio/temporal-proxy/cmd/proxy@latest +go install go.temporal.io/proxy/cmd/proxy@latest ``` `@latest` resolves to the newest stable release. Pin an explicit version from the [releases page](https://github.com/temporalio/temporal-proxy/releases) if you prefer: ```bash -go install github.com/temporalio/temporal-proxy/cmd/proxy@vX.Y.Z +go install go.temporal.io/proxy/cmd/proxy@vX.Y.Z ``` ### Container image diff --git a/api/auth/v1/auth.proto b/api/auth/v1/auth.proto index d35fdc9..da7398b 100644 --- a/api/auth/v1/auth.proto +++ b/api/auth/v1/auth.proto @@ -5,7 +5,7 @@ package api.auth.v1; import "api/auth/v1/credential.proto"; import "api/auth/v1/target.proto"; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth"; +option go_package = "go.temporal.io/proxy/pkg/api/auth/v1;auth"; // AuthRequest asks the provider whether the caller behind an inbound stream may // proceed. It carries both who the caller is and what the call is addressing, so diff --git a/api/auth/v1/credential.proto b/api/auth/v1/credential.proto index 9766d49..57ea476 100644 --- a/api/auth/v1/credential.proto +++ b/api/auth/v1/credential.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package api.auth.v1; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth"; +option go_package = "go.temporal.io/proxy/pkg/api/auth/v1;auth"; // Credential is one credential-bearing header as the caller sent it. message Credential { diff --git a/api/auth/v1/service.proto b/api/auth/v1/service.proto index 7323b6a..08b1936 100644 --- a/api/auth/v1/service.proto +++ b/api/auth/v1/service.proto @@ -4,7 +4,7 @@ package api.auth.v1; import "api/auth/v1/auth.proto"; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth"; +option go_package = "go.temporal.io/proxy/pkg/api/auth/v1;auth"; // AuthService is the contract for a pluggable inbound authenticator. The proxy // ships with built-in authenticators for a fixed static token and for OIDC/JWKS diff --git a/api/auth/v1/target.proto b/api/auth/v1/target.proto index 115dbf5..d4c41a7 100644 --- a/api/auth/v1/target.proto +++ b/api/auth/v1/target.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package api.auth.v1; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth"; +option go_package = "go.temporal.io/proxy/pkg/api/auth/v1;auth"; // Target is what a call is addressing, as the proxy resolved it. For a gRPC call // the proxy takes the method from the stream it accepted and the namespace from diff --git a/api/ext/v1/key_material.proto b/api/ext/v1/key_material.proto index eb52553..7b97802 100644 --- a/api/ext/v1/key_material.proto +++ b/api/ext/v1/key_material.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package api.ext.v1; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/ext/v1;ext"; +option go_package = "go.temporal.io/proxy/pkg/api/ext/v1;ext"; // KeyMaterial is an optional framing for the ciphertext an extension server // returns from Encrypt. Decrypt is handed nothing but that ciphertext, so diff --git a/api/kms/v1/decrypt.proto b/api/kms/v1/decrypt.proto index 5fe7a62..de42605 100644 --- a/api/kms/v1/decrypt.proto +++ b/api/kms/v1/decrypt.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package api.kms.v1; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms"; +option go_package = "go.temporal.io/proxy/pkg/api/kms/v1;kms"; // DecryptRequest asks the provider to unwrap ciphertext produced by a prior // Encrypt call. diff --git a/api/kms/v1/encrypt.proto b/api/kms/v1/encrypt.proto index 23c4b9b..4b81e83 100644 --- a/api/kms/v1/encrypt.proto +++ b/api/kms/v1/encrypt.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package api.kms.v1; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms"; +option go_package = "go.temporal.io/proxy/pkg/api/kms/v1;kms"; // EncryptRequest asks the provider to wrap key material under the key selected // for the given namespace. diff --git a/api/kms/v1/service.proto b/api/kms/v1/service.proto index a22042e..13792b6 100644 --- a/api/kms/v1/service.proto +++ b/api/kms/v1/service.proto @@ -5,7 +5,7 @@ package api.kms.v1; import "api/kms/v1/decrypt.proto"; import "api/kms/v1/encrypt.proto"; -option go_package = "github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms"; +option go_package = "go.temporal.io/proxy/pkg/api/kms/v1;kms"; // EncryptionService is the contract for a pluggable Key Management Service (KMS) // provider. The proxy ships with built-in providers backed by cloud KMS diff --git a/cmd/proxy/main.go b/cmd/proxy/main.go index 9250a93..7212dad 100644 --- a/cmd/proxy/main.go +++ b/cmd/proxy/main.go @@ -11,7 +11,7 @@ import ( "github.com/urfave/cli/v3" - "github.com/temporalio/temporal-proxy/internal/version" + "go.temporal.io/proxy/internal/version" ) func main() { diff --git a/cmd/proxy/serve.go b/cmd/proxy/serve.go index 2cb495f..e6ac34f 100644 --- a/cmd/proxy/serve.go +++ b/cmd/proxy/serve.go @@ -12,19 +12,19 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/internal/kms" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/pprofserver" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/internal/kms" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/pprofserver" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // shutdownTimeout bounds the whole stop sequence: the serving tiers, which drain diff --git a/e2e/codecserver_test.go b/e2e/codecserver_test.go index 8df101d..b30d43d 100644 --- a/e2e/codecserver_test.go +++ b/e2e/codecserver_test.go @@ -17,8 +17,8 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // namespaceHeader mirrors internal/codecserver/handler.go's own header name. diff --git a/e2e/encryption_test.go b/e2e/encryption_test.go index cff9260..5be3d20 100644 --- a/e2e/encryption_test.go +++ b/e2e/encryption_test.go @@ -14,8 +14,8 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // These mirror the proxy's on-the-wire encryption metadata contract diff --git a/e2e/inbound_auth_strip_test.go b/e2e/inbound_auth_strip_test.go index 05cc5fc..624515b 100644 --- a/e2e/inbound_auth_strip_test.go +++ b/e2e/inbound_auth_strip_test.go @@ -10,8 +10,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestEndToEndInboundAuthStrippedOutboundCredentialAttached drives a request diff --git a/e2e/inbound_credential_no_leak_test.go b/e2e/inbound_credential_no_leak_test.go index 27bced4..a69649c 100644 --- a/e2e/inbound_credential_no_leak_test.go +++ b/e2e/inbound_credential_no_leak_test.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestEndToEndInboundHeaderStrippedNotLeakedUpstream isolates the inbound diff --git a/e2e/liveness_loopback_test.go b/e2e/liveness_loopback_test.go index ccd7c55..53be13d 100644 --- a/e2e/liveness_loopback_test.go +++ b/e2e/liveness_loopback_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/transport/meta" ) // wedge is an Authenticator that admits every caller until it is armed, after diff --git a/e2e/method_translation_test.go b/e2e/method_translation_test.go index 369e150..a205e31 100644 --- a/e2e/method_translation_test.go +++ b/e2e/method_translation_test.go @@ -17,8 +17,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // cloudUpstream is a fake Temporal Cloud control plane. It serves CloudService diff --git a/e2e/metric_labels_test.go b/e2e/metric_labels_test.go index dde5d62..98e6b77 100644 --- a/e2e/metric_labels_test.go +++ b/e2e/metric_labels_test.go @@ -12,8 +12,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestEndToEndMetadataLabels drives a payload-carrying call through the full diff --git a/e2e/outbound_credential_override_test.go b/e2e/outbound_credential_override_test.go index 0984e7b..179d7f1 100644 --- a/e2e/outbound_credential_override_test.go +++ b/e2e/outbound_credential_override_test.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestEndToEndOutboundCredentialOverridesForwardedHeader proves the outbound diff --git a/e2e/templated_upstream_test.go b/e2e/templated_upstream_test.go index 0df14ef..fd990ea 100644 --- a/e2e/templated_upstream_test.go +++ b/e2e/templated_upstream_test.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestEndToEndTemplatedUpstreamRoutesByRenderedAddress drives the full stack diff --git a/e2e/upstream_credential_test.go b/e2e/upstream_credential_test.go index dca5e34..339784b 100644 --- a/e2e/upstream_credential_test.go +++ b/e2e/upstream_credential_test.go @@ -7,8 +7,8 @@ import ( "go.temporal.io/api/workflowservice/v1" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestProxyAttachesUpstreamCredential proves the static credential configured diff --git a/e2e/version_header_test.go b/e2e/version_header_test.go index fc7c944..0437c5d 100644 --- a/e2e/version_header_test.go +++ b/e2e/version_header_test.go @@ -8,10 +8,10 @@ import ( cloudnamespace "go.temporal.io/cloud-sdk/api/namespace/v1" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/internal/version" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/version" ) // TestEndToEndTheCloudAPIConnectionCarriesTheProxyVersion covers the second hop diff --git a/examples/authz/gentoken/main.go b/examples/authz/gentoken/main.go index 9b42bc5..8cac73a 100644 --- a/examples/authz/gentoken/main.go +++ b/examples/authz/gentoken/main.go @@ -25,7 +25,7 @@ import ( "github.com/golang-jwt/jwt/v5" - "github.com/temporalio/temporal-proxy/examples/authz" + "go.temporal.io/proxy/examples/authz" ) // namespaceRoles collects repeated -ns flags, one per namespace. diff --git a/examples/authz/server/authorizer.go b/examples/authz/server/authorizer.go index bd6fc47..f00c598 100644 --- a/examples/authz/server/authorizer.go +++ b/examples/authz/server/authorizer.go @@ -8,10 +8,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/pkg/ext" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/examples/authz/server/claims.go b/examples/authz/server/claims.go index 1d5cad4..1474eb1 100644 --- a/examples/authz/server/claims.go +++ b/examples/authz/server/claims.go @@ -7,9 +7,9 @@ import ( "github.com/golang-jwt/jwt/v5" - "github.com/temporalio/temporal-proxy/examples/authz" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/examples/authz" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/examples/authz/server/main.go b/examples/authz/server/main.go index 8852df3..e0aa6d7 100644 --- a/examples/authz/server/main.go +++ b/examples/authz/server/main.go @@ -14,7 +14,7 @@ // writing one of these; authorizer.go is where the policy lives. // // The gRPC surface, graceful shutdown, and signal handling all come from -// [github.com/temporalio/temporal-proxy/pkg/ext]: authorizer's Authenticate +// [go.temporal.io/proxy/pkg/ext]: authorizer's Authenticate // satisfies [ext.Auth], and [ext.Serve] does the rest. // // The proxy reaches this server in plaintext with no credential of its own, which @@ -32,9 +32,9 @@ import ( "flag" "os" - "github.com/temporalio/temporal-proxy/pkg/ext" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/ext" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func main() { diff --git a/examples/authz/starter/main.go b/examples/authz/starter/main.go index 33d61de..52e1579 100644 --- a/examples/authz/starter/main.go +++ b/examples/authz/starter/main.go @@ -15,7 +15,7 @@ import ( "go.temporal.io/sdk/client" - "github.com/temporalio/temporal-proxy/examples/authz" + "go.temporal.io/proxy/examples/authz" ) const ( diff --git a/examples/authz/worker/main.go b/examples/authz/worker/main.go index 5a32368..94106c9 100644 --- a/examples/authz/worker/main.go +++ b/examples/authz/worker/main.go @@ -15,7 +15,7 @@ import ( "go.temporal.io/sdk/client" "go.temporal.io/sdk/worker" - "github.com/temporalio/temporal-proxy/examples/authz" + "go.temporal.io/proxy/examples/authz" ) const ( diff --git a/examples/cloud/starter/main.go b/examples/cloud/starter/main.go index 6c6e8c6..95216b4 100644 --- a/examples/cloud/starter/main.go +++ b/examples/cloud/starter/main.go @@ -10,7 +10,7 @@ import ( "go.temporal.io/sdk/client" - "github.com/temporalio/temporal-proxy/examples/cloud" + "go.temporal.io/proxy/examples/cloud" ) func main() { diff --git a/examples/cloud/worker/main.go b/examples/cloud/worker/main.go index 859f2d9..93531e1 100644 --- a/examples/cloud/worker/main.go +++ b/examples/cloud/worker/main.go @@ -10,7 +10,7 @@ import ( "go.temporal.io/sdk/client" "go.temporal.io/sdk/worker" - "github.com/temporalio/temporal-proxy/examples/cloud" + "go.temporal.io/proxy/examples/cloud" ) func main() { diff --git a/examples/go.mod b/examples/go.mod index ae68d7e..6241fa6 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,4 +1,4 @@ -module github.com/temporalio/temporal-proxy/examples +module go.temporal.io/proxy/examples go 1.26.0 @@ -7,11 +7,11 @@ toolchain go1.27.1 // The examples build against this working tree because pkg/api/kms/v1, which the // kms example serves, is not in a released tag yet. Outside this repository, drop // this line and require a released version of the proxy instead. -replace github.com/temporalio/temporal-proxy => ../ +replace go.temporal.io/proxy => ../ require ( github.com/golang-jwt/jwt/v5 v5.3.1 - github.com/temporalio/temporal-proxy v0.4.0 + go.temporal.io/proxy v0.4.0 go.temporal.io/sdk v1.49.0 google.golang.org/grpc v1.84.0 ) diff --git a/examples/kms/server/keyring.go b/examples/kms/server/keyring.go index fdcc182..70c84ed 100644 --- a/examples/kms/server/keyring.go +++ b/examples/kms/server/keyring.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "github.com/temporalio/temporal-proxy/pkg/ext" + "go.temporal.io/proxy/pkg/ext" ) const ( diff --git a/examples/kms/server/main.go b/examples/kms/server/main.go index 52bf342..5089c30 100644 --- a/examples/kms/server/main.go +++ b/examples/kms/server/main.go @@ -10,7 +10,7 @@ // Only the provider itself lives here, in keyring.go, and it is one method: // answer which key a request names, deriving it and reporting its version. // Everything else comes from -// [github.com/temporalio/temporal-proxy/pkg/ext]. [ext.NewKeyWrapper] turns +// [go.temporal.io/proxy/pkg/ext]. [ext.NewKeyWrapper] turns // that into an [ext.KMS], sealing DEKs with AES-256-GCM and framing them as // api.ext.v1.KeyMaterial, and [ext.Serve] registers it, checks the bearer token, // serves TLS, and shuts down on a signal. That split is the point of the @@ -33,9 +33,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/temporalio/temporal-proxy/pkg/ext" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/ext" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func main() { diff --git a/examples/kms/starter/main.go b/examples/kms/starter/main.go index 55a5bda..47f1ae9 100644 --- a/examples/kms/starter/main.go +++ b/examples/kms/starter/main.go @@ -10,7 +10,7 @@ import ( "go.temporal.io/sdk/client" - "github.com/temporalio/temporal-proxy/examples/kms" + "go.temporal.io/proxy/examples/kms" ) // workflowID is fixed so the README's "temporal workflow show" commands can name diff --git a/examples/kms/worker/main.go b/examples/kms/worker/main.go index 7fbe673..481925f 100644 --- a/examples/kms/worker/main.go +++ b/examples/kms/worker/main.go @@ -9,7 +9,7 @@ import ( "go.temporal.io/sdk/client" "go.temporal.io/sdk/worker" - "github.com/temporalio/temporal-proxy/examples/kms" + "go.temporal.io/proxy/examples/kms" ) func main() { diff --git a/go.mod b/go.mod index cb0dfa5..eb64f7b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/temporalio/temporal-proxy +module go.temporal.io/proxy go 1.26.0 diff --git a/internal/api/auth.go b/internal/api/auth.go index 0e19e6c..5fe20dc 100644 --- a/internal/api/auth.go +++ b/internal/api/auth.go @@ -12,9 +12,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/api/auth/v1" ) // Auth authenticates an inbound stream by delegating the decision to an diff --git a/internal/api/auth_test.go b/internal/api/auth_test.go index d32725c..01bce90 100644 --- a/internal/api/auth_test.go +++ b/internal/api/auth_test.go @@ -14,10 +14,10 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth/outbound" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - authv1 "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth/outbound" + "go.temporal.io/proxy/internal/transport/meta" + authv1 "go.temporal.io/proxy/pkg/api/auth/v1" ) type ( diff --git a/internal/api/fx.go b/internal/api/fx.go index 93445f1..095ba4e 100644 --- a/internal/api/fx.go +++ b/internal/api/fx.go @@ -7,9 +7,9 @@ import ( "go.uber.org/fx" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/auth/outbound" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/auth/outbound" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/transport/connect" ) // extensionKeyPrefix namespaces extension-server entries in the shared diff --git a/internal/api/fx_test.go b/internal/api/fx_test.go index 2f7d24d..7d57412 100644 --- a/internal/api/fx_test.go +++ b/internal/api/fx_test.go @@ -13,9 +13,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/transport/connect" ) // buildModule wires api.Module against the supplied config and pool, returning diff --git a/internal/api/kms.go b/internal/api/kms.go index 7b548ff..7a5d803 100644 --- a/internal/api/kms.go +++ b/internal/api/kms.go @@ -6,7 +6,7 @@ import ( "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/api/kms/v1" ) // KMS wraps and unwraps data encryption keys on an extension server diff --git a/internal/api/kms_test.go b/internal/api/kms_test.go index aed446d..a1c3b17 100644 --- a/internal/api/kms_test.go +++ b/internal/api/kms_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/api" - kmsv1 "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/internal/api" + kmsv1 "go.temporal.io/proxy/pkg/api/kms/v1" ) // fakeConn is a grpc.ClientConnInterface that records the last unary request and diff --git a/internal/auth/auth.go b/internal/auth/auth.go index 7e526c4..6b16db2 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -3,8 +3,8 @@ package auth import ( "fmt" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" ) // For selects the Authenticator ac describes, admitting everything when ac is diff --git a/internal/auth/auth_test.go b/internal/auth/auth_test.go index 5ef90d2..d6ef1a6 100644 --- a/internal/auth/auth_test.go +++ b/internal/auth/auth_test.go @@ -5,9 +5,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" ) func TestFor(t *testing.T) { diff --git a/internal/auth/authenticator.go b/internal/auth/authenticator.go index d77c664..68c973e 100644 --- a/internal/auth/authenticator.go +++ b/internal/auth/authenticator.go @@ -8,9 +8,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/auth/authenticator_test.go b/internal/auth/authenticator_test.go index dbd3311..f58eeb0 100644 --- a/internal/auth/authenticator_test.go +++ b/internal/auth/authenticator_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" ) type ( diff --git a/internal/auth/fx.go b/internal/auth/fx.go index a9efd8d..1a93ead 100644 --- a/internal/auth/fx.go +++ b/internal/auth/fx.go @@ -3,8 +3,8 @@ package auth import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" ) // Module provides the inbound Authenticator the gateway's auth block selects. diff --git a/internal/auth/fx_test.go b/internal/auth/fx_test.go index 6146ce5..ec98f4c 100644 --- a/internal/auth/fx_test.go +++ b/internal/auth/fx_test.go @@ -7,10 +7,10 @@ import ( "go.uber.org/fx" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/transport/meta" ) // nopConn stands in for a connection to an extension server. The module only has diff --git a/internal/auth/http.go b/internal/auth/http.go index 0caddb2..d137ad8 100644 --- a/internal/auth/http.go +++ b/internal/auth/http.go @@ -7,9 +7,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/auth/http_test.go b/internal/auth/http_test.go index 21dab29..29bca50 100644 --- a/internal/auth/http_test.go +++ b/internal/auth/http_test.go @@ -12,9 +12,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" ) type ( diff --git a/internal/auth/jwks.go b/internal/auth/jwks.go index 836c75c..0d65666 100644 --- a/internal/auth/jwks.go +++ b/internal/auth/jwks.go @@ -15,8 +15,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/transport/meta" ) const ( diff --git a/internal/auth/jwks_test.go b/internal/auth/jwks_test.go index 98f6e2b..84470ab 100644 --- a/internal/auth/jwks_test.go +++ b/internal/auth/jwks_test.go @@ -18,8 +18,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" ) // localStream is a minimal grpc.ServerStream stand-in. It duplicates diff --git a/internal/auth/outbound/provider.go b/internal/auth/outbound/provider.go index 592fdc4..6ed45df 100644 --- a/internal/auth/outbound/provider.go +++ b/internal/auth/outbound/provider.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/rpc" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/rpc" ) // CredentialProvider supplies per-RPC metadata for outbound calls to an diff --git a/internal/auth/outbound/provider_test.go b/internal/auth/outbound/provider_test.go index 89bd81a..dc351c2 100644 --- a/internal/auth/outbound/provider_test.go +++ b/internal/auth/outbound/provider_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/auth/outbound" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/auth/outbound" + "go.temporal.io/proxy/internal/config" ) func TestCredentialProviderFor(t *testing.T) { diff --git a/internal/auth/outbound/static_provider_test.go b/internal/auth/outbound/static_provider_test.go index 58189f9..6d03ca4 100644 --- a/internal/auth/outbound/static_provider_test.go +++ b/internal/auth/outbound/static_provider_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/auth/outbound" + "go.temporal.io/proxy/internal/auth/outbound" ) func TestStaticCredentialProvider(t *testing.T) { diff --git a/internal/auth/statictoken.go b/internal/auth/statictoken.go index 9f4c48b..8142984 100644 --- a/internal/auth/statictoken.go +++ b/internal/auth/statictoken.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/transport/meta" ) // StaticTokenAuthenticator authenticates a request by comparing the bearer diff --git a/internal/auth/statictoken_test.go b/internal/auth/statictoken_test.go index bf97fc0..b2c0b80 100644 --- a/internal/auth/statictoken_test.go +++ b/internal/auth/statictoken_test.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/transport/meta" ) func TestStaticTokenAuthenticator(t *testing.T) { diff --git a/internal/cloud/endpoint_test.go b/internal/cloud/endpoint_test.go index de734f2..e70efaf 100644 --- a/internal/cloud/endpoint_test.go +++ b/internal/cloud/endpoint_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/cloud" + "go.temporal.io/proxy/internal/cloud" ) func TestIsEndpoint(t *testing.T) { diff --git a/internal/cloud/namespace.go b/internal/cloud/namespace.go index 8d9ad14..52f616b 100644 --- a/internal/cloud/namespace.go +++ b/internal/cloud/namespace.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/cloud/namespace_test.go b/internal/cloud/namespace_test.go index 0e4ee8b..97c615c 100644 --- a/internal/cloud/namespace_test.go +++ b/internal/cloud/namespace_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/cloud/translation/answers.go b/internal/cloud/translation/answers.go index c3ba229..f347db0 100644 --- a/internal/cloud/translation/answers.go +++ b/internal/cloud/translation/answers.go @@ -3,7 +3,7 @@ package translation import ( "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) // getClusterInfoMethod is the WorkflowService method that describes the Temporal diff --git a/internal/cloud/translation/answers_test.go b/internal/cloud/translation/answers_test.go index a4c6aae..016c2e0 100644 --- a/internal/cloud/translation/answers_test.go +++ b/internal/cloud/translation/answers_test.go @@ -7,7 +7,7 @@ import ( workflowservice "go.temporal.io/api/workflowservice/v1" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/cloud/translation" + "go.temporal.io/proxy/internal/cloud/translation" ) func TestDefaultAnswersEmpty(t *testing.T) { diff --git a/internal/cloud/translation/interceptor_test.go b/internal/cloud/translation/interceptor_test.go index 5c9b319..aa9fb4f 100644 --- a/internal/cloud/translation/interceptor_test.go +++ b/internal/cloud/translation/interceptor_test.go @@ -15,7 +15,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/cloud/translation" + "go.temporal.io/proxy/internal/cloud/translation" ) // systemInfoService is a fake upstream serving the method the test translation diff --git a/internal/cloud/translation/namespaces.go b/internal/cloud/translation/namespaces.go index cf51654..c4dcba3 100644 --- a/internal/cloud/translation/namespaces.go +++ b/internal/cloud/translation/namespaces.go @@ -13,7 +13,7 @@ import ( "go.temporal.io/cloud-sdk/cloudclient" "google.golang.org/protobuf/types/known/durationpb" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) const ( diff --git a/internal/cloud/translation/nexus.go b/internal/cloud/translation/nexus.go index 39ba52d..45d9b48 100644 --- a/internal/cloud/translation/nexus.go +++ b/internal/cloud/translation/nexus.go @@ -8,7 +8,7 @@ import ( "go.temporal.io/cloud-sdk/api/resource/v1" "go.temporal.io/cloud-sdk/cloudclient" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) const ( diff --git a/internal/cloud/translation/searchattributes.go b/internal/cloud/translation/searchattributes.go index 9059d11..8bdd539 100644 --- a/internal/cloud/translation/searchattributes.go +++ b/internal/cloud/translation/searchattributes.go @@ -7,7 +7,7 @@ import ( cloudnamespace "go.temporal.io/cloud-sdk/api/namespace/v1" "go.temporal.io/cloud-sdk/cloudclient" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) const ( diff --git a/internal/cloud/translation/translation.go b/internal/cloud/translation/translation.go index b3f2222..c964728 100644 --- a/internal/cloud/translation/translation.go +++ b/internal/cloud/translation/translation.go @@ -8,7 +8,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/temporalio/temporal-proxy/internal/rpc" + "go.temporal.io/proxy/internal/rpc" ) type ( diff --git a/internal/cloud/translation/translation_test.go b/internal/cloud/translation/translation_test.go index 2833121..9fe7426 100644 --- a/internal/cloud/translation/translation_test.go +++ b/internal/cloud/translation/translation_test.go @@ -7,7 +7,7 @@ import ( namespacepb "go.temporal.io/api/namespace/v1" workflowservice "go.temporal.io/api/workflowservice/v1" - "github.com/temporalio/temporal-proxy/internal/cloud/translation" + "go.temporal.io/proxy/internal/cloud/translation" ) // The mechanism is generic, so it is exercised with a made-up pairing rather than diff --git a/internal/codecserver/doc.go b/internal/codecserver/doc.go index a82029a..0e84972 100644 --- a/internal/codecserver/doc.go +++ b/internal/codecserver/doc.go @@ -37,7 +37,7 @@ // # Codec Identity // // The handler applies a [Codecs], in practice -// [github.com/temporalio/temporal-proxy/internal/proxy.Codecs], which is the +// [go.temporal.io/proxy/internal/proxy.Codecs], which is the // same value each upstream's forwarder installs as a gRPC client interceptor. A // payload therefore transforms identically whichever path it travelled, // because the chain has one construction site rather than two free to drift diff --git a/internal/codecserver/fx.go b/internal/codecserver/fx.go index d791e8a..8d3e2fb 100644 --- a/internal/codecserver/fx.go +++ b/internal/codecserver/fx.go @@ -3,14 +3,14 @@ package codecserver import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // Module contributes the codec server routes to the shared HTTP server in diff --git a/internal/codecserver/fx_test.go b/internal/codecserver/fx_test.go index fb41994..c968ff9 100644 --- a/internal/codecserver/fx_test.go +++ b/internal/codecserver/fx_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/pkg/logger" ) type contributed struct { diff --git a/internal/codecserver/handler.go b/internal/codecserver/handler.go index bebba76..b2f2c6d 100644 --- a/internal/codecserver/handler.go +++ b/internal/codecserver/handler.go @@ -12,10 +12,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/protobuf/encoding/protojson" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // This file implements the codec server's HTTP routes and the order the checks @@ -51,7 +51,7 @@ const ( type ( // Codecs transforms payloads on their way to and from an upstream. It is the - // subset of [github.com/temporalio/temporal-proxy/internal/proxy.Codecs] the + // subset of [go.temporal.io/proxy/internal/proxy.Codecs] the // handler needs, and an implementation must be the same value the upstream // forwarders apply, or a payload will transform differently depending on // which path it travelled. diff --git a/internal/codecserver/handler_test.go b/internal/codecserver/handler_test.go index 8ff5ea3..1883e71 100644 --- a/internal/codecserver/handler_test.go +++ b/internal/codecserver/handler_test.go @@ -18,11 +18,11 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/encoding/protojson" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/codecserver/namespaces.go b/internal/codecserver/namespaces.go index f4a1d91..f8b5c31 100644 --- a/internal/codecserver/namespaces.go +++ b/internal/codecserver/namespaces.go @@ -5,7 +5,7 @@ import ( "maps" "slices" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) // OverrideMap maps a remote namespace name to the local name a per-namespace diff --git a/internal/codecserver/namespaces_test.go b/internal/codecserver/namespaces_test.go index 76e6da7..48e60b1 100644 --- a/internal/codecserver/namespaces_test.go +++ b/internal/codecserver/namespaces_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/config" ) func TestNewOverrideMap(t *testing.T) { diff --git a/internal/codecserver/reporter.go b/internal/codecserver/reporter.go index d42991f..de2f56c 100644 --- a/internal/codecserver/reporter.go +++ b/internal/codecserver/reporter.go @@ -5,7 +5,7 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/metrics" ) // Reporter records codec server request telemetry to Prometheus: one count and diff --git a/internal/codecserver/reporter_test.go b/internal/codecserver/reporter_test.go index 81a5fa1..dcfde90 100644 --- a/internal/codecserver/reporter_test.go +++ b/internal/codecserver/reporter_test.go @@ -8,8 +8,8 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/metrics" ) // wantSurface is the metric contract the codec server publishes. Operators build diff --git a/internal/config/auth.go b/internal/config/auth.go index 106ae56..b19c4da 100644 --- a/internal/config/auth.go +++ b/internal/config/auth.go @@ -4,7 +4,7 @@ import ( "errors" "net/url" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/auth_test.go b/internal/config/auth_test.go index 0c09eaa..f97a36e 100644 --- a/internal/config/auth_test.go +++ b/internal/config/auth_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) func TestAuthConfigValidate(t *testing.T) { diff --git a/internal/config/bytesize_test.go b/internal/config/bytesize_test.go index c37d5fe..67a9f3b 100644 --- a/internal/config/bytesize_test.go +++ b/internal/config/bytesize_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) func TestParseByteSize(t *testing.T) { diff --git a/internal/config/cloudapi.go b/internal/config/cloudapi.go index 944707b..48e05e6 100644 --- a/internal/config/cloudapi.go +++ b/internal/config/cloudapi.go @@ -1,8 +1,8 @@ package config import ( - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/pkg/validation" ) // APITranslations configures rewriting a method an upstream does not serve into diff --git a/internal/config/cloudapi_test.go b/internal/config/cloudapi_test.go index 5c45596..eecef4f 100644 --- a/internal/config/cloudapi_test.go +++ b/internal/config/cloudapi_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/internal/config" ) // TestCloudAPIUpstreamsAreDistinctPerSource pins the property the pooled diff --git a/internal/config/codecserver.go b/internal/config/codecserver.go index 29ec5bc..f8d45a7 100644 --- a/internal/config/codecserver.go +++ b/internal/config/codecserver.go @@ -3,7 +3,7 @@ package config import ( "slices" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/codecserver_test.go b/internal/config/codecserver_test.go index cb18072..6bbff28 100644 --- a/internal/config/codecserver_test.go +++ b/internal/config/codecserver_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) func TestCodecServerValidate(t *testing.T) { diff --git a/internal/config/config.go b/internal/config/config.go index a6d2a4c..eef8351 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -10,7 +10,7 @@ import ( "github.com/goccy/go-yaml" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/config_test.go b/internal/config/config_test.go index cf1c093..9c2930f 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/pkg/validation" ) // upstreamYAML is the smallest upstreams block that passes validation. diff --git a/internal/config/connection.go b/internal/config/connection.go index 3a2d384..e92f006 100644 --- a/internal/config/connection.go +++ b/internal/config/connection.go @@ -4,7 +4,7 @@ import ( "cmp" "time" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/config/connection_test.go b/internal/config/connection_test.go index c63fe67..7cfa545 100644 --- a/internal/config/connection_test.go +++ b/internal/config/connection_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/validation" ) func TestConnection_Defaults(t *testing.T) { diff --git a/internal/config/encryption.go b/internal/config/encryption.go index ce73c59..aebaba9 100644 --- a/internal/config/encryption.go +++ b/internal/config/encryption.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/config/encryption_test.go b/internal/config/encryption_test.go index 58ff839..fb53c2c 100644 --- a/internal/config/encryption_test.go +++ b/internal/config/encryption_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/crypto" ) // TestEncryption_DEKCacheSize covers what an absent cacheSize means. The field is diff --git a/internal/config/extensions.go b/internal/config/extensions.go index f6a3c8b..671537f 100644 --- a/internal/config/extensions.go +++ b/internal/config/extensions.go @@ -3,7 +3,7 @@ package config import ( "errors" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/extensions_test.go b/internal/config/extensions_test.go index 955d5fc..9c3513b 100644 --- a/internal/config/extensions_test.go +++ b/internal/config/extensions_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/testutil" ) func TestExtensionServer_Validate(t *testing.T) { diff --git a/internal/config/fx_test.go b/internal/config/fx_test.go index 7bd7e00..61cc1bf 100644 --- a/internal/config/fx_test.go +++ b/internal/config/fx_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/services" ) func TestModule_ProvidesConfig(t *testing.T) { diff --git a/internal/config/health.go b/internal/config/health.go index 71ec5d4..c065340 100644 --- a/internal/config/health.go +++ b/internal/config/health.go @@ -4,7 +4,7 @@ import ( "cmp" "time" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/config/health_test.go b/internal/config/health_test.go index 0e586d4..283113a 100644 --- a/internal/config/health_test.go +++ b/internal/config/health_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/validation" ) func TestHealth_Defaults(t *testing.T) { diff --git a/internal/config/http.go b/internal/config/http.go index 0d8d981..e1e6ce2 100644 --- a/internal/config/http.go +++ b/internal/config/http.go @@ -3,7 +3,7 @@ package config import ( "net" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/http_test.go b/internal/config/http_test.go index 3cdfef3..8e46859 100644 --- a/internal/config/http_test.go +++ b/internal/config/http_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) func TestHTTPValidate(t *testing.T) { diff --git a/internal/config/listen.go b/internal/config/listen.go index b1964b1..71cfe59 100644 --- a/internal/config/listen.go +++ b/internal/config/listen.go @@ -1,8 +1,8 @@ package config import ( - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/listen_test.go b/internal/config/listen_test.go index 6315092..0c1edad 100644 --- a/internal/config/listen_test.go +++ b/internal/config/listen_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/testutil" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/validation" ) func TestListenConfig_Validate(t *testing.T) { diff --git a/internal/config/metrics.go b/internal/config/metrics.go index f8a10b0..b028292 100644 --- a/internal/config/metrics.go +++ b/internal/config/metrics.go @@ -8,7 +8,7 @@ import ( "slices" "strings" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/internal/config/metrics_test.go b/internal/config/metrics_test.go index 6d24349..8901d64 100644 --- a/internal/config/metrics_test.go +++ b/internal/config/metrics_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/validation" ) func TestMetrics_Validate(t *testing.T) { diff --git a/internal/config/pprof.go b/internal/config/pprof.go index 794b868..243b11a 100644 --- a/internal/config/pprof.go +++ b/internal/config/pprof.go @@ -1,7 +1,7 @@ package config import ( - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) // PProf configures the pprof routes, which serve the runtime's profiles on diff --git a/internal/config/pprof_test.go b/internal/config/pprof_test.go index 3aa2683..e1ffc6c 100644 --- a/internal/config/pprof_test.go +++ b/internal/config/pprof_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) func TestPProfValidate(t *testing.T) { diff --git a/internal/config/routing.go b/internal/config/routing.go index 6d7a840..ca17a65 100644 --- a/internal/config/routing.go +++ b/internal/config/routing.go @@ -7,8 +7,8 @@ import ( "slices" "strings" - glob "github.com/temporalio/temporal-proxy/pkg/match" - "github.com/temporalio/temporal-proxy/pkg/validation" + glob "go.temporal.io/proxy/pkg/match" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/routing_test.go b/internal/config/routing_test.go index 0c33d24..151b856 100644 --- a/internal/config/routing_test.go +++ b/internal/config/routing_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/validation" ) func TestRouting_Validate(t *testing.T) { diff --git a/internal/config/services.go b/internal/config/services.go index a1e6ab8..49040e3 100644 --- a/internal/config/services.go +++ b/internal/config/services.go @@ -5,8 +5,8 @@ import ( "slices" "strings" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/pkg/validation" ) // Services is the set of gRPC services the proxy is allowed to forward, each diff --git a/internal/config/services_test.go b/internal/config/services_test.go index e2388f0..24f8bd0 100644 --- a/internal/config/services_test.go +++ b/internal/config/services_test.go @@ -11,8 +11,8 @@ import ( // a transitive dependency. _ "google.golang.org/grpc/health/grpc_health_v1" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/services" ) func TestServices_Validate(t *testing.T) { diff --git a/internal/config/upstream.go b/internal/config/upstream.go index f236446..db9a572 100644 --- a/internal/config/upstream.go +++ b/internal/config/upstream.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/internal/template" - "github.com/temporalio/temporal-proxy/internal/transport/resolve" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/internal/template" + "go.temporal.io/proxy/internal/transport/resolve" + "go.temporal.io/proxy/pkg/validation" ) type ( diff --git a/internal/config/upstream_test.go b/internal/config/upstream_test.go index 89b1c58..cd8dd9d 100644 --- a/internal/config/upstream_test.go +++ b/internal/config/upstream_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/testutil" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/validation" ) // namespaceConfigYAML wraps a `namespaces:` body (each line indented to sit diff --git a/internal/dataplane/abort_test.go b/internal/dataplane/abort_test.go index 67340cf..013dbb6 100644 --- a/internal/dataplane/abort_test.go +++ b/internal/dataplane/abort_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/pkg/logger" ) // TestAbortFiresWhenServingStopsUnexpectedly closes the gateway's listener out diff --git a/internal/dataplane/connection_test.go b/internal/dataplane/connection_test.go index ade43cd..4eca50b 100644 --- a/internal/dataplane/connection_test.go +++ b/internal/dataplane/connection_test.go @@ -12,8 +12,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // gRPC's own default would refuse anything over 4MiB from the upstream, so the diff --git a/internal/dataplane/dataplane.go b/internal/dataplane/dataplane.go index 8d3a6fa..e8c021a 100644 --- a/internal/dataplane/dataplane.go +++ b/internal/dataplane/dataplane.go @@ -12,21 +12,21 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/auth/outbound" - "github.com/temporalio/temporal-proxy/internal/cloud/translation" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/router" - "github.com/temporalio/temporal-proxy/internal/server" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/internal/version" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/auth/outbound" + "go.temporal.io/proxy/internal/cloud/translation" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/router" + "go.temporal.io/proxy/internal/server" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/version" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/dataplane/dataplane_test.go b/internal/dataplane/dataplane_test.go index 66a1cae..efc2b91 100644 --- a/internal/dataplane/dataplane_test.go +++ b/internal/dataplane/dataplane_test.go @@ -13,15 +13,15 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" ) // testDeps are the collaborators a [dataplane.Dataplane] is built from, held as diff --git a/internal/dataplane/dataplanetest/dataplanetest.go b/internal/dataplane/dataplanetest/dataplanetest.go index 669b232..bf1807d 100644 --- a/internal/dataplane/dataplanetest/dataplanetest.go +++ b/internal/dataplane/dataplanetest/dataplanetest.go @@ -16,18 +16,18 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/codecserver" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/internal/kms" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/codecserver" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/internal/kms" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/pkg/logger" ) const ( diff --git a/internal/dataplane/dataplanetest/dataplanetest_test.go b/internal/dataplane/dataplanetest/dataplanetest_test.go index e7ccc28..4a75030 100644 --- a/internal/dataplane/dataplanetest/dataplanetest_test.go +++ b/internal/dataplane/dataplanetest/dataplanetest_test.go @@ -12,8 +12,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) func TestStartForwardsToTheFakeUpstream(t *testing.T) { diff --git a/internal/dataplane/dataplanetest/upstream.go b/internal/dataplane/dataplanetest/upstream.go index 7ca5b15..7132df9 100644 --- a/internal/dataplane/dataplanetest/upstream.go +++ b/internal/dataplane/dataplanetest/upstream.go @@ -17,8 +17,8 @@ import ( "google.golang.org/grpc/peer" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/testutil" ) // Upstream is a fake Temporal frontend standing in for the service a diff --git a/internal/dataplane/dataplanetest/upstream_test.go b/internal/dataplane/dataplanetest/upstream_test.go index 8a1b17b..539f179 100644 --- a/internal/dataplane/dataplanetest/upstream_test.go +++ b/internal/dataplane/dataplanetest/upstream_test.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // TestTLSUpstreamIsReachableWithItsOwnTLSConfig proves the config the fake diff --git a/internal/dataplane/export_test.go b/internal/dataplane/export_test.go index 31bc31f..66203f2 100644 --- a/internal/dataplane/export_test.go +++ b/internal/dataplane/export_test.go @@ -3,11 +3,11 @@ package dataplane import ( "net" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/router" - "github.com/temporalio/temporal-proxy/internal/server" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/router" + "go.temporal.io/proxy/internal/server" ) // Reporters exposes the metric reporters built for one dataplane so tests can diff --git a/internal/dataplane/fx.go b/internal/dataplane/fx.go index d0bb56b..7348089 100644 --- a/internal/dataplane/fx.go +++ b/internal/dataplane/fx.go @@ -5,15 +5,15 @@ import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" ) // Module provides a [Dataplane] and its [proxy.Codecs] from the assembled diff --git a/internal/dataplane/fx_test.go b/internal/dataplane/fx_test.go index 5e1c407..8dd9775 100644 --- a/internal/dataplane/fx_test.go +++ b/internal/dataplane/fx_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/pkg/logger" ) func TestModuleStartsAndStops(t *testing.T) { diff --git a/internal/dataplane/gateway_test.go b/internal/dataplane/gateway_test.go index b42958c..654fc84 100644 --- a/internal/dataplane/gateway_test.go +++ b/internal/dataplane/gateway_test.go @@ -17,12 +17,12 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/meta" ) // echoMethod is the method the stand-in upstream in this file answers. diff --git a/internal/dataplane/gzip_test.go b/internal/dataplane/gzip_test.go index ce0e942..5d7bbb3 100644 --- a/internal/dataplane/gzip_test.go +++ b/internal/dataplane/gzip_test.go @@ -11,7 +11,7 @@ import ( _ "google.golang.org/grpc/encoding/gzip" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) // A health check is served locally and never reaches the forwarder. This sends diff --git a/internal/dataplane/lifecycle.go b/internal/dataplane/lifecycle.go index 4393e61..f931ea2 100644 --- a/internal/dataplane/lifecycle.go +++ b/internal/dataplane/lifecycle.go @@ -6,8 +6,8 @@ import ( "fmt" "net" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/pkg/logger/tag" ) // Start opens every static upstream connection so an unreachable one fails diff --git a/internal/dataplane/lifecycle_test.go b/internal/dataplane/lifecycle_test.go index 2f65641..0b20d9d 100644 --- a/internal/dataplane/lifecycle_test.go +++ b/internal/dataplane/lifecycle_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/health/grpc_health_v1" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" ) func TestStartReturnsOnceTheGatewayAccepts(t *testing.T) { diff --git a/internal/dataplane/metrics_surface_test.go b/internal/dataplane/metrics_surface_test.go index cb215a8..8c59c0b 100644 --- a/internal/dataplane/metrics_surface_test.go +++ b/internal/dataplane/metrics_surface_test.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/dataplane" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/router" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/dataplane" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/router" ) // wantSurface is the metric contract a wired dataplane publishes: every series diff --git a/internal/dataplane/namespace_test.go b/internal/dataplane/namespace_test.go index fae7169..477b54c 100644 --- a/internal/dataplane/namespace_test.go +++ b/internal/dataplane/namespace_test.go @@ -7,8 +7,8 @@ import ( "go.temporal.io/api/workflowservice/v1" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/transport/meta" ) func TestGatewayOverridesAClientSuppliedNamespaceHeader(t *testing.T) { diff --git a/internal/dataplane/recovery_test.go b/internal/dataplane/recovery_test.go index 7fd6743..7acf695 100644 --- a/internal/dataplane/recovery_test.go +++ b/internal/dataplane/recovery_test.go @@ -13,8 +13,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/transport/meta" ) const getSystemInfo = "/temporal.api.workflowservice.v1.WorkflowService/GetSystemInfo" diff --git a/internal/dataplane/reporters.go b/internal/dataplane/reporters.go index 0bcb113..98964ae 100644 --- a/internal/dataplane/reporters.go +++ b/internal/dataplane/reporters.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/router" - "github.com/temporalio/temporal-proxy/internal/server" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/router" + "go.temporal.io/proxy/internal/server" ) // reporters holds the metric reporters, each built once. A per-upstream build diff --git a/internal/dataplane/version_test.go b/internal/dataplane/version_test.go index bbe4627..8f95c91 100644 --- a/internal/dataplane/version_test.go +++ b/internal/dataplane/version_test.go @@ -7,9 +7,9 @@ import ( "go.temporal.io/api/workflowservice/v1" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/dataplane/dataplanetest" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/internal/version" + "go.temporal.io/proxy/internal/dataplane/dataplanetest" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/version" ) // TestCloudUpstreamReceivesTheProxyVersion pins that Temporal Cloud is told diff --git a/internal/httpserver/fx.go b/internal/httpserver/fx.go index 8653a7f..0f541c6 100644 --- a/internal/httpserver/fx.go +++ b/internal/httpserver/fx.go @@ -5,9 +5,9 @@ import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // Module provides the HTTP server and forces its construction, since nothing diff --git a/internal/httpserver/fx_test.go b/internal/httpserver/fx_test.go index 9cbc035..f4a0c65 100644 --- a/internal/httpserver/fx_test.go +++ b/internal/httpserver/fx_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/pkg/logger" ) func TestModuleMountsEveryRouteGroup(t *testing.T) { diff --git a/internal/httpserver/server.go b/internal/httpserver/server.go index e868113..bc43b74 100644 --- a/internal/httpserver/server.go +++ b/internal/httpserver/server.go @@ -9,8 +9,8 @@ import ( "sync" "time" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/httpserver/server_test.go b/internal/httpserver/server_test.go index 608aecd..7ecd17b 100644 --- a/internal/httpserver/server_test.go +++ b/internal/httpserver/server_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/pkg/logger" ) // Real time and a real listener rather than testing/synctest: the bubble's diff --git a/internal/kms/fx.go b/internal/kms/fx.go index c671884..1314797 100644 --- a/internal/kms/fx.go +++ b/internal/kms/fx.go @@ -10,12 +10,12 @@ import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/kms/fx_test.go b/internal/kms/fx_test.go index 98bb88d..f6584e5 100644 --- a/internal/kms/fx_test.go +++ b/internal/kms/fx_test.go @@ -12,12 +12,12 @@ import ( "go.uber.org/fx" "go.uber.org/fx/fxtest" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/kms" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/kms" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" ) func TestModule_NoKeys_ProvidesNilVault(t *testing.T) { diff --git a/internal/kms/keys.go b/internal/kms/keys.go index 4f53ca7..749d037 100644 --- a/internal/kms/keys.go +++ b/internal/kms/keys.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/pkg/crypto" ) // ExtensionScheme addresses a key served by a configured extension server, as diff --git a/internal/kms/keys_test.go b/internal/kms/keys_test.go index 17c3786..57a4e29 100644 --- a/internal/kms/keys_test.go +++ b/internal/kms/keys_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/kms" - "github.com/temporalio/temporal-proxy/pkg/crypto" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/kms" + "go.temporal.io/proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/kms/reporter.go b/internal/kms/reporter.go index 1c8e2fa..4aa7a18 100644 --- a/internal/kms/reporter.go +++ b/internal/kms/reporter.go @@ -6,8 +6,8 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/crypto" ) type ( diff --git a/internal/kms/reporter_test.go b/internal/kms/reporter_test.go index 35949d6..3248a79 100644 --- a/internal/kms/reporter_test.go +++ b/internal/kms/reporter_test.go @@ -11,9 +11,9 @@ import ( dto "github.com/prometheus/client_model/go" "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/kms" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/kms" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/crypto" ) func TestReporterKEKOp(t *testing.T) { diff --git a/internal/kms/rotation_test.go b/internal/kms/rotation_test.go index 3bf7f1f..3110095 100644 --- a/internal/kms/rotation_test.go +++ b/internal/kms/rotation_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger" ) // These tests stay in package kms because they are the only ones that cannot be diff --git a/internal/metrics/factory_test.go b/internal/metrics/factory_test.go index ca5d62d..31be0db 100644 --- a/internal/metrics/factory_test.go +++ b/internal/metrics/factory_test.go @@ -11,9 +11,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/logger" ) func TestFactoryNewCounter(t *testing.T) { diff --git a/internal/metrics/fx.go b/internal/metrics/fx.go index ce585a9..eff9f15 100644 --- a/internal/metrics/fx.go +++ b/internal/metrics/fx.go @@ -5,8 +5,8 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/logger" ) // Module provides a namespaced [Factory] bound to the injected Prometheus diff --git a/internal/metrics/fx_test.go b/internal/metrics/fx_test.go index 1868ce5..cfbbf31 100644 --- a/internal/metrics/fx_test.go +++ b/internal/metrics/fx_test.go @@ -12,9 +12,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/pkg/logger" ) func TestModule(t *testing.T) { diff --git a/internal/metrics/labels.go b/internal/metrics/labels.go index e2074a9..4b3090b 100644 --- a/internal/metrics/labels.go +++ b/internal/metrics/labels.go @@ -9,7 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) // maxLabelValueLen bounds a metadata label's value in bytes. The value is diff --git a/internal/metrics/labels_test.go b/internal/metrics/labels_test.go index 46ab05f..a450367 100644 --- a/internal/metrics/labels_test.go +++ b/internal/metrics/labels_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" ) func TestNewMetadataLabels(t *testing.T) { diff --git a/internal/metrics/server.go b/internal/metrics/server.go index df044a5..86d9c0f 100644 --- a/internal/metrics/server.go +++ b/internal/metrics/server.go @@ -7,8 +7,8 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/pkg/logger/tag" ) // Server serves the Prometheus registry at /metrics on its own port, plaintext diff --git a/internal/pprofserver/client_test.go b/internal/pprofserver/client_test.go index 942635f..26b4c7b 100644 --- a/internal/pprofserver/client_test.go +++ b/internal/pprofserver/client_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/logger" ) // These tests drive the routes the way a caller does: a real HTTP client diff --git a/internal/pprofserver/fx.go b/internal/pprofserver/fx.go index 76c5282..1bbabaf 100644 --- a/internal/pprofserver/fx.go +++ b/internal/pprofserver/fx.go @@ -3,10 +3,10 @@ package pprofserver import ( "go.uber.org/fx" - "github.com/temporalio/temporal-proxy/internal/api" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/api" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/pkg/logger" ) // Module contributes the pprof routes to the shared HTTP server in diff --git a/internal/pprofserver/server.go b/internal/pprofserver/server.go index 13e2fbe..9bcb95a 100644 --- a/internal/pprofserver/server.go +++ b/internal/pprofserver/server.go @@ -4,10 +4,10 @@ import ( "net/http" netpprof "net/http/pprof" - "github.com/temporalio/temporal-proxy/internal/auth" - "github.com/temporalio/temporal-proxy/internal/httpserver" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/auth" + "go.temporal.io/proxy/internal/httpserver" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger/tag" ) // route is the URL prefix every profile route is mounted under. diff --git a/internal/pprofserver/server_test.go b/internal/pprofserver/server_test.go index f8821da..bcd124c 100644 --- a/internal/pprofserver/server_test.go +++ b/internal/pprofserver/server_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/pkg/logger" ) func TestNewFromParamsDisabled(t *testing.T) { diff --git a/internal/protoutil/extractor_test.go b/internal/protoutil/extractor_test.go index 872de10..568049b 100644 --- a/internal/protoutil/extractor_test.go +++ b/internal/protoutil/extractor_test.go @@ -10,7 +10,7 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/protoutil" + "go.temporal.io/proxy/internal/protoutil" ) const ( diff --git a/internal/protoutil/fx_test.go b/internal/protoutil/fx_test.go index 1a24397..2ad018d 100644 --- a/internal/protoutil/fx_test.go +++ b/internal/protoutil/fx_test.go @@ -9,7 +9,7 @@ import ( "go.uber.org/fx" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/temporalio/temporal-proxy/internal/protoutil" + "go.temporal.io/proxy/internal/protoutil" ) func TestModule(t *testing.T) { diff --git a/internal/protoutil/translate_test.go b/internal/protoutil/translate_test.go index d515c0a..cbdf09e 100644 --- a/internal/protoutil/translate_test.go +++ b/internal/protoutil/translate_test.go @@ -10,7 +10,7 @@ import ( "go.temporal.io/api/workflowservice/v1" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/protoutil" + "go.temporal.io/proxy/internal/protoutil" ) func TestTranslatorTranslate(t *testing.T) { diff --git a/internal/proxy/binding_test.go b/internal/proxy/binding_test.go index e91e494..eedf6a7 100644 --- a/internal/proxy/binding_test.go +++ b/internal/proxy/binding_test.go @@ -23,11 +23,11 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/codec" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/codec" + "go.temporal.io/proxy/pkg/crypto" ) // TestEncryptionSealsUnderTheRemoteNamespace pins the label a sealed payload diff --git a/internal/proxy/cloudns.go b/internal/proxy/cloudns.go index d486707..4de7fd5 100644 --- a/internal/proxy/cloudns.go +++ b/internal/proxy/cloudns.go @@ -5,10 +5,10 @@ import ( "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // CloudNamespaceDialOptions returns the dial options that report a request whose diff --git a/internal/proxy/cloudns_test.go b/internal/proxy/cloudns_test.go index 1ac156f..56c01dd 100644 --- a/internal/proxy/cloudns_test.go +++ b/internal/proxy/cloudns_test.go @@ -11,11 +11,11 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/temporalio/temporal-proxy/internal/cloud" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/cloud" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // invalidNSMsg is the entry the cloud namespace check emits. diff --git a/internal/proxy/codec.go b/internal/proxy/codec.go index 31520af..ad6a6f7 100644 --- a/internal/proxy/codec.go +++ b/internal/proxy/codec.go @@ -16,8 +16,8 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/codec" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/codec" ) type ( diff --git a/internal/proxy/codec_guard_test.go b/internal/proxy/codec_guard_test.go index 60f66fc..503fbd6 100644 --- a/internal/proxy/codec_guard_test.go +++ b/internal/proxy/codec_guard_test.go @@ -10,8 +10,8 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" ) // TestCodecsMatchInterceptor is the guarantee behind reusing the proxy's codec diff --git a/internal/proxy/codec_test.go b/internal/proxy/codec_test.go index 938f288..a54775c 100644 --- a/internal/proxy/codec_test.go +++ b/internal/proxy/codec_test.go @@ -9,7 +9,7 @@ import ( workflowservice "go.temporal.io/api/workflowservice/v1" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/proxy" + "go.temporal.io/proxy/internal/proxy" ) // The codecs themselves are covered where they live: encryption through this diff --git a/internal/proxy/connection.go b/internal/proxy/connection.go index 4d23b89..97b7e2f 100644 --- a/internal/proxy/connection.go +++ b/internal/proxy/connection.go @@ -4,7 +4,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/keepalive" - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) // ConnectionDialOptions returns the dial options that apply an upstream's diff --git a/internal/proxy/encryption.go b/internal/proxy/encryption.go index 91fbfed..66cea70 100644 --- a/internal/proxy/encryption.go +++ b/internal/proxy/encryption.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) type ( diff --git a/internal/proxy/encryption_test.go b/internal/proxy/encryption_test.go index 28c9f31..504da63 100644 --- a/internal/proxy/encryption_test.go +++ b/internal/proxy/encryption_test.go @@ -18,12 +18,12 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/codec" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/codec" + "go.temporal.io/proxy/pkg/crypto" ) const ( diff --git a/internal/proxy/failures_test.go b/internal/proxy/failures_test.go index fe83437..de3c399 100644 --- a/internal/proxy/failures_test.go +++ b/internal/proxy/failures_test.go @@ -12,9 +12,9 @@ import ( "google.golang.org/grpc" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/codec" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/codec" ) const failureNS = "orders" diff --git a/internal/proxy/forward.go b/internal/proxy/forward.go index 8ee2399..3ed8e7e 100644 --- a/internal/proxy/forward.go +++ b/internal/proxy/forward.go @@ -12,9 +12,9 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/services" ) // transportHeaders are the inbound hop's own headers, which describe that hop diff --git a/internal/proxy/forward_test.go b/internal/proxy/forward_test.go index 648d12c..af84c8c 100644 --- a/internal/proxy/forward_test.go +++ b/internal/proxy/forward_test.go @@ -16,10 +16,10 @@ import ( "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/testutil" ) type ( diff --git a/internal/proxy/forwarding_test.go b/internal/proxy/forwarding_test.go index 21fb4de..c425165 100644 --- a/internal/proxy/forwarding_test.go +++ b/internal/proxy/forwarding_test.go @@ -21,8 +21,8 @@ import ( "google.golang.org/grpc/reflection/grpc_reflection_v1" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/services" ) // metadataStampingService is a fake WorkflowService upstream that sets a response diff --git a/internal/proxy/reporter.go b/internal/proxy/reporter.go index 55b8294..63cf30f 100644 --- a/internal/proxy/reporter.go +++ b/internal/proxy/reporter.go @@ -5,7 +5,7 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/metrics" ) type ( diff --git a/internal/proxy/resolver.go b/internal/proxy/resolver.go index 7af0f28..e908a47 100644 --- a/internal/proxy/resolver.go +++ b/internal/proxy/resolver.go @@ -12,13 +12,13 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/template" - "github.com/temporalio/temporal-proxy/internal/transport/connect" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/internal/transport/resolve" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/template" + "go.temporal.io/proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/transport/resolve" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/proxy/resolver_for_test.go b/internal/proxy/resolver_for_test.go index a9035a9..bb75442 100644 --- a/internal/proxy/resolver_for_test.go +++ b/internal/proxy/resolver_for_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/proxy" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/proxy" ) func TestResolverForStatic(t *testing.T) { diff --git a/internal/proxy/resolver_test.go b/internal/proxy/resolver_test.go index 4717107..1663358 100644 --- a/internal/proxy/resolver_test.go +++ b/internal/proxy/resolver_test.go @@ -11,11 +11,11 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestDynamicResolverIsStatic(t *testing.T) { diff --git a/internal/proxy/translation.go b/internal/proxy/translation.go index aab741c..429e9dd 100644 --- a/internal/proxy/translation.go +++ b/internal/proxy/translation.go @@ -9,8 +9,8 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/anypb" - "github.com/temporalio/temporal-proxy/internal/protoutil" - "github.com/temporalio/temporal-proxy/internal/rpc" + "go.temporal.io/proxy/internal/protoutil" + "go.temporal.io/proxy/internal/rpc" ) // temporalNamespaceHeader is the gRPC metadata key the Temporal SDK sets to the diff --git a/internal/proxy/translation_test.go b/internal/proxy/translation_test.go index 69b93eb..e3e90b6 100644 --- a/internal/proxy/translation_test.go +++ b/internal/proxy/translation_test.go @@ -18,7 +18,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoregistry" - "github.com/temporalio/temporal-proxy/internal/protoutil" + "go.temporal.io/proxy/internal/protoutil" ) type ( diff --git a/internal/proxy/version.go b/internal/proxy/version.go index 32349dc..9704128 100644 --- a/internal/proxy/version.go +++ b/internal/proxy/version.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/transport/meta" ) // VersionDialOptions returns the dial options that stamp the proxy's own build diff --git a/internal/proxy/version_test.go b/internal/proxy/version_test.go index 58261c0..f575376 100644 --- a/internal/proxy/version_test.go +++ b/internal/proxy/version_test.go @@ -9,8 +9,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/proxy" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/proxy" + "go.temporal.io/proxy/internal/transport/meta" ) func TestVersionDialOptionsUnary(t *testing.T) { diff --git a/internal/router/compile.go b/internal/router/compile.go index af6dd31..24bb681 100644 --- a/internal/router/compile.go +++ b/internal/router/compile.go @@ -1,7 +1,7 @@ package router import ( - "github.com/temporalio/temporal-proxy/internal/config" + "go.temporal.io/proxy/internal/config" ) // MuxFor builds the Mux for prepared routing configuration. Panics if the diff --git a/internal/router/compile_test.go b/internal/router/compile_test.go index d6101fd..42e04e9 100644 --- a/internal/router/compile_test.go +++ b/internal/router/compile_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/router" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/router" ) func TestMuxFor(t *testing.T) { diff --git a/internal/router/director.go b/internal/router/director.go index 0b5f208..e1af945 100644 --- a/internal/router/director.go +++ b/internal/router/director.go @@ -7,8 +7,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/internal/router/director_test.go b/internal/router/director_test.go index 02f2940..f468b72 100644 --- a/internal/router/director_test.go +++ b/internal/router/director_test.go @@ -11,10 +11,10 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/router" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/router" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestDirectorResolve(t *testing.T) { diff --git a/internal/router/export_test.go b/internal/router/export_test.go index ced997c..8ed0b5b 100644 --- a/internal/router/export_test.go +++ b/internal/router/export_test.go @@ -7,8 +7,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/transport/meta" ) // ForwardTo returns a handler that forwards a routed stream over cc using the diff --git a/internal/router/handler.go b/internal/router/handler.go index 1a03bd1..e9a0dbf 100644 --- a/internal/router/handler.go +++ b/internal/router/handler.go @@ -9,9 +9,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/meta" ) type ( diff --git a/internal/router/handler_test.go b/internal/router/handler_test.go index cf9aeaf..6c34db6 100644 --- a/internal/router/handler_test.go +++ b/internal/router/handler_test.go @@ -24,11 +24,11 @@ import ( "google.golang.org/grpc/test/bufconn" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/router" - "github.com/temporalio/temporal-proxy/internal/server" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/router" + "go.temporal.io/proxy/internal/server" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/meta" ) type ( diff --git a/internal/router/mux.go b/internal/router/mux.go index 95086ae..67fe512 100644 --- a/internal/router/mux.go +++ b/internal/router/mux.go @@ -3,7 +3,7 @@ package router import ( "slices" - "github.com/temporalio/temporal-proxy/pkg/match" + "go.temporal.io/proxy/pkg/match" ) const ( diff --git a/internal/router/mux_test.go b/internal/router/mux_test.go index f77c65f..5d9249b 100644 --- a/internal/router/mux_test.go +++ b/internal/router/mux_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/match" + "go.temporal.io/proxy/pkg/match" ) func TestMuxSwitch(t *testing.T) { diff --git a/internal/router/peek.go b/internal/router/peek.go index 2817b0a..31346a4 100644 --- a/internal/router/peek.go +++ b/internal/router/peek.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/services" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/services" + "go.temporal.io/proxy/internal/transport/meta" ) type ( diff --git a/internal/router/peek_test.go b/internal/router/peek_test.go index f29acda..35bd8e6 100644 --- a/internal/router/peek_test.go +++ b/internal/router/peek_test.go @@ -16,7 +16,7 @@ import ( "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/transport/meta" ) type ( diff --git a/internal/router/reporter.go b/internal/router/reporter.go index d03eb96..f95a75d 100644 --- a/internal/router/reporter.go +++ b/internal/router/reporter.go @@ -5,7 +5,7 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/metrics" ) const ( diff --git a/internal/router/reporter_test.go b/internal/router/reporter_test.go index a7b7ea8..ecb4544 100644 --- a/internal/router/reporter_test.go +++ b/internal/router/reporter_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/router" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/router" ) func TestReporter(t *testing.T) { diff --git a/internal/rpc/errors_test.go b/internal/rpc/errors_test.go index be707c9..a4d9d52 100644 --- a/internal/rpc/errors_test.go +++ b/internal/rpc/errors_test.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/rpc" + "go.temporal.io/proxy/internal/rpc" ) func TestReject(t *testing.T) { diff --git a/internal/rpc/metadata_test.go b/internal/rpc/metadata_test.go index 93d4fc2..d273fbb 100644 --- a/internal/rpc/metadata_test.go +++ b/internal/rpc/metadata_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/rpc" + "go.temporal.io/proxy/internal/rpc" ) func TestWithOutgoingLeavesTheCallersMetadataAlone(t *testing.T) { diff --git a/internal/rpc/path_test.go b/internal/rpc/path_test.go index 3bd3882..0482a80 100644 --- a/internal/rpc/path_test.go +++ b/internal/rpc/path_test.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/pkg/testutil" ) func TestFullMethod(t *testing.T) { diff --git a/internal/rpc/pump_test.go b/internal/rpc/pump_test.go index 6a092ce..f36db98 100644 --- a/internal/rpc/pump_test.go +++ b/internal/rpc/pump_test.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/pkg/testutil" ) type ( diff --git a/internal/server/health_test.go b/internal/server/health_test.go index 196c8b8..94154fd 100644 --- a/internal/server/health_test.go +++ b/internal/server/health_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/health/grpc_health_v1" - "github.com/temporalio/temporal-proxy/internal/server" + "go.temporal.io/proxy/internal/server" ) func TestHealthCheckFunc(t *testing.T) { diff --git a/internal/server/loopback.go b/internal/server/loopback.go index 95a469f..ecb60f3 100644 --- a/internal/server/loopback.go +++ b/internal/server/loopback.go @@ -14,8 +14,8 @@ import ( "google.golang.org/grpc/status" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/server/loopback_internal_test.go b/internal/server/loopback_internal_test.go index c8a78db..87e552b 100644 --- a/internal/server/loopback_internal_test.go +++ b/internal/server/loopback_internal_test.go @@ -14,9 +14,9 @@ import ( "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/testutil" ) // fakeHealthClient implements only Watch. The embedded interface leaves every diff --git a/internal/server/recovery.go b/internal/server/recovery.go index 85b7273..43c6042 100644 --- a/internal/server/recovery.go +++ b/internal/server/recovery.go @@ -7,9 +7,9 @@ import ( "google.golang.org/grpc" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // RecoveryHandler is told of each panic [WithRecoveryHandler] recovers, after it diff --git a/internal/server/recovery_test.go b/internal/server/recovery_test.go index d212f99..8ad1e3b 100644 --- a/internal/server/recovery_test.go +++ b/internal/server/recovery_test.go @@ -14,10 +14,10 @@ import ( "google.golang.org/grpc/status" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/rpc" - "github.com/temporalio/temporal-proxy/internal/server" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/rpc" + "go.temporal.io/proxy/internal/server" + "go.temporal.io/proxy/pkg/logger" ) const ( diff --git a/internal/server/reporter.go b/internal/server/reporter.go index 0d93ac0..32cd0ac 100644 --- a/internal/server/reporter.go +++ b/internal/server/reporter.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/internal/metrics" + "go.temporal.io/proxy/internal/metrics" ) // durationBuckets covers both sub-second unary calls and long-poll methods diff --git a/internal/server/reporter_test.go b/internal/server/reporter_test.go index 74a1b8d..dd026be 100644 --- a/internal/server/reporter_test.go +++ b/internal/server/reporter_test.go @@ -17,9 +17,9 @@ import ( "google.golang.org/grpc/status" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/internal/config" - "github.com/temporalio/temporal-proxy/internal/metrics" - "github.com/temporalio/temporal-proxy/internal/server" + "go.temporal.io/proxy/internal/config" + "go.temporal.io/proxy/internal/metrics" + "go.temporal.io/proxy/internal/server" ) func TestReporterObserve(t *testing.T) { diff --git a/internal/server/server.go b/internal/server/server.go index 5f914ad..ce8119b 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -17,9 +17,9 @@ import ( "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/server/server_test.go b/internal/server/server_test.go index 46adbb9..3046f94 100644 --- a/internal/server/server_test.go +++ b/internal/server/server_test.go @@ -20,9 +20,9 @@ import ( "google.golang.org/grpc/status" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/internal/server" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/internal/server" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/internal/services/allowlist_test.go b/internal/services/allowlist_test.go index 8c7d60d..2f63053 100644 --- a/internal/services/allowlist_test.go +++ b/internal/services/allowlist_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) func TestAllowlistAllows(t *testing.T) { diff --git a/internal/services/services_test.go b/internal/services/services_test.go index ff798b9..f7ccb20 100644 --- a/internal/services/services_test.go +++ b/internal/services/services_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/services" + "go.temporal.io/proxy/internal/services" ) func TestResolveKnownServices(t *testing.T) { diff --git a/internal/template/template_test.go b/internal/template/template_test.go index 981c16a..d3bf5aa 100644 --- a/internal/template/template_test.go +++ b/internal/template/template_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/template" + "go.temporal.io/proxy/internal/template" ) func TestParseUpstream_Render(t *testing.T) { diff --git a/internal/transport/connect/conn_test.go b/internal/transport/connect/conn_test.go index 12ad6dd..7777b68 100644 --- a/internal/transport/connect/conn_test.go +++ b/internal/transport/connect/conn_test.go @@ -13,7 +13,7 @@ import ( "google.golang.org/grpc/connectivity" "google.golang.org/grpc/credentials/insecure" - "github.com/temporalio/temporal-proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/transport/connect" ) type ( diff --git a/internal/transport/connect/fx_test.go b/internal/transport/connect/fx_test.go index 9b266cf..0fcce01 100644 --- a/internal/transport/connect/fx_test.go +++ b/internal/transport/connect/fx_test.go @@ -9,7 +9,7 @@ import ( "go.uber.org/fx" "google.golang.org/grpc/connectivity" - "github.com/temporalio/temporal-proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/transport/connect" ) func TestModule(t *testing.T) { diff --git a/internal/transport/connect/pool_test.go b/internal/transport/connect/pool_test.go index a4f113f..02d3d34 100644 --- a/internal/transport/connect/pool_test.go +++ b/internal/transport/connect/pool_test.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/temporalio/temporal-proxy/internal/transport/connect" + "go.temporal.io/proxy/internal/transport/connect" ) func TestPoolConn(t *testing.T) { diff --git a/internal/transport/creds/dialer_test.go b/internal/transport/creds/dialer_test.go index 95af9ac..80b49f2 100644 --- a/internal/transport/creds/dialer_test.go +++ b/internal/transport/creds/dialer_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/testutil" ) func TestDialer_Mode(t *testing.T) { diff --git a/internal/transport/creds/listener_test.go b/internal/transport/creds/listener_test.go index c885880..40a96ff 100644 --- a/internal/transport/creds/listener_test.go +++ b/internal/transport/creds/listener_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/internal/transport/creds" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/internal/transport/creds" + "go.temporal.io/proxy/pkg/testutil" ) func TestListener_Mode(t *testing.T) { diff --git a/internal/transport/creds/options.go b/internal/transport/creds/options.go index 22f299f..8e699b3 100644 --- a/internal/transport/creds/options.go +++ b/internal/transport/creds/options.go @@ -1,6 +1,6 @@ package creds -import "github.com/temporalio/temporal-proxy/pkg/validation" +import "go.temporal.io/proxy/pkg/validation" var errKeyAndCertRequired = validation.Error{Field: "cert", Message: "certificate and key must be set together"} diff --git a/internal/transport/creds/validate.go b/internal/transport/creds/validate.go index 0834b61..23a53a7 100644 --- a/internal/transport/creds/validate.go +++ b/internal/transport/creds/validate.go @@ -3,8 +3,8 @@ package creds import ( "crypto/tls" - "github.com/temporalio/temporal-proxy/pkg/validation" - "github.com/temporalio/temporal-proxy/pkg/validation/certs" + "go.temporal.io/proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation/certs" ) // minTLSVersion is the minimum TLS version accepted on both client and server diff --git a/internal/transport/meta/meta_test.go b/internal/transport/meta/meta_test.go index cce2955..5331930 100644 --- a/internal/transport/meta/meta_test.go +++ b/internal/transport/meta/meta_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/internal/transport/meta" + "go.temporal.io/proxy/internal/transport/meta" ) func TestWithNamespaceRoundTrips(t *testing.T) { diff --git a/internal/transport/resolve/resolver_test.go b/internal/transport/resolve/resolver_test.go index a2287be..de395e5 100644 --- a/internal/transport/resolve/resolver_test.go +++ b/internal/transport/resolve/resolver_test.go @@ -14,7 +14,7 @@ import ( "google.golang.org/grpc/resolver" "google.golang.org/grpc/serviceconfig" - "github.com/temporalio/temporal-proxy/internal/transport/resolve" + "go.temporal.io/proxy/internal/transport/resolve" ) const ( diff --git a/internal/transport/resolve/srv_integration_test.go b/internal/transport/resolve/srv_integration_test.go index 8d0e6bd..24c5fd0 100644 --- a/internal/transport/resolve/srv_integration_test.go +++ b/internal/transport/resolve/srv_integration_test.go @@ -13,7 +13,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/protobuf/types/known/emptypb" - "github.com/temporalio/temporal-proxy/internal/transport/resolve" + "go.temporal.io/proxy/internal/transport/resolve" ) // backend is a gRPC server that answers any method and counts calls. diff --git a/internal/transport/resolve/srv_test.go b/internal/transport/resolve/srv_test.go index 199a639..22477a8 100644 --- a/internal/transport/resolve/srv_test.go +++ b/internal/transport/resolve/srv_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/resolver" - "github.com/temporalio/temporal-proxy/internal/transport/resolve" + "go.temporal.io/proxy/internal/transport/resolve" ) func TestIsTarget(t *testing.T) { diff --git a/pkg/api/auth/v1/auth.pb.go b/pkg/api/auth/v1/auth.pb.go index 207f1d4..0e2a259 100644 --- a/pkg/api/auth/v1/auth.pb.go +++ b/pkg/api/auth/v1/auth.pb.go @@ -225,8 +225,8 @@ const file_api_auth_v1_auth_proto_rawDesc = "" + "\bDecision\x12\x18\n" + "\x14DECISION_UNSPECIFIED\x10\x00\x12\x12\n" + "\x0eDECISION_ALLOW\x10\x01\x12\x11\n" + - "\rDECISION_DENY\x10\x02B\xa5\x01\n" + - "\x0fcom.api.auth.v1B\tAuthProtoP\x01Z9github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" + "\rDECISION_DENY\x10\x02B\x95\x01\n" + + "\x0fcom.api.auth.v1B\tAuthProtoP\x01Z)go.temporal.io/proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" var ( file_api_auth_v1_auth_proto_rawDescOnce sync.Once diff --git a/pkg/api/auth/v1/credential.pb.go b/pkg/api/auth/v1/credential.pb.go index d6ec57e..42ba641 100644 --- a/pkg/api/auth/v1/credential.pb.go +++ b/pkg/api/auth/v1/credential.pb.go @@ -88,8 +88,8 @@ const file_api_auth_v1_credential_proto_rawDesc = "" + "\n" + "Credential\x12\x16\n" + "\x06header\x18\x01 \x01(\tR\x06header\x12\x16\n" + - "\x06values\x18\x02 \x03(\tR\x06valuesB\xab\x01\n" + - "\x0fcom.api.auth.v1B\x0fCredentialProtoP\x01Z9github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" + "\x06values\x18\x02 \x03(\tR\x06valuesB\x9b\x01\n" + + "\x0fcom.api.auth.v1B\x0fCredentialProtoP\x01Z)go.temporal.io/proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" var ( file_api_auth_v1_credential_proto_rawDescOnce sync.Once diff --git a/pkg/api/auth/v1/service.pb.go b/pkg/api/auth/v1/service.pb.go index 03836d9..3ed6e74 100644 --- a/pkg/api/auth/v1/service.pb.go +++ b/pkg/api/auth/v1/service.pb.go @@ -26,8 +26,8 @@ const file_api_auth_v1_service_proto_rawDesc = "" + "\n" + "\x19api/auth/v1/service.proto\x12\vapi.auth.v1\x1a\x16api/auth/v1/auth.proto2L\n" + "\vAuthService\x12=\n" + - "\x04Auth\x12\x18.api.auth.v1.AuthRequest\x1a\x19.api.auth.v1.AuthResponse\"\x00B\xa8\x01\n" + - "\x0fcom.api.auth.v1B\fServiceProtoP\x01Z9github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" + "\x04Auth\x12\x18.api.auth.v1.AuthRequest\x1a\x19.api.auth.v1.AuthResponse\"\x00B\x98\x01\n" + + "\x0fcom.api.auth.v1B\fServiceProtoP\x01Z)go.temporal.io/proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" var file_api_auth_v1_service_proto_goTypes = []any{ (*AuthRequest)(nil), // 0: api.auth.v1.AuthRequest diff --git a/pkg/api/auth/v1/target.pb.go b/pkg/api/auth/v1/target.pb.go index 2428286..d210dcf 100644 --- a/pkg/api/auth/v1/target.pb.go +++ b/pkg/api/auth/v1/target.pb.go @@ -241,8 +241,8 @@ const file_api_auth_v1_target_proto_rawDesc = "" + "\x05Group\x12\x15\n" + "\x11GROUP_UNSPECIFIED\x10\x00\x12\x16\n" + "\x12GROUP_CODEC_SERVER\x10\x01\x12\x0f\n" + - "\vGROUP_PPROF\x10\x02B\xa7\x01\n" + - "\x0fcom.api.auth.v1B\vTargetProtoP\x01Z9github.com/temporalio/temporal-proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" + "\vGROUP_PPROF\x10\x02B\x97\x01\n" + + "\x0fcom.api.auth.v1B\vTargetProtoP\x01Z)go.temporal.io/proxy/pkg/api/auth/v1;auth\xa2\x02\x03AAX\xaa\x02\vApi.Auth.V1\xca\x02\vApi\\Auth\\V1\xe2\x02\x17Api\\Auth\\V1\\GPBMetadata\xea\x02\rApi::Auth::V1b\x06proto3" var ( file_api_auth_v1_target_proto_rawDescOnce sync.Once diff --git a/pkg/api/ext/v1/key_material.go b/pkg/api/ext/v1/key_material.go index eb20d0a..68c10b1 100644 --- a/pkg/api/ext/v1/key_material.go +++ b/pkg/api/ext/v1/key_material.go @@ -9,7 +9,7 @@ import ( "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) // UnmarshalKeyMaterial decodes key material produced by [KeyMaterial.Marshal]. diff --git a/pkg/api/ext/v1/key_material.pb.go b/pkg/api/ext/v1/key_material.pb.go index 6ecb217..ee4c745 100644 --- a/pkg/api/ext/v1/key_material.pb.go +++ b/pkg/api/ext/v1/key_material.pb.go @@ -103,6 +103,12 @@ func (KeyMaterial_Cipher) EnumDescriptor() ([]byte, []int) { // Every byte of this message rides in the metadata of each payload it seals, // and stays there for as long as the Workflow retention period. Carry what // decrypt needs to find the key, and nothing else. +// +// NB: While only encrypted_dek is used for decryption, other fields are used for +// key lookup. If changed or tampered with, decryption may fail since the key +// might not be found. In sum, implementations using this should ensure that all +// data regardless of the value (empty/nil/etc) should be included in payloads +// and sent in full to the KMS service. type KeyMaterial struct { state protoimpl.MessageState `protogen:"open.v1"` // encrypted_dek is the wrapped DEK, as produced by whatever wrapping the @@ -225,8 +231,8 @@ const file_api_ext_v1_key_material_proto_rawDesc = "" + "\x12CIPHER_UNSPECIFIED\x10\x00\x12\x16\n" + "\x12CIPHER_AES_256_GCM\x10\x01\x12\x1c\n" + "\x18CIPHER_CHACHA20_POLY1305\x10\x02\x12\x1d\n" + - "\x19CIPHER_XCHACHA20_POLY1305\x10\x03B\xa5\x01\n" + - "\x0ecom.api.ext.v1B\x10KeyMaterialProtoP\x01Z7github.com/temporalio/temporal-proxy/pkg/api/ext/v1;ext\xa2\x02\x03AEX\xaa\x02\n" + + "\x19CIPHER_XCHACHA20_POLY1305\x10\x03B\x95\x01\n" + + "\x0ecom.api.ext.v1B\x10KeyMaterialProtoP\x01Z'go.temporal.io/proxy/pkg/api/ext/v1;ext\xa2\x02\x03AEX\xaa\x02\n" + "Api.Ext.V1\xca\x02\n" + "Api\\Ext\\V1\xe2\x02\x16Api\\Ext\\V1\\GPBMetadata\xea\x02\fApi::Ext::V1b\x06proto3" diff --git a/pkg/api/ext/v1/key_material_test.go b/pkg/api/ext/v1/key_material_test.go index 7987fef..defaaa5 100644 --- a/pkg/api/ext/v1/key_material_test.go +++ b/pkg/api/ext/v1/key_material_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/validation" ) func TestKeyMaterial_MarshalRoundTrip(t *testing.T) { diff --git a/pkg/api/kms/v1/decrypt.pb.go b/pkg/api/kms/v1/decrypt.pb.go index 2bdb0f8..d81bd91 100644 --- a/pkg/api/kms/v1/decrypt.pb.go +++ b/pkg/api/kms/v1/decrypt.pb.go @@ -127,8 +127,8 @@ const file_api_kms_v1_decrypt_proto_rawDesc = "" + "ciphertext\x18\x01 \x01(\fR\n" + "ciphertext\"/\n" + "\x0fDecryptResponse\x12\x1c\n" + - "\tplaintext\x18\x01 \x01(\fR\tplaintextB\xa1\x01\n" + - "\x0ecom.api.kms.v1B\fDecryptProtoP\x01Z7github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + + "\tplaintext\x18\x01 \x01(\fR\tplaintextB\x91\x01\n" + + "\x0ecom.api.kms.v1B\fDecryptProtoP\x01Z'go.temporal.io/proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + "Api.Kms.V1\xca\x02\n" + "Api\\Kms\\V1\xe2\x02\x16Api\\Kms\\V1\\GPBMetadata\xea\x02\fApi::Kms::V1b\x06proto3" diff --git a/pkg/api/kms/v1/encrypt.pb.go b/pkg/api/kms/v1/encrypt.pb.go index bb50bb9..e855874 100644 --- a/pkg/api/kms/v1/encrypt.pb.go +++ b/pkg/api/kms/v1/encrypt.pb.go @@ -139,8 +139,8 @@ const file_api_kms_v1_encrypt_proto_rawDesc = "" + "\x0fEncryptResponse\x12\x1e\n" + "\n" + "ciphertext\x18\x01 \x01(\fR\n" + - "ciphertextB\xa1\x01\n" + - "\x0ecom.api.kms.v1B\fEncryptProtoP\x01Z7github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + + "ciphertextB\x91\x01\n" + + "\x0ecom.api.kms.v1B\fEncryptProtoP\x01Z'go.temporal.io/proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + "Api.Kms.V1\xca\x02\n" + "Api\\Kms\\V1\xe2\x02\x16Api\\Kms\\V1\\GPBMetadata\xea\x02\fApi::Kms::V1b\x06proto3" diff --git a/pkg/api/kms/v1/service.pb.go b/pkg/api/kms/v1/service.pb.go index 0419fd2..3b09dc3 100644 --- a/pkg/api/kms/v1/service.pb.go +++ b/pkg/api/kms/v1/service.pb.go @@ -28,8 +28,8 @@ const file_api_kms_v1_service_proto_rawDesc = "" + "api.kms.v1\x1a\x18api/kms/v1/decrypt.proto\x1a\x18api/kms/v1/encrypt.proto2\x9f\x01\n" + "\x11EncryptionService\x12D\n" + "\aEncrypt\x12\x1a.api.kms.v1.EncryptRequest\x1a\x1b.api.kms.v1.EncryptResponse\"\x00\x12D\n" + - "\aDecrypt\x12\x1a.api.kms.v1.DecryptRequest\x1a\x1b.api.kms.v1.DecryptResponse\"\x00B\xa1\x01\n" + - "\x0ecom.api.kms.v1B\fServiceProtoP\x01Z7github.com/temporalio/temporal-proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + + "\aDecrypt\x12\x1a.api.kms.v1.DecryptRequest\x1a\x1b.api.kms.v1.DecryptResponse\"\x00B\x91\x01\n" + + "\x0ecom.api.kms.v1B\fServiceProtoP\x01Z'go.temporal.io/proxy/pkg/api/kms/v1;kms\xa2\x02\x03AKX\xaa\x02\n" + "Api.Kms.V1\xca\x02\n" + "Api\\Kms\\V1\xe2\x02\x16Api\\Kms\\V1\\GPBMetadata\xea\x02\fApi::Kms::V1b\x06proto3" diff --git a/pkg/codec/chain_test.go b/pkg/codec/chain_test.go index 5f8958c..d17f803 100644 --- a/pkg/codec/chain_test.go +++ b/pkg/codec/chain_test.go @@ -8,7 +8,7 @@ import ( "go.temporal.io/api/common/v1" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/pkg/codec" + "go.temporal.io/proxy/pkg/codec" ) func TestNewChainNoCodecs(t *testing.T) { diff --git a/pkg/codec/encryptor.go b/pkg/codec/encryptor.go index c77421f..57e6c2e 100644 --- a/pkg/codec/encryptor.go +++ b/pkg/codec/encryptor.go @@ -6,7 +6,7 @@ import ( "go.temporal.io/api/common/v1" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) // These keys form the on-the-wire contract for a sealed payload: the encoding diff --git a/pkg/codec/encryptor_test.go b/pkg/codec/encryptor_test.go index 8414c6a..4434935 100644 --- a/pkg/codec/encryptor_test.go +++ b/pkg/codec/encryptor_test.go @@ -11,8 +11,8 @@ import ( "go.temporal.io/api/common/v1" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/pkg/codec" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/codec" + "go.temporal.io/proxy/pkg/crypto" ) const ( diff --git a/pkg/codec/failure_test.go b/pkg/codec/failure_test.go index 2660aeb..eaaff8c 100644 --- a/pkg/codec/failure_test.go +++ b/pkg/codec/failure_test.go @@ -8,7 +8,7 @@ import ( failurepb "go.temporal.io/api/failure/v1" "google.golang.org/protobuf/proto" - "github.com/temporalio/temporal-proxy/pkg/codec" + "go.temporal.io/proxy/pkg/codec" ) func TestEncodeFailure(t *testing.T) { diff --git a/pkg/crypto/dek_test.go b/pkg/crypto/dek_test.go index ddc1aa5..bc26b2c 100644 --- a/pkg/crypto/dek_test.go +++ b/pkg/crypto/dek_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) func TestNewDEK(t *testing.T) { diff --git a/pkg/crypto/kek_test.go b/pkg/crypto/kek_test.go index 157d87d..27b3ca1 100644 --- a/pkg/crypto/kek_test.go +++ b/pkg/crypto/kek_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) type fakeKEK struct { diff --git a/pkg/crypto/keys_test.go b/pkg/crypto/keys_test.go index b42248f..d6ab76a 100644 --- a/pkg/crypto/keys_test.go +++ b/pkg/crypto/keys_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) func TestNewKeyFactory_DefaultSchemes(t *testing.T) { diff --git a/pkg/crypto/observer_test.go b/pkg/crypto/observer_test.go index cfcbd96..8e86fb5 100644 --- a/pkg/crypto/observer_test.go +++ b/pkg/crypto/observer_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) // reentrancyDeadline bounds how long a reentrant Seal is allowed to take. diff --git a/pkg/crypto/vault_test.go b/pkg/crypto/vault_test.go index 784e939..756f967 100644 --- a/pkg/crypto/vault_test.go +++ b/pkg/crypto/vault_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/crypto" + "go.temporal.io/proxy/pkg/crypto" ) // countingKEK is an identity KEK (ciphertext == plaintext) that counts calls. diff --git a/pkg/ext/auth.go b/pkg/ext/auth.go index bd27e22..9b63cf7 100644 --- a/pkg/ext/auth.go +++ b/pkg/ext/auth.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/pkg/api/auth/v1" ) // bearerScheme is the credential scheme [BearerToken] strips, matched diff --git a/pkg/ext/auth_test.go b/pkg/ext/auth_test.go index d9b4aae..6ceda3e 100644 --- a/pkg/ext/auth_test.go +++ b/pkg/ext/auth_test.go @@ -12,9 +12,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" + "go.temporal.io/proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/ext" ) // stubAuth records what the service handed it and answers with a fixed response diff --git a/pkg/ext/binding.go b/pkg/ext/binding.go index eeaf5fb..64ce720 100644 --- a/pkg/ext/binding.go +++ b/pkg/ext/binding.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/api/ext/v1" ) // BindingContext returns the bytes binding key material to the fields that diff --git a/pkg/ext/binding_test.go b/pkg/ext/binding_test.go index 6d338fb..de2cd9e 100644 --- a/pkg/ext/binding_test.go +++ b/pkg/ext/binding_test.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/ext" + "go.temporal.io/proxy/pkg/ext" ) // TestBindingContextEncoding pins the bytes. They are permanent: every payload diff --git a/pkg/ext/cipher.go b/pkg/ext/cipher.go index f347797..02c9afd 100644 --- a/pkg/ext/cipher.go +++ b/pkg/ext/cipher.go @@ -8,7 +8,7 @@ import ( "golang.org/x/crypto/chacha20poly1305" - "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/api/ext/v1" ) const ( diff --git a/pkg/ext/cipher_test.go b/pkg/ext/cipher_test.go index b717eb0..d3c7e9f 100644 --- a/pkg/ext/cipher_test.go +++ b/pkg/ext/cipher_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/ext" + "go.temporal.io/proxy/pkg/ext" ) func TestCiphers(t *testing.T) { diff --git a/pkg/ext/keywrap.go b/pkg/ext/keywrap.go index 783d6fd..b1deba5 100644 --- a/pkg/ext/keywrap.go +++ b/pkg/ext/keywrap.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/api/ext/v1" ) type ( diff --git a/pkg/ext/keywrap_test.go b/pkg/ext/keywrap_test.go index bceb138..2a1fd01 100644 --- a/pkg/ext/keywrap_test.go +++ b/pkg/ext/keywrap_test.go @@ -15,8 +15,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - extv1 "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" + extv1 "go.temporal.io/proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/ext" ) // wrappingKey is a fixed 32-byte key, the size every built-in cipher takes. diff --git a/pkg/ext/kms.go b/pkg/ext/kms.go index 81e38fa..d12b604 100644 --- a/pkg/ext/kms.go +++ b/pkg/ext/kms.go @@ -6,8 +6,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/logger" ) type ( diff --git a/pkg/ext/kms_test.go b/pkg/ext/kms_test.go index 54e9e70..848cc6c 100644 --- a/pkg/ext/kms_test.go +++ b/pkg/ext/kms_test.go @@ -10,9 +10,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/ext" + "go.temporal.io/proxy/pkg/logger" ) type ( diff --git a/pkg/ext/plaintext.go b/pkg/ext/plaintext.go index 19e1dd6..9f7d2dc 100644 --- a/pkg/ext/plaintext.go +++ b/pkg/ext/plaintext.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger" ) // plaintextMessage is logged the first time a call arrives unencrypted, and only diff --git a/pkg/ext/sealwrap.go b/pkg/ext/sealwrap.go index 046bbb8..f8ac8b8 100644 --- a/pkg/ext/sealwrap.go +++ b/pkg/ext/sealwrap.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/api/ext/v1" ) type ( diff --git a/pkg/ext/sealwrap_test.go b/pkg/ext/sealwrap_test.go index 18bb2da..1c93a73 100644 --- a/pkg/ext/sealwrap_test.go +++ b/pkg/ext/sealwrap_test.go @@ -14,8 +14,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - extv1 "github.com/temporalio/temporal-proxy/pkg/api/ext/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" + extv1 "go.temporal.io/proxy/pkg/api/ext/v1" + "go.temporal.io/proxy/pkg/ext" ) // stubSealer is a miniature of a real key service: it holds a key the wrapper diff --git a/pkg/ext/server.go b/pkg/ext/server.go index bc57dee..0231c15 100644 --- a/pkg/ext/server.go +++ b/pkg/ext/server.go @@ -15,10 +15,10 @@ import ( "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/keepalive" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) // signals are the signals [Serve] shuts down on. SIGINT arrives as diff --git a/pkg/ext/server_test.go b/pkg/ext/server_test.go index ec37847..2e377c0 100644 --- a/pkg/ext/server_test.go +++ b/pkg/ext/server_test.go @@ -20,11 +20,11 @@ import ( "google.golang.org/grpc/status" "google.golang.org/grpc/test/bufconn" - "github.com/temporalio/temporal-proxy/pkg/api/auth/v1" - "github.com/temporalio/temporal-proxy/pkg/api/kms/v1" - "github.com/temporalio/temporal-proxy/pkg/ext" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/api/auth/v1" + "go.temporal.io/proxy/pkg/api/kms/v1" + "go.temporal.io/proxy/pkg/ext" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/testutil" ) const ( diff --git a/pkg/logger/logger.go b/pkg/logger/logger.go index 83daab9..b4fc3e2 100644 --- a/pkg/logger/logger.go +++ b/pkg/logger/logger.go @@ -4,7 +4,7 @@ import ( "os" "strings" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger/tag" ) const ( diff --git a/pkg/logger/logger_test.go b/pkg/logger/logger_test.go index 0fd8eb2..cd32b6b 100644 --- a/pkg/logger/logger_test.go +++ b/pkg/logger/logger_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger" ) func TestParseLevel(t *testing.T) { diff --git a/pkg/logger/noop.go b/pkg/logger/noop.go index c12047b..b2e52f1 100644 --- a/pkg/logger/noop.go +++ b/pkg/logger/noop.go @@ -1,6 +1,6 @@ package logger -import "github.com/temporalio/temporal-proxy/pkg/logger/tag" +import "go.temporal.io/proxy/pkg/logger/tag" type ( // NoopLogger is a [Logger] that discards every entry. It is useful in tests diff --git a/pkg/logger/noop_test.go b/pkg/logger/noop_test.go index 51ea267..caffb92 100644 --- a/pkg/logger/noop_test.go +++ b/pkg/logger/noop_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestNoopLogger(t *testing.T) { diff --git a/pkg/logger/tag/tag_test.go b/pkg/logger/tag/tag_test.go index d03a9b7..9437caf 100644 --- a/pkg/logger/tag/tag_test.go +++ b/pkg/logger/tag/tag_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestString(t *testing.T) { diff --git a/pkg/logger/test.go b/pkg/logger/test.go index 650145e..8746a61 100644 --- a/pkg/logger/test.go +++ b/pkg/logger/test.go @@ -3,7 +3,7 @@ package logger import ( "sync" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/pkg/logger/test_test.go b/pkg/logger/test_test.go index 3cf132e..75932a6 100644 --- a/pkg/logger/test_test.go +++ b/pkg/logger/test_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestTestLoggerContains(t *testing.T) { diff --git a/pkg/logger/zero.go b/pkg/logger/zero.go index 7d77e5d..bec706c 100644 --- a/pkg/logger/zero.go +++ b/pkg/logger/zero.go @@ -5,7 +5,7 @@ import ( "github.com/rs/zerolog" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger/tag" ) type ( diff --git a/pkg/logger/zero_test.go b/pkg/logger/zero_test.go index 3dbd26f..39a3c95 100644 --- a/pkg/logger/zero_test.go +++ b/pkg/logger/zero_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/logger" - "github.com/temporalio/temporal-proxy/pkg/logger/tag" + "go.temporal.io/proxy/pkg/logger" + "go.temporal.io/proxy/pkg/logger/tag" ) func TestZeroLoggerLevels(t *testing.T) { diff --git a/pkg/match/match_test.go b/pkg/match/match_test.go index dbff057..ee19c07 100644 --- a/pkg/match/match_test.go +++ b/pkg/match/match_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/match" + "go.temporal.io/proxy/pkg/match" ) func TestMatcher(t *testing.T) { diff --git a/pkg/testutil/certs_test.go b/pkg/testutil/certs_test.go index 3cfdf00..9dd6efc 100644 --- a/pkg/testutil/certs_test.go +++ b/pkg/testutil/certs_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/testutil" ) func TestRSACert(t *testing.T) { diff --git a/pkg/testutil/fs_test.go b/pkg/testutil/fs_test.go index 6264aed..4d3c54a 100644 --- a/pkg/testutil/fs_test.go +++ b/pkg/testutil/fs_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/testutil" ) func TestWriteFile(t *testing.T) { diff --git a/pkg/testutil/rpc_test.go b/pkg/testutil/rpc_test.go index 8cb0622..2b5cfc6 100644 --- a/pkg/testutil/rpc_test.go +++ b/pkg/testutil/rpc_test.go @@ -10,7 +10,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/metadata" - "github.com/temporalio/temporal-proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/testutil" ) func TestClientConnInvoke(t *testing.T) { diff --git a/pkg/validation/certs/certs.go b/pkg/validation/certs/certs.go index f2126f1..6adb257 100644 --- a/pkg/validation/certs/certs.go +++ b/pkg/validation/certs/certs.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) const ( diff --git a/pkg/validation/certs/certs_test.go b/pkg/validation/certs/certs_test.go index f78803b..718369e 100644 --- a/pkg/validation/certs/certs_test.go +++ b/pkg/validation/certs/certs_test.go @@ -17,9 +17,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/testutil" - "github.com/temporalio/temporal-proxy/pkg/validation" - "github.com/temporalio/temporal-proxy/pkg/validation/certs" + "go.temporal.io/proxy/pkg/testutil" + "go.temporal.io/proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation/certs" ) func TestValidatePEM_NoChecks(t *testing.T) { diff --git a/pkg/validation/checks_test.go b/pkg/validation/checks_test.go index ca2591f..0f9367b 100644 --- a/pkg/validation/checks_test.go +++ b/pkg/validation/checks_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type sampleStruct struct { diff --git a/pkg/validation/combinators_test.go b/pkg/validation/combinators_test.go index 1b996c1..a099644 100644 --- a/pkg/validation/combinators_test.go +++ b/pkg/validation/combinators_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) type recordingValidator struct { diff --git a/pkg/validation/errors_test.go b/pkg/validation/errors_test.go index c8701f9..8478ef0 100644 --- a/pkg/validation/errors_test.go +++ b/pkg/validation/errors_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) func TestErrorError(t *testing.T) { diff --git a/pkg/validation/rules_test.go b/pkg/validation/rules_test.go index 027dce1..6a11a51 100644 --- a/pkg/validation/rules_test.go +++ b/pkg/validation/rules_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) func TestField_NoChecks(t *testing.T) { diff --git a/pkg/validation/validate_test.go b/pkg/validation/validate_test.go index 812456c..4da1d07 100644 --- a/pkg/validation/validate_test.go +++ b/pkg/validation/validate_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/temporalio/temporal-proxy/pkg/validation" + "go.temporal.io/proxy/pkg/validation" ) func TestValidate_NoRules(t *testing.T) {