Skip to content

添加uhadoop-cli相关命令和测试文档#1

Open
markwei-ucloud wants to merge 53 commits into
devfrom
feature/1797
Open

添加uhadoop-cli相关命令和测试文档#1
markwei-ucloud wants to merge 53 commits into
devfrom
feature/1797

Conversation

@markwei-ucloud

Copy link
Copy Markdown
Owner

Features:
添加uhadoop-api相关操作命令,包含以下命令:
Commands:

list List all UHadoop clusters

describe Describe a UHadoop cluster

create Create a UHadoop cluster

delete Delete a UHadoop cluster

add-node Add nodes to a UHadoop cluster

list-node-type List available node types for UHadoop

list-framework-app List UHadoop framework apps by use case

restart-service Restart/start/stop a UHadoop cluster service

upgrade-node Upgrade UHadoop node instance type

upgrade-disk Upgrade UHadoop node disk size
Fixes:

walter.chen and others added 30 commits July 10, 2026 10:42
- Add `resize` command to the memcache product
- Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90` (required for
  `NewResizeUMemcacheGroupRequest` / `ResizeUMemcacheGroup`)
- Update `cmdtree` / `completion` golden testdata for memcache

Co-Authored-By: Claude <noreply@anthropic.com>
…ource-type dispatch

New commands:
- modify-name, modify-password
- flush, isolation, resize
- list-block, list-proxy
- create-proxy, delete-proxy, resize-proxy

Refactor:
- Introduce `describeRedisMode` to dispatch `delete`/`restart` by resource
  type instead of guessing from the id prefix (`uredis` / `uhredis` /
  `uregionredis` / `udredis`)
- Add `BlockRow` / `ProxyRow` row types

Deps / testdata:
- Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90`
- Update `cmdtree` / `completion` golden testdata for redis

Co-Authored-By: Claude <noreply@anthropic.com>
- list.go: use resourceTypeToMode instead of the redisTypeMap lookup
  (single source of truth for resource-type → mode mapping)
- rows.go: drop the now-unused redisTypeMap; gofmt BlockRow/ProxyRow
- product.yaml: update owner

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Add create, list, describe, delete, expand, resize, restart, and
create-option commands for UClickhouse cluster management.
service create(mainland + overseas):
- 成功时经 ProgressWriter 打印叙述,table 模式不再零输出;
  ResourceId 为空时报错,避免静默当成功
- 新增 --async flag;默认同步轮询 DescribeService 直到 DefenceStatus="Started"

overseas ip:移除未启用的 bind/unbind 命令及 checkOverseasService 辅助

同步更新 cmdtree.golden 与 testcases.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(cli): add --wait-timeout-sec to configure synchronous poll timeout (ucloud#119)
Ali1213 and others added 23 commits July 14, 2026 15:31
feat(uclickhouse): add UClickhouse CLI commands
- Extract shared deleteOpts/newDeleteCmd into delete.go to satisfy
  one-constructor-per-file rule (rule10)
- Add missing newDeleteSharded with correct action=DeleteUMongoDBShardedCluster
  and idParam=ShardedClusterId
- Remove stale flag=async lines from cmdtree.golden for create-replset
  and create-sharded (flags were removed in prior commit)
…ommands

feat(redis): add proxy/flush/isolation/resize/modify commands and resource-type dispatch
…e-resize

feat(memcache): add resize command
Fix product/css Application version, e.g. 7.10.2
* fix(urocketmq): correct command behavior

* fix(urocketmq): correct command behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants