Commit Graph
55 Commits
Author SHA1 Message Date
Repinoid 2d8e435dd4 docs: пометить отменённый заход модификаторов как LEGACY + исправить ложные факты
- баннеры «ЛОЖНЫЙ ПУТЬ — ОТМЕНЕНО» на 4 файла HISTORY/OPUS/2026-09-22_modifier_* и docs/60_strategy/modifier_resources_ideology_and_specification.md
- vIPConfigure: replace-семантика, НЕ накопительная (по тесту docs/ORG_IP_MODIFIER_TEST_2026-09-22.md)
- обновлены ссылки на перенесённые материалы (docs/... -> NOTES/..., HOW_TO/...)
2026-09-24 07:51:25 +03:00
Repinoid b9fa18164c fix(core,gen): UseStateForUnknown для Optional+Computed + live-dосылка без тихого fallback (R1+R3+A/B) 2026-09-22 22:35:45 +03:00
Repinoid a011358660 fix(core): досылать незаданные modify-params из live state.params (а не paramValue формы) — устраняет сброс needEnableAVI/ALB 2026-09-22 22:04:09 +03:00
Repinoid 94c4c44ba4 fix(core): ShouldRemoveFromState читает deleted/404 через GetInstanceStateRaw без падения 2026-09-22 21:44:16 +03:00
Repinoid bd46d11155 test(core,gen): unit-тесты modifierDesiredEqualsCurrent и ValidateSpec modifier 2026-09-22 21:20:43 +03:00
Repinoid 25e988886d feat(core): modifierDesiredEqualsCurrent + RunInstanceOperationUniversalByIdempotent + RunOperationByCodeIdempotent 2026-09-22 21:13:56 +03:00
Repinoid 17a803836a refactor(core): вынести JSON-эквивалентность в core/jsonutil (+реэкспорт в resources_core) 2026-09-22 21:10:13 +03:00
Repinoid 3d722fb7ee refactor(core): разбить client.go (1678 строк) на 15 мелких модулей по зонам ответственности 2026-09-22 20:06:49 +03:00
Repinoid 3236203366 fix(core): не досылать modify-params без live-значения/дефолта — избежать синтетического 0 (integer > 0) 2026-09-22 19:49:04 +03:00
Repinoid c420ea0e70 fix(core): дозаполнять ВСЕ незаданные params modify их live-значением (по коду), иначе модификатор сбрасывает create-поля в дефолт 2026-09-22 18:54:51 +03:00
Repinoid b1cea8a930 fix(core): fallback на /instanceOperations/default/{opId} при 500 getResourceRealmConfig в modify 2026-09-22 16:49:36 +03:00
Repinoid 4b34cc7e63 fix(core): гарантия known для read-back полей (unknown -> null), чтобы Computed без Default не ломал apply 2026-09-21 21:48:54 +03:00
Repinoid 8d405ba695 fix(core): подсказки при конфликте имени учитывают отсутствие suspend/resume (no adopt) + supportsSuspend в сигнатурах 2026-09-21 20:26:41 +03:00
Repinoid 1ec6a0fedc Fix VDC flow and FullPipe example 2026-09-21 13:02:25 +03:00
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” 260766e0b2 refactor: единый registry.env + очистка profile.env от registry-параметров + синхронизация build-provider.sh 2026-08-09 15:56:51 +04:00
“Naeel” f41446de02 fix: main.go — address обновлён на tf-registry.containerk8s.services.ngcloud.ru/nubes-test/nubes 2026-08-09 15:03:26 +04:00
“Naeel” 18f954b7ab switch registry hostname to go-registry.containerk8s.dev.nubes.ru 2026-08-07 08:29:07 +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 53dbcbe91c chore: удалить 73 сгенерированных Go-файла из git 2026-07-18 08:44:07 +03:00
“Naeel” e822009cfb feat: DEV provider 3.1.1 with mtls support, regenerated resources 2026-07-17 13:43:22 +04:00
“Naeel” dc9134e515 feat: parameterize provider address and source for multi-stand (DEV/TEST/PROD) support 2026-07-17 11:59:56 +04:00
“Naeel” 29d0de4658 versions: 2.1.0/3.1.0/5.1.0 per stand, main.go ldflags, registry cleaned 2026-07-16 15:55:42 +04:00
“Naeel” ae64ee5931 resource-generator: SubParams nested fix (Соннет) — AlignParamTypes recursive, HasNestedParams/NeedsStrings skip array-map-fixed, bump 5.0.74 2026-07-16 15:43:01 +04:00
“Naeel” 3d22758385 resource-generator: SubParams → nested SingleNestedAttribute/ListNestedAttribute + bump 5.0.73 2026-07-16 15:06:35 +04:00
“Naeel” 6929562fc9 fix: lifecycle bugs A+B (HasError guard, not_created hard error) + bump 5.0.72 2026-07-16 14:51:01 +04:00
“Naeel” d7e75c78b4 bump version 5.0.70 → 5.0.71 2026-07-16 14:39:00 +04:00
“Naeel” 3591ea227a progress output: show each operation fetch, bump 5.0.70 2026-07-16 14:07:02 +04:00
“Naeel” ec1d933221 bump version 5.0.68 → 5.0.69 2026-07-16 13:49:08 +04:00
“Naeel” f5547c0465 svc-api: переход на Gateway (lk-api-gateway), User-Agent+Referer для DDoS-Guard, метод Виталия /instanceOperations/default/{id} с dataDescriptor, LEGACY-пометки везде 2026-07-16 13:48:34 +04:00
“Naeel” 8b1176f8d8 fix: skip empty optional ref-params in resolveRefSvcParamValues, bump 5.0.68 2026-07-09 09:20:26 +04:00
“Naeel” ee9759cbce debug: bump 5.0.67, log PlanExistingResourceDiagnostics entry 2026-07-09 00:54:07 +04:00
“Naeel” a0474c3949 debug: log PlanExistingResourceDiagnostics entry point 2026-07-09 00:51: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” d70bf5d171 v5.0.64: delete idempotency, duplicate adopt, defer unlock, exist marker 2026-07-07 10:08:50 +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” d9f2c60e90 v5.0.62: fix modify 500 (remove WithDefaults GET ?fields=cfsParams) + tests 2026-07-06 22:43:19 +04:00