fix: verified map names, param remaps, and write lifecycle test

- Fix tag create: AddTag → CreateTag
- Fix tag update: UpdateTag → UpdateTagColor, param {id} → {tag}
- Fix sync_resource create/update: CreateSyncResource → CreateResourceSync,
  UpdateSyncResource → UpdateResourceSync
- Add GET/DELETE param remapping for tag ({tag}), variable ({name}),
  user_group ({user_group}) — same pattern as INSPECT_PARAM_KEY
- Update api.md with corrected endpoint names
- Add scripts/test_write_lifecycle.py — full CRUD lifecycle test
  covering 15 resource types across 4 tiers, urllib-only

All fixes verified live against Core v2.3.3 error responses.
This commit is contained in:
2026-09-08 10:23:20 +00:00
parent c437808514
commit f1efd29beb
6 changed files with 639 additions and 9 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ Full reference of Komodo RPC endpoints and which MCP tool handles them.
| `write/CreateAlerter` | alerter |
| `write/CreateImageRegistryAccount` | image_registry_account |
| `write/CreateResourceSync` | sync_resource |
| `write/AddTag` | tag |
| `write/CreateTag` | tag |
| `write/CreateAction` | action |
| `write/CreateRepo` | repo |
| `write/CreateBuilder` | builder |
@@ -138,7 +138,7 @@ Full reference of Komodo RPC endpoints and which MCP tool handles them.
| `write/UpdateImageRegistryAccount` | image_registry_account |
| `write/UpdateResourceSync` | sync_resource |
| `write/UpdateUser` | user |
| `write/UpdateTag` | tag |
| `write/UpdateTagColor` | tag |
| `write/UpdateAction` | action |
| `write/UpdateRepo` | repo |
| `write/UpdateBuilder` | builder |