Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
三久
DolphinScheduler
提交
c64ac6ad
DolphinScheduler
项目概览
三久
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c64ac6ad
编写于
5月 30, 2019
作者:
leon-baoliang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add deleteSchedulerById for api document
上级
5d9063c5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
13 addition
and
7 deletion
+13
-7
escheduler-api/src/main/java/cn/escheduler/api/controller/SchedulerController.java
...ava/cn/escheduler/api/controller/SchedulerController.java
+10
-7
escheduler-api/src/main/resources/i18n/messages.properties
escheduler-api/src/main/resources/i18n/messages.properties
+1
-0
escheduler-api/src/main/resources/i18n/messages_en_US.properties
...ler-api/src/main/resources/i18n/messages_en_US.properties
+1
-0
escheduler-api/src/main/resources/i18n/messages_zh_CN.properties
...ler-api/src/main/resources/i18n/messages_zh_CN.properties
+1
-0
未找到文件。
escheduler-api/src/main/java/cn/escheduler/api/controller/SchedulerController.java
浏览文件 @
c64ac6ad
...
@@ -229,7 +229,6 @@ public class SchedulerController extends BaseController {
...
@@ -229,7 +229,6 @@ public class SchedulerController extends BaseController {
*/
*/
@ApiOperation
(
value
=
"queryScheduleListPaging"
,
notes
=
"QUERY_SCHEDULE_LIST_PAGING_NOTES"
)
@ApiOperation
(
value
=
"queryScheduleListPaging"
,
notes
=
"QUERY_SCHEDULE_LIST_PAGING_NOTES"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"id"
,
value
=
"SCHEDULE_ID"
,
required
=
true
,
dataType
=
"Int"
,
example
=
"100"
),
@ApiImplicitParam
(
name
=
"processDefinitionId"
,
value
=
"PROCESS_DEFINITION_ID"
,
required
=
true
,
dataType
=
"Int"
,
example
=
"100"
),
@ApiImplicitParam
(
name
=
"processDefinitionId"
,
value
=
"PROCESS_DEFINITION_ID"
,
required
=
true
,
dataType
=
"Int"
,
example
=
"100"
),
@ApiImplicitParam
(
name
=
"searchVal"
,
value
=
"SEARCH_VAL"
,
type
=
"String"
),
@ApiImplicitParam
(
name
=
"searchVal"
,
value
=
"SEARCH_VAL"
,
type
=
"String"
),
@ApiImplicitParam
(
name
=
"pageNo"
,
value
=
"PAGE_NO"
,
dataType
=
"Int"
,
example
=
"100"
),
@ApiImplicitParam
(
name
=
"pageNo"
,
value
=
"PAGE_NO"
,
dataType
=
"Int"
,
example
=
"100"
),
...
@@ -237,12 +236,12 @@ public class SchedulerController extends BaseController {
...
@@ -237,12 +236,12 @@ public class SchedulerController extends BaseController {
})
})
@GetMapping
(
"/list-paging"
)
@GetMapping
(
"/list-paging"
)
public
Result
queryScheduleListPaging
(
@RequestAttribute
(
value
=
SESSION_USER
)
User
loginUser
,
public
Result
queryScheduleListPaging
(
@ApiIgnore
@RequestAttribute
(
value
=
SESSION_USER
)
User
loginUser
,
@PathVariable
String
projectName
,
@ApiParam
(
name
=
"projectName"
,
value
=
"PROJECT_NAME"
,
required
=
true
)
@PathVariable
String
projectName
,
@RequestParam
Integer
processDefinitionId
,
@RequestParam
Integer
processDefinitionId
,
@RequestParam
(
value
=
"searchVal"
,
required
=
false
)
String
searchVal
,
@RequestParam
(
value
=
"searchVal"
,
required
=
false
)
String
searchVal
,
@RequestParam
(
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
)
{
@RequestParam
(
"pageSize"
)
Integer
pageSize
)
{
logger
.
info
(
"login user {}, query schedule, project name: {}, process definition id: {}"
,
logger
.
info
(
"login user {}, query schedule, project name: {}, process definition id: {}"
,
loginUser
.
getUserName
(),
projectName
,
processDefinitionId
);
loginUser
.
getUserName
(),
projectName
,
processDefinitionId
);
try
{
try
{
...
@@ -264,6 +263,10 @@ public class SchedulerController extends BaseController {
...
@@ -264,6 +263,10 @@ public class SchedulerController extends BaseController {
* @param scheduleId
* @param scheduleId
* @return
* @return
*/
*/
@ApiOperation
(
value
=
"deleteScheduleById"
,
notes
=
"OFFLINE_SCHEDULE_NOTES"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"scheduleId"
,
value
=
"SCHEDULE_ID"
,
required
=
true
,
dataType
=
"Int"
,
example
=
"100"
)
})
@GetMapping
(
value
=
"/delete"
)
@GetMapping
(
value
=
"/delete"
)
@ResponseStatus
(
HttpStatus
.
OK
)
@ResponseStatus
(
HttpStatus
.
OK
)
public
Result
deleteScheduleById
(
@RequestAttribute
(
value
=
SESSION_USER
)
User
loginUser
,
public
Result
deleteScheduleById
(
@RequestAttribute
(
value
=
SESSION_USER
)
User
loginUser
,
...
...
escheduler-api/src/main/resources/i18n/messages.properties
浏览文件 @
c64ac6ad
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=delete data source
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=delete data source
VERIFY_DATA_SOURCE_NOTES
=
verify data source
VERIFY_DATA_SOURCE_NOTES
=
verify data source
UNAUTHORIZED_DATA_SOURCE_NOTES
=
unauthorized data source
UNAUTHORIZED_DATA_SOURCE_NOTES
=
unauthorized data source
AUTHORIZED_DATA_SOURCE_NOTES
=
authorized data source
AUTHORIZED_DATA_SOURCE_NOTES
=
authorized data source
DELETE_SCHEDULER_BY_ID_NOTES
=
delete scheduler by id
escheduler-api/src/main/resources/i18n/messages_en_US.properties
浏览文件 @
c64ac6ad
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=delete data source
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=delete data source
VERIFY_DATA_SOURCE_NOTES
=
verify data source
VERIFY_DATA_SOURCE_NOTES
=
verify data source
UNAUTHORIZED_DATA_SOURCE_NOTES
=
unauthorized data source
UNAUTHORIZED_DATA_SOURCE_NOTES
=
unauthorized data source
AUTHORIZED_DATA_SOURCE_NOTES
=
authorized data source
AUTHORIZED_DATA_SOURCE_NOTES
=
authorized data source
DELETE_SCHEDULER_BY_ID_NOTES
=
delete scheduler by id
escheduler-api/src/main/resources/i18n/messages_zh_CN.properties
浏览文件 @
c64ac6ad
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=删除数据源
...
@@ -214,3 +214,4 @@ DELETE_DATA_SOURCE_NOTES=删除数据源
VERIFY_DATA_SOURCE_NOTES
=
验证数据源
VERIFY_DATA_SOURCE_NOTES
=
验证数据源
UNAUTHORIZED_DATA_SOURCE_NOTES
=
未授权的数据源
UNAUTHORIZED_DATA_SOURCE_NOTES
=
未授权的数据源
AUTHORIZED_DATA_SOURCE_NOTES
=
授权的数据源
AUTHORIZED_DATA_SOURCE_NOTES
=
授权的数据源
DELETE_SCHEDULER_BY_ID_NOTES
=
根据定时id删除定时数据
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录