Commit Graph
299 Commits
Author SHA1 Message Date
“Naeel” 4e668cda9f chore: remove nested universal_rebuild/universal_rebuild/ (332 duplicate doc files, wrong path) 2026-07-05 09:43:56 +04:00
“Naeel” d9673f7b17 chore: remove 18 junk files + stale root internal/ (old provider code)
Deleted: check_ops.py, s.sh, instance_fca3f912.json, name_check.txt,
prompt_for_ds_pro.md, prompt_for_opus48.md, state_keys_*.json,
state_keys_progress.txt, state_vault_*.json, svcs.json, services.*,
REPO_CONTENTS.md, REPO_INVENTORY.md, 01_generate_yamls.sh (duplicate),
internal/ (old provider, migrated to universal_rebuild/)
2026-07-05 09:37:40 +04:00
“Naeel” 3a003b28b3 chore: remove stale root go.mod/go.sum/main.go from old provider (terraform-provider-mycloud)
These files are leftovers from before the universal_rebuild migration.
The real provider lives at universal_rebuild/ with module terraform-provider-nubes.
2026-07-05 09:36:04 +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” 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” 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” 595c9250a1 docs: full postgres documentation rewrite — sub-field tables, working HCL examples for create/modify/user/database 2026-07-03 17:02:08 +04:00
“Naeel” 1e3038af63 TEST_STAND/PG: add comments to resources.tf explaining each parameter 2026-07-03 10:51:13 +04:00
“Naeel” c34c852096 TEST_STAND/PG: clean structure with README, variables.tf, .gitignore, terraform.tfvars.example 2026-07-03 10:49:28 +04:00
“Naeel” 9081309e13 history: document deck-api 403 workaround, map-fixed sub-fields, devops discussion, CMDB bug 2026-07-02 18:35:36 +04:00
“Naeel” d9feab666a docs: YAML analysis of 43 services from new API Gateway 2026-07-02 17:41:01 +04:00
“Naeel” 0c8223dd11 docs: HOWTO for cloud devops + update TEST_STAND manifests for new API Gateway
- HOWTO_IMPLEMENT_NEW_CLOUD_SERVICE.md: rules for implementing new managed services
  (naming, params, map-fixed blocks, operations, subresources, validation, checklist)
- HOWTO_ADD_NEW_SERVICE.md: how to add service to terraform provider pipeline
- TEST_STAND/*/main.tf: version 5.0.57, api_endpoint -> lk-api-gateway-test
- TEST_STAND/POSTGRES/resources.tf: rewritten for new map-fixed param structure
2026-07-02 17:38:42 +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” 54647b2fbf chore: промежуточные изменения в TEST_STAND, docs, s.sh 2026-07-02 11:31:38 +04:00
“Naeel” 76f0b82c96 docs: API reference — old deck-api + new lk-api-gateway 2026-07-01 20:21:32 +04:00
“Naeel” f094b45d33 docs: mention replace buck0 in README 2026-07-01 18:08:27 +04:00
“Naeel” 39b4fbe0ce docs: add comments to replace buck0 with own name 2026-07-01 18:07:52 +04:00
“Naeel” 3d8c958422 docs: remove notes from README 2026-07-01 18:06:09 +04:00
“Naeel” 93152eb075 docs: fix README note about network 2026-07-01 18:05:53 +04:00
“Naeel” 50d28665d2 docs: README for buck0 2026-07-01 18:04:23 +04:00
“Naeel” a3df2d8389 docs: format buck0 terraform.tfvars.example 2026-07-01 18:01:45 +04:00
“Naeel” 8c43b2fda8 Merge branch 'master' of https://gitea.services.ngcloud.ru/Nail/tf_provider 2026-07-01 17:45:45 +04:00
Naeel cbd9b1263c chore: update .gitignore 2026-07-01 16:45:11 +03:00
“Naeel” 8e9691eaba docs: history — DDoS-Guard 403 fix + registry server fix 2026-07-01 17:20:02 +04:00
“Naeel” b32424ac14 bump buck0 provider version to 5.0.75 2026-07-01 16:41: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