Skip to content

Saturn Console Controller RequestMapping Information

Jeff Zhu edited this page Jan 2, 2018 · 36 revisions

该页面正在更新中,用户请忽略

说明:RequestParam参数, 加粗的是必填, 否则是可选

HomeController

RootPath: /console/home

Uri Method RequestParam
/namespaces GET
/namespace GET namespace

JobOverviewController

RootPath: /console/job-overview

Uri Method RequestParam Description
/jobs GET namespace
/groups GET namespace
/depending-jobs GET namespace
jobName
获取该作业依赖的作业
/depending-jobs-batch GET namespace
jobNames
/depended-jobs GET namespace
jobName
获取依赖该作业的作业
/depended-jobs-batch GET namespace
jobNames
/enable-job POST namespace
jobName
/enable-job-batch POST namespace
jobNames
/disable-job POST namespace
jobName
/disable-job-batch POST namespace
jobNames
/remove-job POST namespace
jobName
/remove-job-batch POST namespace
jobNames
/online-executors GET namespace 获取该域下所有在线的Executor,用于批量选择优先Executor
/set-prefer-executors-batch POST namespace
jobNames
preferList
批量设置作业的优先Executor
/add-job POST namespace
JobConfig(jobType, jobName, jobClass, cron, shardingTotalCount, shardingItemParameters, description)

ExecutorOverviewController

RootPath: /console/executor-overview

Uri Method RequestParam Description
/executors GET namespace 获取所有executors
/executor-allocation GET namespace
executorName
获取作业分片分配
/traffic POST namespace
executorName
operation
摘取流量(operation=extract)及流量恢复(operation=recover)
/shard-all POST namespace 一键重排
/remove-executor POST namespace
executorName
移除离线的executor
/remove-executor-batch POST namespace
executorNames
批量移除离线的executor
/dump POST namespace
executorName
一键dump,包括threaddump和gc.log