From 3f93b437457e30aa0640294e62e1a3797955b425 Mon Sep 17 00:00:00 2001 From: Rodney Osodo Date: Tue, 17 Sep 2024 13:45:42 +0300 Subject: [PATCH] refactor: rename from vault to cube --- .github/workflows/cd.yaml | 2 +- README.md | 2 +- cloud-init/README.md | 6 ++-- cloud-init/qemu.sh | 2 +- docker-compose/.env | 26 ++++++++--------- docker-compose/compose.yaml | 6 ++-- docker-compose/magistrala-compose.yaml | 40 +++++++++++++------------- docker-compose/ollama-compose.yaml | 10 +++---- docker-compose/proxy-compose.yaml | 22 +++++++------- docker-compose/traefik/dynamic.yaml | 2 +- proxy/Makefile | 16 +++++------ proxy/api/endpoint.go | 2 +- proxy/api/transport.go | 4 +-- proxy/cmd/main.go | 16 +++++------ proxy/docker/Dockerfile | 6 ++-- proxy/docker/Dockerfile.dev | 2 +- proxy/go.mod | 4 +-- proxy/go.sum | 4 +-- proxy/middleware/logging.go | 2 +- proxy/middleware/metrics.go | 2 +- proxy/middleware/tracing.go | 2 +- 21 files changed, 89 insertions(+), 89 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a2d3dd6..4d8580a 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -1,4 +1,4 @@ -name: Create and publish Vault Proxy Docker image +name: Create and publish Cube Proxy Docker image on: push: diff --git a/README.md b/README.md index fc9cf3c..6d1423b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Vault AI +# Cube AI Protects LLMs diff --git a/cloud-init/README.md b/cloud-init/README.md index fc7d422..3793dfb 100644 --- a/cloud-init/README.md +++ b/cloud-init/README.md @@ -1,6 +1,6 @@ # Cloud Init -This directory contains the cloud-init configuration files for Vault AI. +This directory contains the cloud-init configuration files for Cube AI. ## After the first boot @@ -16,7 +16,7 @@ Your username is your github username and your password is the access token you 3. Clone the repository ```bash -git clone https://github.com/ultravioletrs/vault.git +git clone https://github.com/ultravioletrs/cube.git ``` Your username is your github username and your password is the access token you generated in step 1. @@ -24,7 +24,7 @@ Your username is your github username and your password is the access token you 4. Pull the docker images ```bash -cd vault +cd cube/docker-compose/ docker compose pull ``` diff --git a/cloud-init/qemu.sh b/cloud-init/qemu.sh index 0690ee6..686bc49 100644 --- a/cloud-init/qemu.sh +++ b/cloud-init/qemu.sh @@ -7,7 +7,7 @@ DISK_SIZE="35G" SEED_IMAGE="seed.img" USER_DATA="user-data" META_DATA="meta-data" -VM_NAME="vault-ai-vm" +VM_NAME="cube-ai-vm" RAM="16384M" CPU="8" USER="ultraviolet" diff --git a/docker-compose/.env b/docker-compose/.env index 0ea7fb4..e2c588a 100644 --- a/docker-compose/.env +++ b/docker-compose/.env @@ -145,19 +145,19 @@ MG_GOOGLE_STATE= MG_RELEASE_TAG=latest # Proxy -UV_VAULT_PROXY_LOG_LEVEL=info -UV_VAULT_PROXY_HOST=0.0.0.0 -UV_VAULT_PROXY_PORT=8900 -UV_VAULT_PROXY_SERVER_CERT= -UV_VAULT_PROXY_SERVER_KEY= -UV_VAULT_PROXY_TARGET_URL=http://ollama:11434 -UV_VAULT_PROXY_INSTANCE_ID= +UV_CUBE_PROXY_LOG_LEVEL=info +UV_CUBE_PROXY_HOST=0.0.0.0 +UV_CUBE_PROXY_PORT=8900 +UV_CUBE_PROXY_SERVER_CERT= +UV_CUBE_PROXY_SERVER_KEY= +UV_CUBE_PROXY_TARGET_URL=http://ollama:11434 +UV_CUBE_PROXY_INSTANCE_ID= #UI -UV_VAULT_UI_NEXTAUTH_SECRET="cZAcFIdjxebC1XDULvfoXs_sO7ufCTRo3hW2lXtMoCvcSKkTyP" -UV_VAULT_UI_NAME="Vault AI" +UV_CUBE_UI_NEXTAUTH_SECRET="cZAcFIdjxebC1XDULvfoXs_sO7ufCTRo3hW2lXtMoCvcSKkTyP" +UV_CUBE_UI_NAME="Cube AI" # change IP address to your local IP address -UV_VAULT_UI_BASE_URL=http://109.92.195.153:3001 -UV_VAULT_NEXTAUTH_URL=http://109.92.195.153:3001/api/auth -UV_VAULT_PUBLIC_BASE_URL=http://109.92.195.153:3001 -UV_VAULT_PUBLIC_UI_TYPE=vault-ai +UV_CUBE_UI_BASE_URL=http://109.92.195.153:6193 +UV_CUBE_NEXTAUTH_URL=http://109.92.195.153:6193/api/auth +UV_CUBE_PUBLIC_BASE_URL=http://109.92.195.153:6193 +UV_CUBE_PUBLIC_UI_TYPE=cube-ai diff --git a/docker-compose/compose.yaml b/docker-compose/compose.yaml index 5d82210..0cdc9c1 100644 --- a/docker-compose/compose.yaml +++ b/docker-compose/compose.yaml @@ -1,7 +1,7 @@ -name: "vault" +name: "cube" networks: - vault-network: + cube-network: driver: bridge include: @@ -27,4 +27,4 @@ services: - ./traefik/dynamic.yaml:/etc/traefik/dynamic.yaml - ./traefik/ssl:/etc/traefik/ssl networks: - - vault-network + - cube-network diff --git a/docker-compose/magistrala-compose.yaml b/docker-compose/magistrala-compose.yaml index 9adc447..ced8140 100644 --- a/docker-compose/magistrala-compose.yaml +++ b/docker-compose/magistrala-compose.yaml @@ -19,7 +19,7 @@ services: - magistrala-broker-volume:/data - ./nats:/etc/nats networks: - - vault-network + - cube-network jaeger: image: jaegertracing/all-in-one:1.53.0 @@ -28,7 +28,7 @@ services: COLLECTOR_OTLP_ENABLED: ${MG_JAEGER_COLLECTOR_OTLP_ENABLED} command: --memory.max-traces ${MG_JAEGER_MEMORY_MAX_TRACES} networks: - - vault-network + - cube-network spicedb: image: "authzed/spicedb:v1.30.0" @@ -42,7 +42,7 @@ services: depends_on: - spicedb-migrate networks: - - vault-network + - cube-network spicedb-migrate: image: "authzed/spicedb:v1.30.0" @@ -55,7 +55,7 @@ services: depends_on: - spicedb-db networks: - - vault-network + - cube-network spicedb-db: image: "postgres:16.2-alpine" @@ -67,7 +67,7 @@ services: volumes: - magistrala-spicedb-db-volume:/var/lib/postgresql/data networks: - - vault-network + - cube-network auth-db: image: postgres:16.2-alpine @@ -80,7 +80,7 @@ services: volumes: - magistrala-auth-db-volume:/var/lib/postgresql/data networks: - - vault-network + - cube-network auth: image: magistrala/auth:${MG_RELEASE_TAG} @@ -154,7 +154,7 @@ services: bind: create_host_path: true networks: - - vault-network + - cube-network users-db: image: postgres:16.2-alpine @@ -169,7 +169,7 @@ services: volumes: - magistrala-users-db-volume:/var/lib/postgresql/data networks: - - vault-network + - cube-network users: image: magistrala/users:${MG_RELEASE_TAG} @@ -245,7 +245,7 @@ services: bind: create_host_path: true networks: - - vault-network + - cube-network invitations-db: image: postgres:16.2-alpine @@ -260,7 +260,7 @@ services: volumes: - magistrala-invitations-db-volume:/var/lib/postgresql/data networks: - - vault-network + - cube-network invitations: image: magistrala/invitations:${MG_RELEASE_TAG} @@ -313,11 +313,11 @@ services: bind: create_host_path: true networks: - - vault-network + - cube-network ui: - image: ghcr.io/ultravioletrs/vault/ui:latest - container_name: vault-ui + image: ghcr.io/ultravioletrs/cube/ui:latest + container_name: cube-ui restart: on-failure depends_on: - auth @@ -326,14 +326,14 @@ services: ports: - 3001:3000 networks: - - vault-network + - cube-network environment: - NEXTAUTH_SECRET: ${UV_VAULT_UI_NEXTAUTH_SECRET} + NEXTAUTH_SECRET: ${UV_CUBE_UI_NEXTAUTH_SECRET} MG_DOMAINS_URL: ${MG_DOMAINS_URL} MG_USERS_URL: ${MG_USERS_URL} MG_INVITATIONS_URL: ${MG_INVITATIONS_URL} - MG_UI_NAME: ${UV_VAULT_UI_NAME} - MG_BASE_URL: ${UV_VAULT_UI_BASE_URL} - NEXTAUTH_URL: ${UV_VAULT_NEXTAUTH_URL} - NEXT_PUBLIC_BASE_URL: ${UV_VAULT_PUBLIC_BASE_URL} - NEXT_PUBLIC_UI_TYPE: ${UV_VAULT_PUBLIC_UI_TYPE} + MG_UI_NAME: ${UV_CUBE_UI_NAME} + MG_BASE_URL: ${UV_CUBE_UI_BASE_URL} + NEXTAUTH_URL: ${UV_CUBE_NEXTAUTH_URL} + NEXT_PUBLIC_BASE_URL: ${UV_CUBE_PUBLIC_BASE_URL} + NEXT_PUBLIC_UI_TYPE: ${UV_CUBE_PUBLIC_UI_TYPE} diff --git a/docker-compose/ollama-compose.yaml b/docker-compose/ollama-compose.yaml index f75114e..90f616e 100644 --- a/docker-compose/ollama-compose.yaml +++ b/docker-compose/ollama-compose.yaml @@ -13,7 +13,7 @@ services: - ollama:/root/.ollama tty: true networks: - - vault-network + - cube-network open-webui: container_name: open-webui @@ -26,7 +26,7 @@ services: environment: - OLLAMA_BASE_URL=http://ollama:11434 networks: - - vault-network + - cube-network pull-llama3: image: docker:27.2.0 @@ -38,7 +38,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - - vault-network + - cube-network pull-starcoder2: image: docker:27.2.0 @@ -50,7 +50,7 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - - vault-network + - cube-network pull-nomic-embed-text: image: docker:27.2.0 @@ -62,4 +62,4 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - - vault-network + - cube-network diff --git a/docker-compose/proxy-compose.yaml b/docker-compose/proxy-compose.yaml index 4c3996b..dbcc72a 100644 --- a/docker-compose/proxy-compose.yaml +++ b/docker-compose/proxy-compose.yaml @@ -1,26 +1,26 @@ services: - vault-proxy: - container_name: vault-proxy - image: ghcr.io/ultravioletrs/vault/proxy:latest + cube-proxy: + container_name: cube-proxy + image: ghcr.io/ultravioletrs/cube/proxy:latest restart: on-failure networks: - - vault-network + - cube-network depends_on: - auth environment: - UV_VAULT_PROXY_LOG_LEVEL: ${UV_VAULT_PROXY_LOG_LEVEL} - UV_VAULT_PROXY_TARGET_URL: ${UV_VAULT_PROXY_TARGET_URL} - UV_VAULT_PROXY_HOST: ${UV_VAULT_PROXY_HOST} - UV_VAULT_PROXY_PORT: ${UV_VAULT_PROXY_PORT} - UV_VAULT_PROXY_SERVER_CERT: ${UV_VAULT_PROXY_SERVER_CERT} - UV_VAULT_PROXY_SERVER_KEY: ${UV_VAULT_PROXY_SERVER_KEY} + UV_CUBE_PROXY_LOG_LEVEL: ${UV_CUBE_PROXY_LOG_LEVEL} + UV_CUBE_PROXY_TARGET_URL: ${UV_CUBE_PROXY_TARGET_URL} + UV_CUBE_PROXY_HOST: ${UV_CUBE_PROXY_HOST} + UV_CUBE_PROXY_PORT: ${UV_CUBE_PROXY_PORT} + UV_CUBE_PROXY_SERVER_CERT: ${UV_CUBE_PROXY_SERVER_CERT} + UV_CUBE_PROXY_SERVER_KEY: ${UV_CUBE_PROXY_SERVER_KEY} MG_AUTH_GRPC_URL: ${MG_AUTH_GRPC_URL} MG_AUTH_GRPC_TIMEOUT: ${MG_AUTH_GRPC_TIMEOUT} MG_AUTH_GRPC_CLIENT_CERT: ${MG_AUTH_GRPC_CLIENT_CERT:+/auth-grpc-client.crt} MG_AUTH_GRPC_CLIENT_KEY: ${MG_AUTH_GRPC_CLIENT_KEY:+/auth-grpc-client.key} MG_AUTH_GRPC_SERVER_CA_CERTS: ${MG_AUTH_GRPC_SERVER_CA_CERTS:+/auth-grpc-server-ca.crt} MG_SEND_TELEMETRY: ${MG_SEND_TELEMETRY} - UV_VAULT_PROXY_INSTANCE_ID: ${UV_VAULT_PROXY_INSTANCE_ID} + UV_CUBE_PROXY_INSTANCE_ID: ${UV_CUBE_PROXY_INSTANCE_ID} MG_JAEGER_URL: ${MG_JAEGER_URL} MG_JAEGER_TRACE_RATIO: ${MG_JAEGER_TRACE_RATIO} volumes: diff --git a/docker-compose/traefik/dynamic.yaml b/docker-compose/traefik/dynamic.yaml index f0cefec..1afb3f5 100644 --- a/docker-compose/traefik/dynamic.yaml +++ b/docker-compose/traefik/dynamic.yaml @@ -26,7 +26,7 @@ http: - "/ollama" forward-auth-middleware: forwardAuth: - address: http://vault-proxy:8900 + address: http://cube-proxy:8900 services: users: diff --git a/proxy/Makefile b/proxy/Makefile index 3b48ee0..3c01237 100644 --- a/proxy/Makefile +++ b/proxy/Makefile @@ -1,4 +1,4 @@ -VAULT_DOCKER_IMAGE_NAME ?= ghcr.io/ultravioletrs/vault/proxy +CUBE_DOCKER_IMAGE_NAME ?= ghcr.io/ultravioletrs/cube/proxy CGO_ENABLED ?= 0 GOOS ?= linux GOARCH ?= amd64 @@ -13,7 +13,7 @@ define compile_service -X 'github.com/absmach/magistrala.BuildTime=$(TIME)' \ -X 'github.com/absmach/magistrala.Version=$(VERSION)' \ -X 'github.com/absmach/magistrala.Commit=$(COMMIT)'" \ - -o ${BUILD_DIR}/vault-proxy cmd/main.go + -o ${BUILD_DIR}/cube-proxy cmd/main.go endef define make_docker @@ -23,22 +23,22 @@ define make_docker --build-arg GOARCH=$(GOARCH) \ --build-arg VERSION=$(VERSION) \ --build-arg COMMIT=$(COMMIT) \ - --tag=$(VAULT_DOCKER_IMAGE_NAME):$(VERSION) \ - --tag=$(VAULT_DOCKER_IMAGE_NAME):latest \ + --tag=$(CUBE_DOCKER_IMAGE_NAME):$(VERSION) \ + --tag=$(CUBE_DOCKER_IMAGE_NAME):latest \ -f docker/Dockerfile . endef define make_docker_dev docker build \ --no-cache \ - --tag=$(VAULT_DOCKER_IMAGE_NAME):$(VERSION) \ - --tag=$(VAULT_DOCKER_IMAGE_NAME):latest \ + --tag=$(CUBE_DOCKER_IMAGE_NAME):$(VERSION) \ + --tag=$(CUBE_DOCKER_IMAGE_NAME):latest \ -f docker/Dockerfile.dev ./build endef define docker_push - docker push $(VAULT_DOCKER_IMAGE_NAME):$(VERSION) - docker push $(VAULT_DOCKER_IMAGE_NAME):latest + docker push $(CUBE_DOCKER_IMAGE_NAME):$(VERSION) + docker push $(CUBE_DOCKER_IMAGE_NAME):latest endef .PHONY: build diff --git a/proxy/api/endpoint.go b/proxy/api/endpoint.go index 0dde99b..3ea9ab1 100644 --- a/proxy/api/endpoint.go +++ b/proxy/api/endpoint.go @@ -6,7 +6,7 @@ import ( "github.com/absmach/magistrala/pkg/apiutil" "github.com/absmach/magistrala/pkg/errors" "github.com/go-kit/kit/endpoint" - proxy "github.com/ultraviolet/vault-proxy" + proxy "github.com/ultraviolet/cube-proxy" ) func identifyEndpoint(svc proxy.Service) endpoint.Endpoint { diff --git a/proxy/api/transport.go b/proxy/api/transport.go index a889f07..9c20671 100644 --- a/proxy/api/transport.go +++ b/proxy/api/transport.go @@ -13,7 +13,7 @@ import ( "github.com/go-chi/chi/v5" kithttp "github.com/go-kit/kit/transport/http" "github.com/prometheus/client_golang/prometheus/promhttp" - proxy "github.com/ultraviolet/vault-proxy" + proxy "github.com/ultraviolet/cube-proxy" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" ) @@ -35,7 +35,7 @@ func MakeHandler(svc proxy.Service, logger *slog.Logger, instanceID string) http opts..., ), "identify").ServeHTTP) - mux.Get("/health", magistrala.Health("vault-proxy", instanceID)) + mux.Get("/health", magistrala.Health("cube-proxy", instanceID)) mux.Handle("/metrics", promhttp.Handler()) return mux diff --git a/proxy/cmd/main.go b/proxy/cmd/main.go index 3564996..24dc295 100644 --- a/proxy/cmd/main.go +++ b/proxy/cmd/main.go @@ -19,25 +19,25 @@ import ( "github.com/absmach/magistrala/pkg/server/http" "github.com/absmach/magistrala/pkg/uuid" "github.com/caarlos0/env/v11" - proxy "github.com/ultraviolet/vault-proxy" - "github.com/ultraviolet/vault-proxy/api" - "github.com/ultraviolet/vault-proxy/middleware" + proxy "github.com/ultraviolet/cube-proxy" + "github.com/ultraviolet/cube-proxy/api" + "github.com/ultraviolet/cube-proxy/middleware" "go.opentelemetry.io/otel/trace" "golang.org/x/sync/errgroup" ) const ( - svcName = "vault_proxy" - envPrefixHTTP = "UV_VAULT_PROXY_" + svcName = "cube_proxy" + envPrefixHTTP = "UV_CUBE_PROXY_" envPrefixAuth = "MG_AUTH_GRPC_" defSvcHTTPPort = "8900" ) type config struct { - LogLevel string `env:"UV_VAULT_PROXY_LOG_LEVEL" envDefault:"info"` - TargetURL string `env:"UV_VAULT_PROXY_TARGET_URL" envDefault:"http://ollama:11434"` + LogLevel string `env:"UV_CUBE_PROXY_LOG_LEVEL" envDefault:"info"` + TargetURL string `env:"UV_CUBE_PROXY_TARGET_URL" envDefault:"http://ollama:11434"` SendTelemetry bool `env:"MG_SEND_TELEMETRY" envDefault:"true"` - InstanceID string `env:"UV_VAULT_PROXY_INSTANCE_ID" envDefault:""` + InstanceID string `env:"UV_CUBE_PROXY_INSTANCE_ID" envDefault:""` JaegerURL url.URL `env:"MG_JAEGER_URL" envDefault:"http://localhost:4318/v1/traces"` TraceRatio float64 `env:"MG_JAEGER_TRACE_RATIO" envDefault:"1.0"` } diff --git a/proxy/docker/Dockerfile b/proxy/docker/Dockerfile index aa78827..4c4ae14 100644 --- a/proxy/docker/Dockerfile +++ b/proxy/docker/Dockerfile @@ -5,13 +5,13 @@ ARG GOARCH ARG VERSION ARG COMMIT -WORKDIR /go/src/github.com/ultraviolet/vault-proxy +WORKDIR /go/src/github.com/ultraviolet/cube-proxy COPY . . RUN apk update \ && apk add make upx\ && make build \ - && upx build/vault-proxy \ - && mv build/vault-proxy /exe + && upx build/cube-proxy \ + && mv build/cube-proxy /exe FROM scratch COPY --from=builder /exe / diff --git a/proxy/docker/Dockerfile.dev b/proxy/docker/Dockerfile.dev index 3b48df6..d233976 100644 --- a/proxy/docker/Dockerfile.dev +++ b/proxy/docker/Dockerfile.dev @@ -1,4 +1,4 @@ FROM scratch -COPY vault-proxy /exe +COPY cube-proxy /exe COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt ENTRYPOINT ["/exe"] diff --git a/proxy/go.mod b/proxy/go.mod index 4fdd9c7..1a296e2 100644 --- a/proxy/go.mod +++ b/proxy/go.mod @@ -1,4 +1,4 @@ -module github.com/ultraviolet/vault-proxy +module github.com/ultraviolet/cube-proxy go 1.23.1 @@ -8,7 +8,7 @@ require ( github.com/caarlos0/env/v11 v11.2.2 github.com/go-chi/chi/v5 v5.1.0 github.com/go-kit/kit v0.13.0 - github.com/prometheus/client_golang v1.20.3 + github.com/prometheus/client_golang v1.20.4 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 go.opentelemetry.io/otel/trace v1.30.0 golang.org/x/sync v0.8.0 diff --git a/proxy/go.sum b/proxy/go.sum index 9ddd4ac..d6ade10 100644 --- a/proxy/go.sum +++ b/proxy/go.sum @@ -253,8 +253,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY= github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg= -github.com/prometheus/client_golang v1.20.3 h1:oPksm4K8B+Vt35tUhw6GbSNSgVlVSBH0qELP/7u83l4= -github.com/prometheus/client_golang v1.20.3/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= +github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= +github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.59.1 h1:LXb1quJHWm1P6wq/U824uxYi4Sg0oGvNeUm1z5dJoX0= diff --git a/proxy/middleware/logging.go b/proxy/middleware/logging.go index 21480c7..938e4f8 100644 --- a/proxy/middleware/logging.go +++ b/proxy/middleware/logging.go @@ -5,7 +5,7 @@ import ( "log/slog" "time" - proxy "github.com/ultraviolet/vault-proxy" + proxy "github.com/ultraviolet/cube-proxy" ) var _ proxy.Service = (*loggingMiddleware)(nil) diff --git a/proxy/middleware/metrics.go b/proxy/middleware/metrics.go index df197d7..f42c50e 100644 --- a/proxy/middleware/metrics.go +++ b/proxy/middleware/metrics.go @@ -5,7 +5,7 @@ import ( "time" "github.com/go-kit/kit/metrics" - proxy "github.com/ultraviolet/vault-proxy" + proxy "github.com/ultraviolet/cube-proxy" ) var _ proxy.Service = (*metricsMiddleware)(nil) diff --git a/proxy/middleware/tracing.go b/proxy/middleware/tracing.go index e03b314..6c28a82 100644 --- a/proxy/middleware/tracing.go +++ b/proxy/middleware/tracing.go @@ -3,7 +3,7 @@ package middleware import ( "context" - proxy "github.com/ultraviolet/vault-proxy" + proxy "github.com/ultraviolet/cube-proxy" "go.opentelemetry.io/otel/trace" )