“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”
20bb7bc0e9
chore: go mod tidy — remove 4 unused indirect deps (brotli, klauspost, utls, crypto)
2026-07-05 09:14:08 +04:00
“Naeel”
f3616d0fe1
refactor(gen_v2): split into 7 Go packages (types, templates, helpers, params, loader, writers, main)
2026-07-05 09:13:07 +04:00
“Naeel”
e8935f1ebf
refactor(gen_v2): split into 7 files by concern (types, loader, params, writers, helpers, templates, main)
2026-07-05 09:03:16 +04:00
“Naeel”
703bac4bc4
refactor(gen_v2): split template constants into templates.go
2026-07-05 08:57:47 +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”
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”
cdaa78ecee
fix: User-Agent on all direct HTTP calls + domain_collision, bump 5.0.75
2026-07-01 16:29:04 +04:00
“Naeel”
a8d3be1849
v5.0.74: fix net import
2026-07-01 16:12:23 +04:00
“Naeel”
112d04adf5
v5.0.74: fresh Transport (not cloned DefaultTransport)
2026-07-01 16:11:26 +04:00
“Naeel”
42210c2250
v5.0.73: req.Close=true — force new TCP per request
2026-07-01 16:09:54 +04:00
“Naeel”
11f5464367
v5.0.72: clean build — ?endpoint= + TLSNextProto + rawQuery fix
2026-07-01 16:01:33 +04:00
“Naeel”
f2d2b02e45
v5.0.71: rawQuery (no %2F) + Accept: */* (DDoS-Guard POST fix)
2026-07-01 15:52:50 +04:00
“Naeel”
3f9b02c7f7
v5.0.70: all URLs use ?endpoint= (fix query params in path)
2026-07-01 15:43:27 +04:00
“Naeel”
97ea19ed1b
v5.0.69: ?endpoint= format like generator (fixes POST 403)
2026-07-01 15:41:38 +04:00
“Naeel”
7862ea7e45
v5.0.68: TLSNextProto fix — disable HTTP/2 ALPN (DDoS-Guard EOF)
2026-07-01 15:40:09 +04:00
“Naeel”
e06e8de134
v5.0.67: fix proxy nil crash + net/url import
2026-07-01 14:59:49 +04:00
“Naeel”
dbc426b861
v5.0.66: utls + proxy CONNECT tunnel (DDoS-Guard bypass)
2026-07-01 14:57:53 +04:00
“Naeel”
0ea3ec8120
v5.0.65: remove req.Close (server EOF after Firefox TLS)
2026-07-01 14:53:45 +04:00
“Naeel”
7af20e6568
v5.0.64: utls Firefox-120 TLS fingerprint
2026-07-01 14:51:03 +04:00
“Naeel”
5a301a397c
v5.0.63: utls force HTTP/1.1 ALPN
2026-07-01 14:47:54 +04:00
“Naeel”
62c41e96d7
v5.0.62: utls Chrome-120 TLS fingerprint (DDoS-Guard bypass)
2026-07-01 14:45:30 +04:00
“Naeel”
3c6e8c8b1d
v5.0.61: add browser Accept headers (DDoS-Guard)
2026-07-01 14:35:19 +04:00
“Naeel”
3308aebe76
v5.0.60: UA=Mozilla/5.0 exactly (DDoS-Guard TLS fingerprint bypass)
2026-07-01 14:33:38 +04:00
“Naeel”
45a722db29
v5.0.59: fix ALL ?endpoint= URLs in client.go (was missing GetInstanceStateRaw)
2026-07-01 14:31:20 +04:00
“Naeel”
d2b9e91624
v5.0.58: fix API format — ?endpoint= instead of REST path (DDoS-Guard 403)
2026-07-01 14:28:08 +04:00
“Naeel”
9c78cba1a0
v5.0.57: provider address terra.k8c.ru/nubes-test/nubes
2026-07-01 12:15:33 +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”
e8b8db1d10
v5.0.57: regenerate all from TEST API (NOT PROD)
...
- 43 YAML, 94 Go, 332 docs from deck-api-test.ngcloud.ru
- STANDS.md, TESTING.md, API_TOKENS.md added
- Never mix PROD/TEST again
2026-07-01 10:04:15 +04:00
“Naeel”
3b6b5ba3c4
feat: full regeneration from API — 70→88 Go files, 42 YAMLs, +18 new resources (reconcile, backup, users, databases)
2026-06-30 18:41:14 +04:00
“Naeel”
0d24326edb
fix: service_spec_gen skip 404 services gracefully instead of panic
2026-06-30 18:39:35 +04:00
“Naeel”
781f538f7b
chore: P2 — remove dead tools (service_ops_gen, service_params_gen, gen/v1)
2026-06-30 18:36:13 +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”
a0e4037d7b
fix: P1 — classifyOperation accepts any underscore prefix + format.Source warns instead of silently writing broken Go
2026-06-30 18:16:28 +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”
f2a9b3be84
fix: remove accidentally committed test-generated files
2026-06-30 17:56:58 +04:00
“Naeel”
966def9456
docs: Opus questions round 2 — deep analysis of generation scripts and tools
2026-06-30 17:56:41 +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”
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”
2bc0e0160a
test: P1.6 — table-driven tests for classifyStatus, isAdoptable, isTerminalError (34 cases)
2026-06-30 17:40:20 +04:00
“Naeel”
0998b19ec5
refactor: P2.8 — adoptExistingInstanceOnCreate uses classifyStatus + exhaustive switch
2026-06-30 17:38:46 +04:00
“Naeel”
f48772962b
feat: P2.7 — InstanceState enum + classifyStatus() for 16 states
2026-06-30 17:37:43 +04:00
“Naeel”
0f2036f061
fix: P1.4 — validateSpec() fail-fast on unknown operation kind in generator
2026-06-30 17:34:31 +04:00
“Naeel”
ce28906d32
fix: P0.2 — auto-cleanup not_created orphan instances on adopt
2026-06-30 17:33:17 +04:00
“Naeel”
1252014324
fix: add retry + User-Agent to doRequest (P0.1 — DDoS-Guard bypass + transient error handling)
2026-06-30 17:27:53 +04:00
“Naeel”
ccf5020e78
add: YAML service specs
2026-06-30 15:45:03 +04:00
“Naeel”
aac18970ae
add: generator tools (sources)
2026-06-30 15:44:56 +04:00
“Naeel”
d2c4ad2979
add: universal provider
2026-06-30 15:44:36 +04:00