-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加SDK,以支持应用直接调用api维护任务;目前仅支持JAVA任务 #356
Open
LockiJiang
wants to merge
10
commits into
WeiYe-Jing:2.1.2-release
Choose a base branch
from
LockiJiang:v2.1.2
base: 2.1.2-release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
您好,可以留个联系方式吗,和您讨论下这个功能的需求,谢谢! |
请问这个 PR 现在什么进度了,编写 data pipeline 任务时需要能够支持 SDK/HTTP API 的提交和管理任务方式 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
前期准备
登录调度中心 > 用户管理,获取对应用户的AccessKey和SecretKey
如果AccessKey和SecretKey未生成,点击“重置”按钮生成新的AccessKey和SecretKey
一、非springboot应用
1、引用依赖
2、创建客户端
3、调用接口维护任务,参数及返回值见附录Ⅰ
二、springboot应用
1、引用依赖
2、application.yml配置参数
3、引入客户端
4、调用接口维护任务,参数及返回值见附录Ⅰ
附录Ⅰ
1、创建任务 - JobClient.createJob(JobInfo jobInfo)
2、更新任务 - JobClient.updateJob(JobInfo jobInfo)
3、启用JobClient.startJob(String id)、停用JobClient.stopJob(String id)、删除任务JobClient.deleteJob(String id)
4、查看任务详情 - 启用JobClient.getJob(String id)
5、查看任务日志 - 启用JobClient.jobLog(String id)