Commit Graph
16 Commits
Author SHA1 Message Date
“Naeel” f1a9b9b23c chore: remove 2 legacy devops scripts (superseded by _v2 versions)
- 02_generate_resources_and_docs.sh → no profile support
- 02_generate_resources_and_docs_template.sh → old ClickHouse template
2026-07-05 10:34:05 +04:00
“Naeel” 5da22335ae refactor: rename universal_rebuild/ → provider/
- Rename directory
- Update all 9 devops scripts
- Update 4 generator source files
- Rebuild all binaries
2026-07-05 10:20:04 +04:00
“Naeel” a9491e13ea refactor: extract all generators into independent TOOLS/ modules
Each generator is now a standalone Go module with its own go.mod:

TOOLS/
├── yaml-generator/       ← service_spec_gen (API → YAML)
├── resource-generator/   ← gen_v2 (YAML → Go resources)
├── docs-generator/       ← docs_template_gen_v2 (YAML → Markdown)
├── ops-generator/        ← ops_docs_gen (ops documentation)
└── bin/                  ← pre-built binaries

All scripts updated to use TOOLS/bin/* binaries.
Removed old universal_rebuild/tools/ and universal_rebuild/bin/.
2026-07-05 09:57:13 +04:00
“Naeel” 4e668cda9f chore: remove nested universal_rebuild/universal_rebuild/ (332 duplicate doc files, wrong path) 2026-07-05 09:43:56 +04:00
“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” e65bc45f5a v5.0.59: redeploy as git_revision, no separate action resources, gen_v2 follows ARCHITECTURE.md 2026-07-05 08:51:45 +04:00
“Naeel” a5df6dca62 ARCHITECTURE: PRIMARY source of truth — action rules (redeploy inline, others excluded), 401 retry, API endpoint auto-detect 2026-07-05 08:17:56 +04:00
“Naeel” e9901c6309 v5.0.58: retry on 401 from Gateway, bump test profile version 2026-07-05 07:51:23 +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” cb4efc878a profiles: separate S3 paths by stand (nubes-test/nubes-prod/nubes-dev) 2026-07-01 11:26:31 +04:00
“Naeel” 3e200aa608 v5.0.57: separate generated docs by stand, NEVER publish from docs/
- docs_gen/test/ — TEST-only generated docs (332 resources)
- docs_gen/prod/ — PROD placeholder
- docs_gen/dev/ — DEV placeholder
- 04_build_and_publish_docs.sh: --profile now uses ONLY docs_gen/<stand>/, never docs/
- .gitignore: exclude all generated docs
- Profile env: DOCS_GEN_DIR path
- Remove personal .docx from repo
2026-07-01 11:20:34 +04:00
“Naeel” e96a12e4f9 1 2026-07-01 10:41:53 +04:00
“Naeel” 3cda6ec479 fix: P1 — remove panics in docs gen, remove clickhouse hardcode, empty op logging 2026-06-30 18:27:06 +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” 3239c7807a fix: add missing fields to Legacy UniversalClient + bump version to 5.0.56 + concurrency docs 2026-06-30 17:43:35 +04:00
“Naeel” 540c1f7293 add: devops scripts and configs 2026-06-30 15:45:16 +04:00