Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
77bcfd65
authored
Apr 12, 2020
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调度中心与执行器通讯规范为双向restful,方便跨语言,以及第三方执行器实现;通讯组件xxl-rpc方案调整为Jetty+Gson方案;
parent
94cf8247
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
doc/XXL-JOB官方文档.md
xxl-job-admin/src/main/resources/application.properties
xxl-job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java
doc/XXL-JOB官方文档.md
View file @
77bcfd65
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
...
@@ -1277,13 +1277,14 @@ XXL-JOB敹蜓閬憒舅敹皜秩
## 六、调度中心/执行器 RESTful API
Java语言应用,可以直接通过官方提供的调度中心
与
执行器,方便快速的接入和使用调度中心,可以上文 “快速入门” 章节。
Java语言应用,可以直接通过官方提供的调度中心
与
执行器,方便快速的接入和使用调度中心,可以参考上文 “快速入门” 章节。
非Java语言,可借助 XXL-JOB 提供的标准 RESTful API 方便的实现多语言支持。
非Java语言,可借助 XXL-JOB 的标准 RESTful API 方便的实现多语言支持。
- 调度中心 RESTful API:
除管理平台之外,可据此通过
API服务管理在线任务。
- 执行器 RESTful API
:执行器标准API,可参考该API
实现非Java语言的个性化执行器.
- 调度中心 RESTful API:
提供给执行器使用的API,
用于执行器注册以及任务结果回调等;
- 执行器 RESTful API
:提供给调度中心使用的API,用于接受
调度中心发送的任务调度、任务终止、查看日志……等;
此处 RESTful API 主要用于非Java语言定制个性化执行器使用。除此之外,如果有需要通过API操作调度中心,可以个性化扩展 “调度中心 RESTful API” 并使用。
### 6.1 调度中心 RESTful API
...
...
xxl-job-admin/src/main/resources/application.properties
View file @
77bcfd65
...
...
@@ -23,7 +23,7 @@ mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
#mybatis.type-aliases-package=com.xxl.job.admin.core.model
### xxl-job, datasource
spring.datasource.url
=
jdbc:mysql://1
27.0.0.1
:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://1
92.168.99.100
:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.password
=
root_pwd
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
...
...
xxl-job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java
View file @
77bcfd65
...
...
@@ -41,4 +41,8 @@ public interface AdminBiz {
*/
public
ReturnT
<
String
>
registryRemove
(
RegistryParam
registryParam
);
// ---------------------- biz (custome) ----------------------
// group、job ... manage
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment