“Naeel”
87666f5c4b
refactor(service_spec_gen): split into 6 packages (types, client, config, normalize, spec, main) + .gitignore
...
- Split 741-line monolith into 6 independent packages
- All functions exported, no circular deps
- Build: go build -o bin/service_spec_gen ./tools/service_spec_gen/
- Script 01_generate_yamls.sh: go run → ./bin/service_spec_gen
- Add bin/ to .gitignore
2026-07-05 09:27:25 +04:00
“Naeel”
612aa53caf
api-gateway: migrate YAML gen + provider core from deck-api (?endpoint=) to lk-api-gateway (REST paths)
...
- service_spec_gen: callAPI() auto-detects proxy vs REST mode by index.cfm presence
- core/client.go: buildURL() replaces all 4 ?endpoint= harcoded sites
- build-provider.sh: -ldflags -X main.version=${VERSION} for correct binary version
- 01_generate_yamls.sh (devops + root): Python auto-detect proxy vs REST
- 02_generate_resources_and_docs_v2.sh: pass -api-endpoint to doc generators
- 04_build_and_publish_docs.sh: normalize_api_endpoint without forced /index.cfm
- docs_template_gen + v2: -api-endpoint flag, hardcoded deck-api replaced
- provider.go (both): TODO(api-gateway) comments
- profiles/test/profile.env: NUBES_API_ENDPOINT -> lk-api-gateway-test
- HISTORY: 2026-07-02_api_gateway_migration.md
2026-07-02 12:40:47 +04:00
“Naeel”
0d24326edb
fix: service_spec_gen skip 404 services gracefully instead of panic
2026-06-30 18:39:35 +04:00
“Naeel”
75c1802530
fix: bulletproof .gitignore for ALL Go binaries + classifyOperation for any underscore prefix
2026-06-30 18:13:36 +04:00
“Naeel”
48ad16c241
fix: P0 — add User-Agent + retry to bash urllib, retry to service_spec_gen, empty-list guard
2026-06-30 18:11:52 +04:00
“Naeel”
4235f3e05e
fix: add User-Agent to all generator tools (service_spec_gen, ops_gen, params_gen) — bypass DDoS-Guard
2026-06-30 17:48:21 +04:00
“Naeel”
aac18970ae
add: generator tools (sources)
2026-06-30 15:44:56 +04:00