Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,3 @@
## Project Overview

This is the s2s-proxy project for Temporal, providing server-to-server proxy functionality.

### Important Components

#### Config Converter Tool
- Located at: `cmd/tools/configconverter/`
- Purpose: Converts legacy s2s-proxy configs to new `clusterConnections` format
- Uses `config.ToClusterConnConfig()` for conversion
- Filters out deprecated fields marked with "TODO: Soon to be deprecated!"
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,18 @@ ALL_SRC := $(shell find . -name "*.go")
ALL_SRC += go.mod

all: bins fmt lint
bins: s2s-proxy configconverter
bins: s2s-proxy
clean: clean-bins clean-tests

clean-bins:
@printf $(COLOR) "Delete old binaries...\n"
@rm -f ./bins/*

# Binary targets
# Binary target
s2s-proxy: $(ALL_SRC)
@printf $(COLOR) "Build s2s-proxy with CGO_ENABLED=$(CGO_ENABLED) for $(GOOS)/$(GOARCH)...\n"
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=$(CGO_ENABLED) go build -ldflags "-X main.Version=$(VERSION)" -o ./bins/s2s-proxy ./cmd/proxy

configconverter: $(ALL_SRC)
@printf $(COLOR) "Build configconverter with CGO_ENABLED=$(CGO_ENABLED) for $(GOOS)/$(GOARCH)...\n"
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=$(CGO_ENABLED) go build -o ./bins/configconverter ./cmd/tools/configconverter

update-tools:
# When changing the golangci-lint version, update the version in .github/workflows/pull-request.yml
$(GO_GET_TOOL) github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.8
Expand Down
81 changes: 0 additions & 81 deletions cmd/tools/configconverter/README.md

This file was deleted.

77 changes: 0 additions & 77 deletions cmd/tools/configconverter/main.go

This file was deleted.

Loading
Loading