Giter VIP home page Giter VIP logo

activiti-rest-6.0-spring-boot's Introduction

activiti-rest-6.0-spring-boot

这个项目采用了activiti 6.0 release版官方提供的activiti-rest 接口包, 并用spring-boot进行封装, 最终的到了一个可以独立运行的微服务.

Setup Development Environment

  • 在项目根目录下执行
gradlew  eclipse
  • 从Eclipse里面导入工程

import

Deploy

  • 在项目根目录下执行
gradlew clean build
  • 执行build/libs/*.jar文件
java -jar activiti-rest-6.0.jar

Test

访问入口示例:

http://localhost/repository/deployments

API Document:

Swagger UI 文档

https://www.activiti.org/userguide/6.latest/#_rest_api

采用 Basic Authentication

测试用户名/密码:

login NameUsername Email Password
fozzieFozzie Bear [email protected] fozzie
gonzo Gonzo The Great [email protected] gonzo
kermitKermit The Frog [email protected] kermit
  • Firefox插件 RestClient 示例:

如下图, 在 "Authentication" 选项菜单里面选 "Basic Authentication" . 在弹出的录入框里面填写上面表格里面提到的3个用户的任意一个即可.

test

填写好后,点击确定, 你可以在下图中间Header部分看到验证信息已经生效.

选择HTTP Rest请求的类型GET, 然后填写API的url: http://localhost/repository/deployments , 点击"Send", 就可以在下面看到返回的json数据.

test

activiti-rest-6.0-spring-boot's People

Contributors

qijunbo avatar

Watchers

lulu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.