Skip to content

kittybwj/renren-fast-activiti-rest

Repository files navigation

renren-fast-activiti-rest

基于renren_fast框架,调用Activiti6 rest api

项目说明

REST API List

详见官方文档:https://www.activiti.org/userguide/#_rest_api

序号REST API Item Function
2.1. List of DeploymentsDeployments列表
2.2. Get a deployment获取Deployment
2.3. Create a new deployment创建新的Deployment
2.4. Delete a deployment删除Deployment
2.5. List resources in a deployment列出Deployment中的资源
2.6. Get a deployment resource获取Deployment资源
2.7. Get a deployment resource content获取Deployment资源内容

Process Definitions

序号REST API Item Function
3.1. List of process definitions流程定义列表
3.2. Get a process definition获取流程定义
3.3. Update category for a process definition流程定义的更新类别
3.4. Get a process definition resource content获取进程定义资源内容
3.5. Get a process definition BPMN model获取进程定义 BPMN 模型
3.6. Suspend a process definition暂停进程定义
3.7. Activate a process definition激活流程定义
3.8. Get all candidate starters for a process-definition获得所有候选者的过程
3.9. Add a candidate starter to a process definition在流程定义中添加候选启动器
3.10. Delete a candidate starter from a process definition从进程定义中删除候选启动器
3.11. Get a candidate starter from a process definition从流程定义中获取候选起始项

Models

序号REST API Item Function
4.1. Get a list of models获取模型列表
4.2. Get a model获取模型
4.3. Update a model更新模型
4.4. Create a model创建模型
4.5. Delete a model删除模型
4.6. Get the editor source for a model获取模型的编辑器源
4.7. Set the editor source for a model为模型设置编辑器源
4.8. Get the extra editor source for a model获取模型的额外编辑器源
4.9. Set the extra editor source for a model为模型设置额外的编辑器源

Process Instances

序号REST API Item Function
5.1. Get a process instance获取流程实例
5.2. Delete a process instance删除流程实例
5.3. Activate or suspend a process instance激活或挂起流程实例
5.4. Start a process instance启动流程实例
5.5. List of process instances流程实例列表
5.6. Query process instances查询流程实例
5.7. Get diagram for a process instance获取流程实例的关系图
5.8. Get involved people for process instance参与流程实例的人员
5.9. Add an involved user to a process instance将涉及的用户添加到流程实例
5.10. Remove an involved user to from process instance将涉及的用户从流程实例中删除
5.11. List of variables for a process instance流程实例的变量列表
5.12. Get a variable for a process instance获取流程实例的变量
5.13. Create (or update) variables on a process instance创建
5.14. Update a single variable on a process instance更新流程实例上的单个变量
5.15. Create a new binary variable on a process-instance在进程上创建新的二进制变量
5.16. Update an existing binary variable on a process-instance更新进程中的现有二进制变量

Executions

序号REST API Item Function
6.1. Get an execution获得Execution
6.2. Execute an action on an execution在Execution上执行操作
6.3. Get active activities in an execution在执行过程中获取活动
6.4. List of executionsExecution列表
6.5. Query executions查询执行
6.6. List of variables for an execution执行变量列表
6.7. Get a variable for an execution获取用于执行的变量
6.8. Create (or update) variables on an execution创建
6.9. Update a variable on an execution更新Execution中的变量
6.10. Create a new binary variable on an execution在Execution中创建新的二进制变量
6.11. Update an existing binary variable on a process-instance更新Process-instance中的现有二进制变量

Tasks

序号REST API Item Function
7.1. Get a task获取任务
7.2. List of tasks任务清单
7.3. Query for tasks查询任务
7.4. Update a task更新任务
7.5. Task actions任务行动
7.6. Delete a task删除任务
7.7. Get all variables for a task获取任务的所有变量
7.8. Get a variable from a task从任务中获取变量
7.9. Get the binary data for a variable获取变量的二进制数据
7.10. Create new variables on a task在任务上创建新变量
7.11. Create a new binary variable on a task在任务上创建新的二进制变量
7.12. Update an existing variable on a task更新任务的现有变量
7.13. Updating a binary variable on a task更新任务的二进制变量
7.14. Delete a variable on a task删除任务上的变量
7.15. Delete all local variables on a task删除任务中的所有局部变量
7.16. Get all identity links for a task获取任务的所有标识链接
7.17. Get all identitylinks for a task for either groups or users为组或用户获取任务的所有 identitylinks
7.18. Get a single identity link on a task在任务上获取单个标识链接
7.19. Create an identity link on a task在任务上创建标识链接
7.20. Delete an identity link on a task删除任务上的标识链接
7.21. Create a new comment on a task创建新的任务注释
7.22. Get all comments on a task获取任务的所有注释
7.23. Get a comment on a task获取任务的注释
7.24. Delete a comment on a task删除任务的注释
7.25. Get all events for a task获取任务的所有事件
7.26. Get an event on a task在任务中获取事件
7.27. Create a new attachment on a task, containing a link to an external resource在任务上创建新附件, 包含指向外部资源的链接
7.28. Create a new attachment on a task, with an attached file使用附加文件在任务上创建新附件
7.29. Get all attachments on a task获取任务的所有附件
7.30. Get an attachment on a task获取任务的附件
7.31. Get the content for an attachment获取附件的内容
7.32. Delete an attachment on a task删除任务的附件

History

序号REST API Item Function
8.1. Get a historic process instance获取历史过程实例
8.2. List of historic process instances历史进程实例列表
8.3. Query for historic process instances查询历史进程实例
8.4. Delete a historic process instance删除历史进程实例
8.5. Get the identity links of a historic process instance获取历史进程实例的标识链接
8.6. Get the binary data for a historic process instance variable获取历史进程实例变量的二进制数据
8.7. Create a new comment on a historic process instance创建一个历史进程实例的新注释
8.8. Get all comments on a historic process instance获取历史过程实例的所有注释
8.9. Get a comment on a historic process instance获取一个历史过程实例的注释
8.10. Delete a comment on a historic process instance删除历史进程实例的注释
8.11. Get a single historic task instance获取单个历史任务实例
8.12. Get historic task instances获取历史任务实例
8.13. Query for historic task instances查询历史任务实例
8.14. Delete a historic task instance删除历史任务实例
8.15. Get the identity links of a historic task instance获取历史任务实例的标识链接
8.16. Get the binary data for a historic task instance variable获取历史任务实例变量的二进制数据
8.17. Get historic activity instances获取历史活动实例
8.18. Query for historic activity instances查询历史活动实例
8.19. List of historic variable instances历史变量实例列表
8.20. Query for historic variable instances查询历史变量实例
8.21. Get historic detail获取历史细节
8.22. Query for historic details查询历史细节
8.23. Get the binary data for a historic detail variable获取历史细节变量的二进制数据

Forms

序号REST API Item Function
9.1. Get form data获取表单数据
9.2. Submit task form data提交任务表单数据

Database tables

序号REST API Item Function
10.1. List of tables表格一览表
10.2. Get a single table获取单个表
10.3. Get column info for a single table获取单个表的列信息
10.4. Get row data for a single table获取单个表的行数据

Engine

序号REST API Item Function
11.1. Get engine properties获取引擎属性
11.2. Get engine info获取引擎信息

Runtime

序号REST API Item Function
12.1. Signal event received收到的信号事件

Jobs

序号REST API Item Function
13.1. Get a single job获得一份单独的工作
13.2. Delete a job删除作业
13.3. Execute a single job执行单个作业
13.4. Get the exception stacktrace for a job获取作业的异常堆栈
13.5. Get a list of jobs获取工作列表

Users

序号REST API Item Function
14.1. Get a single user获取单个用户
14.2. Get a list of users获取用户列表
14.3. Update a user更新用户
14.4. Create a user创建用户
14.5. Delete a user删除用户
14.6. Get a user’s picture获取用户的图片
14.7. Updating a user’s picture更新用户图片
14.8. List a user’s info列出用户信息
14.9. Get a user’s info获取用户信息
14.10. Update a user’s info更新用户信息
14.11. Create a new user’s info entry创建新用户的信息条目
14.12. Delete a user’s info删除用户信息

Groups

序号REST API Item Function
15.1. Get a single group获取单个组
15.2. Get a list of groups获取组列表
15.3. Update a group更新组
15.4. Create a group创建组
15.5. Delete a group删除组
15.6. Get members in a group获取组中的成员
15.7. Add a member to a group向组中添加成员
15.8. Delete a member from a group从组中删除成员

renren-fast框架说明(取自官方)

项目说明

  • renren-fast是一个轻量级的,前后端分离的Java快速开发平台,能快速开发项目并交付【接私活利器】
  • 支持MySQL、Oracle、SQL Server、PostgreSQL等主流数据库
  • 前端地址:https://gitee.com/renrenio/renren-fast-vue


具有如下特点

  • 友好的代码结构及注释,便于阅读及二次开发
  • 实现前后端分离,通过token进行数据交互,前端再也不用关注后端技术
  • 灵活的权限控制,可控制到页面或按钮,满足绝大部分的权限需求
  • 页面交互使用Vue2.x,极大的提高了开发效率
  • 完善的代码生成机制,可在线生成entity、xml、dao、service、vue、sql代码,减少70%以上的开发任务
  • 引入quartz定时任务,可动态完成任务的添加、修改、删除、暂停、恢复及日志查看等功能
  • 引入API模板,根据token作为登录令牌,极大的方便了APP接口开发
  • 引入Hibernate Validator校验框架,轻松实现后端校验
  • 引入云存储服务,已支持:七牛云、阿里云、腾讯云等
  • 引入swagger文档支持,方便编写API接口文档

项目结构

renren-fast
├─db  项目SQL语句
│
├─common 公共模块
│  ├─aspect 系统日志
│  ├─exception 异常处理
│  ├─validator 后台校验
│  └─xss XSS过滤
│ 
├─config 配置信息
│ 
├─modules 功能模块
│  ├─app API接口模块(APP调用)
│  ├─job 定时任务模块
│  ├─oss 文件服务模块
│  └─sys 权限模块
│ 
├─RenrenApplication 项目启动类
│  
├──resources 
│  ├─mapper SQL对应的XML文件
│  └─static 静态资源


如何交流、反馈、参与贡献?


技术选型:

  • 核心框架:Spring Boot 2.0
  • 安全框架:Apache Shiro 1.4
  • 视图框架:Spring MVC 5.0
  • 持久层框架:MyBatis 3.3
  • 定时器:Quartz 2.3
  • 数据库连接池:Druid 1.0
  • 日志管理:SLF4J 1.7、Log4j
  • 页面交互:Vue2.x

后端部署

  • 通过git下载源码
  • 创建数据库renren_fast,数据库编码为UTF-8
  • 执行db/mysql.sql文件,初始化数据
  • 修改application-dev.yml,更新MySQL账号和密码
  • Eclipse、IDEA运行RenrenApplication.java,则可启动项目
  • Swagger路径:http://localhost:8080/renren-fast/swagger/index.html

前端部署


项目演示


**接口文档效果图:** ![输入图片说明](https://images.gitee.com/uploads/images/2018/0728/145341_73ba6f75_63154.jpeg "在这里输入图片标题")


效果图: 输入图片说明 输入图片说明 输入图片说明 输入图片说明


About

基于renren_fast框架,调用Activiti6 rest api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages