alfrescoarchive / activiti-cloud-runtime-bundle-service Goto Github PK
View Code? Open in Web Editor NEWActiviti Cloud Runtime Bundle Services & Starters - DEPRECATED moved to https://github.com/Activiti/activiti-cloud
License: Apache License 2.0
Activiti Cloud Runtime Bundle Services & Starters - DEPRECATED moved to https://github.com/Activiti/activiti-cloud
License: Apache License 2.0
I use
<dependency>
<groupId>org.activiti.cloud</groupId>
<artifactId>activiti-cloud-starter-configure</artifactId>
<version>7-201802-EA</version>
</dependency>
and when I start my spring-boot app I get this exception:
Caused by: java.io.FileNotFoundException: class path resource [processes/] cannot be resolved to URL because it does not exist
at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:195)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:495)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:296)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1309)
at org.springframework.context.support.GenericApplicationContext.getResources(GenericApplicationContext.java:233)
at org.activiti.spring.boot.AbstractProcessEngineConfiguration.discoverProcessDefinitionResources(AbstractProcessEngineConfiguration.java:77)
at org.activiti.spring.boot.AbstractProcessEngineAutoConfiguration.baseSpringProcessEngineConfiguration(AbstractProcessEngineAutoConfiguration.java:74)
at org.activiti.spring.boot.ProcessEngineAutoConfiguration.springProcessEngineConfiguration(ProcessEngineAutoConfiguration.java:45)
at org.activiti.spring.boot.ProcessEngineAutoConfiguration$$EnhancerBySpringCGLIB$$cc380ed7.CGLIB$springProcessEngineConfiguration$0(<generated>)
at org.activiti.spring.boot.ProcessEngineAutoConfiguration$$EnhancerBySpringCGLIB$$cc380ed7$$FastClassBySpringCGLIB$$7638b10.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:361)
at org.activiti.spring.boot.ProcessEngineAutoConfiguration$$EnhancerBySpringCGLIB$$cc380ed7.springProcessEngineConfiguration(<generated>)
Investigate why ActivitiInterchangeInfoNotFoundException mapped to 204 instead of 4xx
pending on Activiti/Activiti#1821
Steps to reproduce:
Login with an admin
Select an app where the admin has the ACTIVITI_ADMIN role but no ACTIVITI_USER role
Select a process instance that has variables
Expect behaviour
The admin should be able to update the variables
Current behaviour
The admin is not able to update a variable
Related with https://issues.alfresco.com/jira/browse/ACTIVITI-2689, https://issues.alfresco.com/jira/browse/DW-1055
I have seen snippets like these in the ttc-rb-english-campaign repo. Is BPMN scriptTask supported ? I tried using this in my samples but seems like a NoOp.
<bpmn:scriptTask id="Task_1fiweps" name="Discard And Log" > <bpmn:script> System.out.println(">>>>> Discarding Tweet"); </bpmn:script> </bpmn:scriptTask>
We have to align handling of process instance variables in admin and non admin area.
In admin area we have a method updateVariables
with validation of variables payload:
https://github.com/Activiti/activiti-cloud-runtime-bundle-service/blob/develop/activiti-cloud-services-runtime-bundle/activiti-cloud-services-rest-impl/src/main/java/org/activiti/cloud/services/rest/controllers/ProcessInstanceVariableAdminControllerImpl.java#L60
In non admin area we have a method setVariables
where nothing is checked at all:
https://github.com/Activiti/activiti-cloud-runtime-bundle-service/blob/develop/activiti-cloud-services-runtime-bundle/activiti-cloud-services-rest-impl/src/main/java/org/activiti/cloud/services/rest/controllers/ProcessInstanceVariableControllerImpl.java#L58
This inconsistency may impact PR's related to Variable Mapping logic:
Activiti/Activiti#2817
We have to investigate also if we need to apply this logic directly in Activiti core:
https://github.com/Activiti/Activiti/blob/develop/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessRuntimeImpl.java#L294
and
https://github.com/Activiti/Activiti/blob/develop/activiti-api-impl/activiti-api-process-runtime-impl/src/main/java/org/activiti/runtime/api/impl/ProcessAdminRuntimeImpl.java#L229
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.