简体   繁体   English

如何在Activity App Ui中使用Spring Boot Activity Rest api

[英]How to use Spring Boot Activity Rest api in Activity App Ui

I am new to Activity process. 我是活动流程的新手。 I want to used the Activity with spring boot application. 我想在弹簧启动应用程序中使用Activity。 So, I want to used the rest api in spring boot and that rest api will be used by activiti-admin.war and activiti-app.war. 所以,我想在spring boot中使用其余的api,其余的api将由activiti-admin.war和activiti-app.war使用。

So, when I have deployed process from spring boot that will be available in UI and add some Listener while assigning task will be called in my spring boot app. 因此,当我从春季启动部署过程时,可以在UI中使用并添加一些监听器,而分配任务将在我的春季启动应用程序中调用。

Can any one help. 任何人都可以帮忙。

Thanks in advance. 提前致谢。

It sounds like you are using the version 6 Activiti build. 听起来你正在使用版本6 Activiti构建。 Both the activiti-app and admin-app already use "a" REST API to communicate to the backend, however it is not the community REST API that will be deployed with your Spring boot application (I assume you are using the Activiti spring boot starter rest). activiti-app和admin-app都已经使用“a”REST API与后端进行通信,但是它不是将与你的Spring启动应用程序一起部署的社区REST API(我假设你使用的是Activiti spring boot starter休息)。

It is not actually going to be trivial to separate the activiti-app and admin-app UI from the service layer as they are quite tightly coupled, but it is certainly possible. 将activiti-app和admin-app UI与服务层分开实际上并不是一件容易的事,因为它们是紧密耦合的,但它肯定是可能的。 While I haven't actually attempted it, it may be easiest to take the activiti-app build module (activiti-ui/activiti-app) and separate the client and server portions since the client is now a regular AngularJS application. 虽然我实际上没有尝试过,但最简单的方法是使用activiti-app构建模块(activiti-ui / activiti-app)并分离客户端和服务器部分,因为客户端现在是常规的AngularJS应用程序。

Is this what you are looking for? 这是你想要的? Thanks, Greg 谢谢,格雷格

I hope you are looking for something like this . 我希望你正在寻找的东西像这样 It seems they are planning to support activiti app with your own spring boot application in Activiti 7. 他们似乎计划在Activiti 7中使用您自己的Spring启动应用程序来支持activiti应用程序。

If you are able to solve the case, please help with the sample structure. 如果您能够解决问题,请帮助您了解样本结构。 I am bit stuck with same usecase. 我有点陷入同样的​​用例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM