20 Commits
Author SHA1 Message Date
Repinoid 308f92bc37 fix(core): graceful fallback for cfsParams 500 error in createInstanceWithContext
- In provider/internal/core/client.go:
  - If GET /instanceOperations/{opUid}?fields=cfsParams fails with 500 or JSON unmarshal error,
    check whether provided parameters contain unresolved names via hasUnresolvedParams.
  - If all parameters are already resolved (UUIDs/numbers/booleans/JSON), proceed to send
    parameters via POST /instanceOperationCfsParams without hard-failing.
  - If unresolved names remain, fail immediately with original error.
- Bumped DEV provider version to 2.0.2 in TOOLS/config/dev/profile.env, VERSIONS.md, and DEV_STAND/FullPipe/versions.tf.
- Built, signed, and published provider 2.0.2 to DEV registry bucket nubes-terraform-registry.
2026-09-21 09:59:15 +03:00
“Naeel” 86871498a2 Fix provider review findings 2026-08-31 20:19:31 +03:00
“Naeel” 90c5418bb1 feat: tests for stages output + testability refactoring
- add PollInterval, StagesWriter, RetryBaseDelay to UniversalClient
- 5 unit tests for waitForOperationFinish (mock API, 0.25s total)
- Sonnet/DeepSeek/Opus comparison answers archived
2026-08-09 20:01:43 +04:00
“Naeel” fda819cd81 feat: stages output + services_list sync
- stages always visible (remove log_level gating)
- fix tty resource leak (move out of poll loop)
- show current stage [..] in addition to completed [OK]/[FAIL]
- sync services_list.txt for all 3 stands with live UI
- add YAML vs API comparison script
- bump TEST version 5.0.1 -> 5.0.2
2026-08-09 18:18:35 +04:00
“Naeel” b137c93869 fix: redeploy now sends CFS params from YAML (RunRedeployOperation + template + loader) 2026-07-20 07:45:56 +04:00
“Naeel” 6660008af1 fix: ResolveS3UidInAllMapFixed exported + called in RequiredParamsMismatch 2026-07-19 13:36:40 +04:00
“Naeel” 4d14568852 fix: non-constant format string in fmt.Errorf 2026-07-19 13:11:46 +04:00
“Naeel” 38d278427e fix: move s3Uid resolve before early return when no refSvcId 2026-07-19 13:04:31 +04:00
“Naeel” dd61b1b08d fix: s3Uid resolve by JSON key pattern (no DataDescriptor dependency) 2026-07-19 11:37:52 +04:00
“Naeel” 65b78f2a78 fix: resolve s3Uid name→UUID for uuid sub-params inside map-fixed 2026-07-19 10:45:22 +04:00
“Naeel” 0a027c2ebf fix: map-fixed fallback builds JSON from DataDescriptor sub-param defaults 2026-07-19 09:34:26 +04:00
“Naeel” cfb546651b fix: zero-value fallback — integer→0, boolean→false; modify uses WithDefaults 2026-07-18 22:28:02 +04:00
Naeel ab7ab7abf2 fix: S3 refSvcId=12 — разрешить имя наравне с UUID, версия 5.1.3 2026-07-18 13:33:59 +03:00
“Naeel” 8b1176f8d8 fix: skip empty optional ref-params in resolveRefSvcParamValues, bump 5.0.68 2026-07-09 09:20:26 +04:00
“Naeel” f4be94c5c9 debug: write FIND-DEBUG to /tmp/nubes_find_debug.log instead of stderr 2026-07-09 00:47:41 +04:00
“Naeel” 5b106d7029 debug: stderr logging in FindInstanceByDisplayName, bump 5.0.66 2026-07-09 00:42:14 +04:00
“Naeel” f59b9ca19b fix: req.Close only for non-GET (fixes FindInstanceByDisplayName), bump 5.0.65 2026-07-08 20:11:30 +04:00
“Naeel” 4ac21d9367 v5.0.63: instance-level mutex to prevent parallel operations on same resource 2026-07-07 08:27:42 +04:00
“Naeel” 46e847a3c1 docs: add detailed package-level comments to all TOOLS/ and provider/
TOOLS:
- yaml-generator: types (API↔YAML), client (proxy/REST + retry)
- resource-generator: types (3 resource kinds), loader (pipeline),
  writers (generated files), params (merge/CreateOnly/ForceNew)
- docs-generator, ops-generator — already documented

provider:
- main.go: entrypoint + build instructions
- core: API client (GetInstance, RunOperation, GetInstanceState)
- provider: provider registration (New, Resources, Schema)
- resources_core: shared CRUD, state refresh, params, validation
2026-07-05 10:24:43 +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