No description
Find a file
Richard Robert Reitz 2a8e99eb63 feat(config): add API version selector for v1 and v2
Add configurable API version selection with three methods:
- Config file: api_version: "v1" or "v2" in .edge-connect.yaml
- CLI flag: --api-version v1/v2
- Environment variable: EDGE_CONNECT_API_VERSION=v1/v2

Changes:
- Update root.go to add api_version config and env var support
- Update app.go and instance.go to support both v1 and v2 clients
- Add example config file with api_version documentation
- Default to v2 for backward compatibility
- Apply command always uses v2 (advanced feature)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 13:41:50 +02:00
.claude feat(apply): Implement EdgeConnect configuration parsing foundation 2025-09-29 16:18:35 +02:00
.github/workflows ci: Added test workflow running on each push except tags 2025-10-07 16:10:02 +02:00
api doc(api): rename current swagger to _v2, add old swagger as _v1 2025-10-20 10:05:24 +02:00
cmd feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +02:00
internal refactor(sdk): restructure to follow Go module versioning conventions 2025-10-20 13:34:22 +02:00
sdk refactor(sdk): restructure to follow Go module versioning conventions 2025-10-20 13:34:22 +02:00
.edge-connect.yaml.example feat(config): add API version selector for v1 and v2 2025-10-20 13:41:50 +02:00
.envrc.example chore: Added flake 2025-10-07 14:37:54 +02:00
.gitignore chore: Added flake 2025-10-07 14:37:54 +02:00
.goreleaser.yaml fix(cli): Force usage of gitea token 2025-10-02 13:44:28 +02:00
apply-todo.md feat(apply): Implement CLI command with comprehensive deployment workflow 2025-09-29 17:24:59 +02:00
apply.md chore(cli): Removed appName from config schema. This is redundant to metadata name 2025-09-30 11:33:52 +02:00
config.yaml.example feat(cli): Implement Edge Connect CLI tool 2025-09-18 13:51:09 +02:00
Dockerfile feat(client): add basic client, model 2025-09-16 13:02:33 +02:00
flake.lock chore: Added flake 2025-10-07 14:37:54 +02:00
flake.nix chore: Added flake 2025-10-07 14:37:54 +02:00
go.mod feat(apply): Implement deployment planning with intelligent state comparison 2025-09-29 16:36:21 +02:00
go.sum feat(apply): Implement deployment planning with intelligent state comparison 2025-09-29 16:36:21 +02:00
main.go feat(cli): Implement Edge Connect CLI tool 2025-09-18 13:51:09 +02:00
Makefile Renamed package and removed unused make calls 2025-09-29 09:41:44 +02:00
plan.md feat(apply): Implement EdgeConnect configuration parsing foundation 2025-09-29 16:18:35 +02:00