fixed exportApp issue
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
/customer-work/target/
|
||||
/customer-design/target/
|
||||
/customer-control/target/
|
||||
Generated
+1
@@ -2,6 +2,7 @@
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/customer-parent.iml" filepath="$PROJECT_DIR$/customer-parent.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/work/work.iml" filepath="$PROJECT_DIR$/work/work.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -1,34 +0,0 @@
|
||||
server.port=8107
|
||||
server.servlet.context-path=/
|
||||
|
||||
#spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5435/flowable
|
||||
spring.datasource.username=flowable
|
||||
spring.datasource.password=flowable
|
||||
|
||||
# In order for hot swapping to work for the custom.js and custom.css
|
||||
spring.thymeleaf.cache=false
|
||||
spring.web.resources.chain.cache=false
|
||||
|
||||
# Enable all endpoints over HTTP
|
||||
management.endpoints.web.exposure.include=*
|
||||
management.endpoint.health.show-details=ALWAYS
|
||||
# Pretty-print JSON responses
|
||||
spring.jackson.serialization.indent_output=true
|
||||
|
||||
# TODO Change these to an other random string with a length of 16 characters
|
||||
# Used to encrypt your passwords. After a change existing password become invalid!
|
||||
flowable.control.app.security.encryption.credentials-i-v-spec=fh39chqoxjDF3fhb
|
||||
flowable.control.app.security.encryption.credentials-secret-spec=lw91VtkPq84nGqiJ
|
||||
|
||||
flowable.control.app.cluster-config.name=Default Cluster
|
||||
flowable.control.app.cluster-config.description=Default Flowable Cluster
|
||||
flowable.control.app.cluster-config.server-address=http://localhost
|
||||
flowable.control.app.cluster-config.port=8105
|
||||
flowable.control.app.cluster-config.context-root=/
|
||||
flowable.control.app.cluster-config.user-name=admin
|
||||
flowable.control.app.cluster-config.password=test
|
||||
|
||||
flowable.control.app.db-store-enabled=false
|
||||
flowable.control.app.cluster-type=work
|
||||
flowable.control.app.user-store.password=test
|
||||
Binary file not shown.
@@ -1,20 +0,0 @@
|
||||
server.port=8106
|
||||
#spring.datasource.url=jdbc:h2:~/flowable-design-db/db;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1
|
||||
#spring.datasource.username=flowable
|
||||
#spring.datasource.password=flowable
|
||||
|
||||
#Comment out and configure database
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5435/flowable
|
||||
spring.datasource.username=flowable
|
||||
spring.datasource.password=flowable
|
||||
|
||||
|
||||
# Connection to Work
|
||||
flowable.design.remote.idm-url=http://localhost:8105/flowable-work
|
||||
flowable.design.remote.authentication.user=admin
|
||||
flowable.design.remote.authentication.password=test
|
||||
|
||||
#flowable.design.deployment-api-url=http://localhost:8080/flowable-work/app-api
|
||||
#flowable.design.undeployment-api-url=http://localhost:8080/flowable-work/platform-api/app-deployments
|
||||
flowable.design.deployment-api-url=http://localhost:8105/app-api
|
||||
flowable.design.undeployment-api-url=http://localhost:8105/platform-api/app-deployments
|
||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
artifactId=customer-design
|
||||
groupId=com.customer
|
||||
version=0.0.1-SNAPSHOT
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
com/customer/design/DesignApplication.class
|
||||
com/customer/design/SecurityHttpBasicConfiguration.class
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
/Users/andi/prj/flowable/2025.2/customer-design/src/main/java/com/customer/design/DesignApplication.java
|
||||
/Users/andi/prj/flowable/2025.2/customer-design/src/main/java/com/customer/design/SecurityHttpBasicConfiguration.java
|
||||
-1
@@ -1 +0,0 @@
|
||||
com/customer/design/DesignApplicationTests.class
|
||||
-1
@@ -1 +0,0 @@
|
||||
/Users/andi/prj/flowable/2025.2/customer-design/src/test/java/com/customer/design/DesignApplicationTests.java
|
||||
-1776
File diff suppressed because one or more lines are too long
-195
@@ -1,195 +0,0 @@
|
||||
-------------------------------------------------------------------------------
|
||||
Test set: com.customer.design.DesignApplicationTests
|
||||
-------------------------------------------------------------------------------
|
||||
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.527 s <<< FAILURE! -- in com.customer.design.DesignApplicationTests
|
||||
com.customer.design.DesignApplicationTests.contextLoads -- Time elapsed: 0.012 s <<< ERROR!
|
||||
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@4aba7617 testClass = com.customer.design.DesignApplicationTests, locations = [], classes = [com.customer.design.DesignApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@30bcf3c1, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7c2b6087, org.springframework.boot.test.http.client.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@354fc8f0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@5b43fbf6, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@5b07730f, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@ae57ec99], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
|
||||
at org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
|
||||
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
|
||||
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:200)
|
||||
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:139)
|
||||
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
|
||||
at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:210)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
|
||||
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214)
|
||||
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
|
||||
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214)
|
||||
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
|
||||
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
|
||||
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
|
||||
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
|
||||
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
|
||||
at java.base/java.util.Optional.orElseGet(Optional.java:364)
|
||||
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
|
||||
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'basicDefaultSecurity' defined in class path resource [com/customer/design/SecurityHttpBasicConfiguration.class]: Unsatisfied dependency expressed through method 'basicDefaultSecurity' parameter 0: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'designUserDetailsService' defined in class path resource [com/flowable/autoconfigure/design/security/DesignSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designUserDetailsService' parameter 0: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:872)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:827)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:146)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1446)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1218)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1184)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
|
||||
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$2(SpringBootContextLoader.java:156)
|
||||
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
|
||||
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
|
||||
at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:605)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:156)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:115)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
|
||||
... 21 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'basicDefaultSecurity' defined in class path resource [com/customer/design/SecurityHttpBasicConfiguration.class]: Unsatisfied dependency expressed through method 'basicDefaultSecurity' parameter 0: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'designUserDetailsService' defined in class path resource [com/flowable/autoconfigure/design/security/DesignSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designUserDetailsService' parameter 0: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:2008)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1971)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeanCollection(DefaultListableBeanFactory.java:1863)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1833)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1711)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:864)
|
||||
... 48 more
|
||||
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'designUserDetailsService' defined in class path resource [com/flowable/autoconfigure/design/security/DesignSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designUserDetailsService' parameter 0: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:489)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:351)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 65 more
|
||||
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'designUserDetailsService' defined in class path resource [com/flowable/autoconfigure/design/security/DesignSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designUserDetailsService' parameter 0: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
||||
... 77 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'designUserDetailsService' defined in class path resource [com/flowable/autoconfigure/design/security/DesignSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designUserDetailsService' parameter 0: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1305)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer$InitializeUserDetailsManagerConfigurer.configure(InitializeUserDetailsBeanManagerConfigurer.java:94)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer$InitializeUserDetailsManagerConfigurer.configure(InitializeUserDetailsBeanManagerConfigurer.java:63)
|
||||
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.configure(AbstractConfiguredSecurityBuilder.java:386)
|
||||
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:336)
|
||||
at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:38)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration.getAuthenticationManager(AuthenticationConfiguration.java:121)
|
||||
at org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.authenticationManager(HttpSecurityConfiguration.java:152)
|
||||
at org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity(HttpSecurityConfiguration.java:119)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:155)
|
||||
... 80 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'designIdentityQueryService' defined in class path resource [com/flowable/autoconfigure/design/DesignEngineAutoConfiguration.class]: Unsatisfied dependency expressed through method 'designIdentityQueryService' parameter 0: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 100 more
|
||||
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'designEngine': FactoryBean threw exception on object creation
|
||||
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:209)
|
||||
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1879)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1304)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:343)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 114 more
|
||||
Caused by: java.lang.RuntimeException: Exception while initializing Database connection
|
||||
at org.flowable.common.engine.impl.util.DbUtil.determineDatabaseType(DbUtil.java:116)
|
||||
at org.flowable.common.engine.impl.AbstractEngineConfiguration.initDatabaseType(AbstractEngineConfiguration.java:475)
|
||||
at org.flowable.common.engine.impl.AbstractEngineConfiguration.initDataSource(AbstractEngineConfiguration.java:470)
|
||||
at com.flowable.design.engine.DesignEngineConfiguration.init(DesignEngineConfiguration.java:365)
|
||||
at org.flowable.common.engine.impl.AbstractBuildableEngineConfiguration.buildEngine(AbstractBuildableEngineConfiguration.java:28)
|
||||
at com.flowable.design.engine.DesignEngineConfiguration.buildDesignEngine(DesignEngineConfiguration.java:336)
|
||||
at com.flowable.design.engine.spring.DesignEngineFactoryBean.getObject(DesignEngineFactoryBean.java:36)
|
||||
at com.flowable.design.engine.spring.DesignEngineFactoryBean.getObject(DesignEngineFactoryBean.java:20)
|
||||
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:203)
|
||||
... 124 more
|
||||
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5435 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
|
||||
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:373)
|
||||
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:57)
|
||||
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:290)
|
||||
at org.postgresql.Driver.makeConnection(Driver.java:448)
|
||||
at org.postgresql.Driver.connect(Driver.java:298)
|
||||
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:144)
|
||||
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:373)
|
||||
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:210)
|
||||
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:488)
|
||||
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:576)
|
||||
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:97)
|
||||
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:111)
|
||||
at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:160)
|
||||
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:118)
|
||||
at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:256)
|
||||
at jdk.proxy2/jdk.proxy2.$Proxy86.getMetaData(Unknown Source)
|
||||
at org.flowable.common.engine.impl.util.DbUtil.determineDatabaseType(DbUtil.java:89)
|
||||
... 132 more
|
||||
Caused by: java.net.ConnectException: Connection refused
|
||||
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
|
||||
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:639)
|
||||
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:543)
|
||||
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:594)
|
||||
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:284)
|
||||
at java.base/java.net.Socket.connect(Socket.java:659)
|
||||
at org.postgresql.core.PGStream.createSocket(PGStream.java:261)
|
||||
at org.postgresql.core.PGStream.<init>(PGStream.java:122)
|
||||
at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:146)
|
||||
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:289)
|
||||
... 148 more
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="AdditionalModuleElements">
|
||||
<content url="file://$MODULE_DIR$" dumb="true">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.idea/dataSources" />
|
||||
</content>
|
||||
</component>
|
||||
</module>
|
||||
@@ -2,7 +2,6 @@ package com.customer.work.model;
|
||||
|
||||
import com.customer.work.service.JsonUtils;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import com.flowable.audit.api.AuditService;
|
||||
import com.flowable.audit.api.runtime.AuditInstance;
|
||||
@@ -31,8 +30,6 @@ import org.junit.jupiter.params.provider.Arguments;
|
||||
import org.junit.platform.commons.util.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.security.authentication.TestingAuthenticationToken;
|
||||
import org.springframework.security.core.GrantedAuthority;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
@@ -46,7 +43,6 @@ import java.nio.file.Paths;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
import java.util.stream.StreamSupport;
|
||||
|
||||
@Component
|
||||
public class FlowableModelTestUtils {
|
||||
@@ -416,36 +412,15 @@ public class FlowableModelTestUtils {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void exportApp(String rootUrl, String appModelKey, String username, String password) {
|
||||
public void exportApp(String rootUrl, String workspaceKey, String appModelKey, String username, String password) {
|
||||
RestClient restClient = RestClient.builder()
|
||||
.baseUrl(rootUrl)
|
||||
.defaultHeaders(h -> h.setBasicAuth(username, password))
|
||||
.build();
|
||||
|
||||
ResponseEntity<JsonNode> responseEntity = restClient.post()
|
||||
.uri("/app/authentication?j_username=" + username + "&j_password=" + password + "&spring_security_remember_me=true&submit=Login")
|
||||
.retrieve()
|
||||
.toEntity(JsonNode.class);
|
||||
|
||||
String designCookieRaw = responseEntity.getHeaders().get("Set-Cookie").stream().collect(Collectors.joining(";"));
|
||||
String flowableDesignRememberMeTokenValue = Arrays.stream(designCookieRaw.split(";")).filter(part -> part.contains("FLOWABLE_DESIGN_REMEMBER_ME")).findAny().get();
|
||||
String csrfToken = Arrays.stream(designCookieRaw.split(";")).filter(part -> part.contains("FLOWABLE_DESIGN_CSRF_TOKEN")).findAny().get();
|
||||
|
||||
HttpHeaders httpHeaders = new HttpHeaders();
|
||||
httpHeaders.set("Cookie", flowableDesignRememberMeTokenValue + ";" + csrfToken);
|
||||
|
||||
ArrayNode apps = (ArrayNode) restClient.get()
|
||||
.uri("/app/models?filter=apps&modelType=3&sort=modifiedDesc")
|
||||
.headers(h -> h.addAll(httpHeaders))
|
||||
.retrieve()
|
||||
.body(JsonNode.class)
|
||||
.path("data");
|
||||
String appModelId = StreamSupport.stream(apps.spliterator(), false).filter(app -> app.path("key").asText().equals(appModelKey)).map(app -> app.path("id").asText()).findAny().get();
|
||||
|
||||
File file = new File(Paths.get("src/test/resources/test-auto-deploy-apps", appModelKey + ".zip").toString());
|
||||
restClient.get()
|
||||
.uri("/app/app-definitions/" + appModelId + "/export-bar?includeChildReferences=true")
|
||||
.header("Cookie", flowableDesignRememberMeTokenValue + ";" + csrfToken)
|
||||
.uri("/design-api/workspaces/" + workspaceKey + "/apps/" + appModelKey + "/export?excludeChildReferences=false")
|
||||
.exchange((req, resp) -> {
|
||||
StreamUtils.copy(resp.getBody(), new FileOutputStream(file, false));
|
||||
return file;
|
||||
|
||||
@@ -28,7 +28,7 @@ public class ModelTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void exportApp() {
|
||||
flowableModelTest.exportApp("http://localhost:8093", "TST_APP", "admin", "test");
|
||||
flowableModelTest.exportApp("http://localhost:8106", "andiWS", "TST_APP", "admin", "test");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Binary file not shown.
@@ -1,38 +0,0 @@
|
||||
server.port=8105
|
||||
|
||||
# Enable all endpoints over HTTP
|
||||
management.endpoints.web.exposure.include=*
|
||||
management.endpoint.health.show-details=when_authorized
|
||||
|
||||
flowable.frontend.title=flowable-work
|
||||
|
||||
#spring.datasource.url=jdbc:h2:~/flowable-work-db/db;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1
|
||||
#spring.datasource.username=flowable
|
||||
#spring.datasource.password=flowable
|
||||
|
||||
#Comment out and configure database
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5435/flowable
|
||||
spring.datasource.username=flowable
|
||||
spring.datasource.password=flowable
|
||||
|
||||
# Local Elasticsearch config
|
||||
spring.elasticsearch.uris=http://localhost:9203
|
||||
|
||||
# spring.data.elasticsearch.repositories.enabled=true
|
||||
# spring.data.elasticsearch.cluster-nodes=localhost:9300
|
||||
# spring.data.elasticsearch.cluster-name=elasticsearch
|
||||
|
||||
flowable.indexing.index-name-prefix=flowable-work-
|
||||
#Disable ElasticSearch Indexing
|
||||
#flowable.indexing.enabled=false
|
||||
|
||||
# Enable Flowable Inspect
|
||||
flowable.inspect.enabled=true
|
||||
|
||||
# Forms will update even if an old process/case/task definition will be used
|
||||
flowable.platform.enable-latest-form-definition-lookup=true
|
||||
|
||||
# Server URL for REST calls
|
||||
baseUrl=http://localhost:8105
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,48 +0,0 @@
|
||||
[
|
||||
{
|
||||
"key": "all",
|
||||
"labelKey": "contacts.filter.all",
|
||||
"defaultLabel": "All",
|
||||
"parameters": {}
|
||||
},
|
||||
{
|
||||
"key": "internal",
|
||||
"labelKey": "contacts.filter.internal",
|
||||
"defaultLabel": "Internal",
|
||||
"parameters": {
|
||||
"must": {
|
||||
"type": "default"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "external",
|
||||
"labelKey": "contacts.filter.external",
|
||||
"defaultLabel": "External",
|
||||
"parameters": {
|
||||
"must" : {
|
||||
"type": "external"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "active",
|
||||
"labelKey": "contacts.filter.active",
|
||||
"defaultLabel": "Active",
|
||||
"parameters": {
|
||||
"must" : {
|
||||
"state": "ACTIVE"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "inactive",
|
||||
"labelKey": "contacts.filter.inactive",
|
||||
"defaultLabel": "Inactive",
|
||||
"parameters": {
|
||||
"must" : {
|
||||
"state": "INACTIVE"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "Flowable",
|
||||
|
||||
"groups": [
|
||||
{ "key": "flowableUser", "name": "Flowable User" },
|
||||
{ "key": "flowableAdministrator", "name": "Flowable Administrator" }
|
||||
],
|
||||
|
||||
"users": [
|
||||
{
|
||||
"firstName": "Flowable",
|
||||
"lastName": "Admin",
|
||||
"login": "admin",
|
||||
"email": "test@demo.flowable.io",
|
||||
|
||||
"language": "en",
|
||||
"theme": "flowable",
|
||||
"userDefinitionKey": "user-admin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
[
|
||||
{
|
||||
"key": "user-default",
|
||||
"name": "Default user",
|
||||
"description": "Creates a new, non-specific user where the member groups can be freely chosen.",
|
||||
"initialState": "ACTIVE",
|
||||
"initialSubState": "ACTIVE",
|
||||
"forms": {
|
||||
"init": "F01_userInitFormDefault",
|
||||
"view": "F02_userViewFormDefault",
|
||||
"edit": "F03_userEditFormDefault"
|
||||
},
|
||||
"memberGroups": [
|
||||
"flowableUser"
|
||||
],
|
||||
"lookupGroups":[
|
||||
"flowableUser"
|
||||
],
|
||||
"actionPermissions": {
|
||||
"create": [ "flowableAdministrator" ],
|
||||
"edit": [ "flowableAdministrator" ],
|
||||
"deactivate": [ "flowableAdministrator" ],
|
||||
"activate": [ "flowableAdministrator" ]
|
||||
},
|
||||
"contactFilters": [ "all" ],
|
||||
"allowedFeatures": [ "contacts", "bubbles", "markdownInput", "replyToMessage", "forwardMessage", "reactToMessage", "fileUpload", "work", "createWork",
|
||||
"personalAccessTokens",
|
||||
"tasks", "documents", "changeOwnPassword", "changeOwnTheme", "editOwnAvatar"]
|
||||
},
|
||||
{
|
||||
"key": "user-admin",
|
||||
"name": "Administration User",
|
||||
"description": "Creates a new, administration user.",
|
||||
"initialUserSubType": "admin",
|
||||
"initialState": "ACTIVE",
|
||||
"initialSubState": "ACTIVE",
|
||||
"forms": {
|
||||
"init": "F01_userInitFormDefault",
|
||||
"view": "F02_userViewFormDefault",
|
||||
"edit": "F03_userEditFormDefault"
|
||||
},
|
||||
"memberGroups": [
|
||||
"flowableUser",
|
||||
"flowableAdministrator"
|
||||
],
|
||||
"lookupGroups":[
|
||||
"flowableUser"
|
||||
],
|
||||
"actionPermissions": {
|
||||
"create": [ "flowableAdministrator"],
|
||||
"edit": [ "flowableAdministrator" ],
|
||||
"deactivate": [ "flowableAdministrator" ],
|
||||
"activate": [ "flowableAdministrator" ]
|
||||
},
|
||||
"initialVariables": {
|
||||
"adminUser": true,
|
||||
"description": "Admin"
|
||||
},
|
||||
"contactFilters": [ "all", "internal", "external", "inactive"],
|
||||
"allowedFeatures": [ "contacts", "createUser", "reports",
|
||||
"actuators", "user-mgmt", "search-api", "workobject-api", "templateManagement",
|
||||
"markdownInput", "replyToMessage", "forwardMessage", "reactToMessage", "fileUpload", "work", "createWork", "tasks", "documents",
|
||||
"impersonateUser",
|
||||
"personalAccessTokens",
|
||||
"changeOwnPassword", "changeOwnTheme", "editOwnAvatar", "themeManagement"]
|
||||
}
|
||||
]
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
com/customer/work/WorkApplication.class
|
||||
com/customer/work/StaticResourceConfiguration.class
|
||||
com/customer/work/SecurityHttpBasicConfiguration.class
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
/Users/andi/prj/flowable/2025.2/customer-work/src/main/java/com/customer/work/SecurityHttpBasicConfiguration.java
|
||||
/Users/andi/prj/flowable/2025.2/customer-work/src/main/java/com/customer/work/StaticResourceConfiguration.java
|
||||
/Users/andi/prj/flowable/2025.2/customer-work/src/main/java/com/customer/work/WorkApplication.java
|
||||
-1
@@ -1 +0,0 @@
|
||||
com/customer/work/WorkApplicationTests.class
|
||||
-1
@@ -1 +0,0 @@
|
||||
/Users/andi/prj/flowable/2025.2/customer-work/src/test/java/com/customer/work/WorkApplicationTests.java
|
||||
-4850
File diff suppressed because one or more lines are too long
@@ -1,292 +0,0 @@
|
||||
-------------------------------------------------------------------------------
|
||||
Test set: com.customer.work.WorkApplicationTests
|
||||
-------------------------------------------------------------------------------
|
||||
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.754 s <<< FAILURE! -- in com.customer.work.WorkApplicationTests
|
||||
com.customer.work.WorkApplicationTests.contextLoads -- Time elapsed: 0.013 s <<< ERROR!
|
||||
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@40e41f88 testClass = com.customer.work.WorkApplicationTests, locations = [], classes = [com.customer.work.WorkApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@62e70ea3, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@25ddbbbb, org.springframework.boot.test.http.client.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@226642a5, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@625e134e, org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@5dbe30be, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@dfa5ba73], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
|
||||
at org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
|
||||
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
|
||||
at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:200)
|
||||
at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:139)
|
||||
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
|
||||
at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:210)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
|
||||
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214)
|
||||
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
|
||||
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214)
|
||||
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
|
||||
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
|
||||
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
|
||||
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
|
||||
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
|
||||
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
|
||||
at java.base/java.util.Optional.orElseGet(Optional.java:364)
|
||||
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
|
||||
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChains' parameter 0: Error creating bean with name 'basicDefaultSecurity' defined in class path resource [com/customer/work/SecurityHttpBasicConfiguration.class]: Unsatisfied dependency expressed through method 'basicDefaultSecurity' parameter 0: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'flowableUserDetailsService' defined in class path resource [com/flowable/autoconfigure/security/FlowablePlatformSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableUserDetailsService' parameter 0: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:872)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:827)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:146)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1446)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1218)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1184)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1121)
|
||||
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:994)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:621)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$2(SpringBootContextLoader.java:156)
|
||||
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
|
||||
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
|
||||
at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:605)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:156)
|
||||
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:115)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
|
||||
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
|
||||
... 21 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'basicDefaultSecurity' defined in class path resource [com/customer/work/SecurityHttpBasicConfiguration.class]: Unsatisfied dependency expressed through method 'basicDefaultSecurity' parameter 0: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'flowableUserDetailsService' defined in class path resource [com/flowable/autoconfigure/security/FlowablePlatformSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableUserDetailsService' parameter 0: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:2008)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1971)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeanCollection(DefaultListableBeanFactory.java:1863)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1833)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1711)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:864)
|
||||
... 48 more
|
||||
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity' defined in class path resource [org/springframework/security/config/annotation/web/configuration/HttpSecurityConfiguration.class]: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'flowableUserDetailsService' defined in class path resource [com/flowable/autoconfigure/security/FlowablePlatformSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableUserDetailsService' parameter 0: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:489)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:351)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 65 more
|
||||
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.config.annotation.web.builders.HttpSecurity]: Factory method 'httpSecurity' threw exception with message: Error creating bean with name 'flowableUserDetailsService' defined in class path resource [com/flowable/autoconfigure/security/FlowablePlatformSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableUserDetailsService' parameter 0: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:183)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:72)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:152)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
||||
... 77 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flowableUserDetailsService' defined in class path resource [com/flowable/autoconfigure/security/FlowablePlatformSecurityAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableUserDetailsService' parameter 0: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1305)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer$InitializeUserDetailsManagerConfigurer.configure(InitializeUserDetailsBeanManagerConfigurer.java:94)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer$InitializeUserDetailsManagerConfigurer.configure(InitializeUserDetailsBeanManagerConfigurer.java:63)
|
||||
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.configure(AbstractConfiguredSecurityBuilder.java:386)
|
||||
at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:336)
|
||||
at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:38)
|
||||
at org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration.getAuthenticationManager(AuthenticationConfiguration.java:121)
|
||||
at org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.authenticationManager(HttpSecurityConfiguration.java:152)
|
||||
at org.springframework.security.config.annotation.web.configuration.HttpSecurityConfiguration.httpSecurity(HttpSecurityConfiguration.java:119)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:155)
|
||||
... 80 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'platformIdentityService' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'platformIdentityService' parameter 0: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 100 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'coreIdmEngine' defined in class path resource [com/flowable/spring/boot/idm/IdmEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method 'coreIdmEngine' parameter 0: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:1225)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1704)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 114 more
|
||||
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.flowable.spring.boot.app.AppEngineServicesAutoConfiguration': Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:610)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:413)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 128 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appIndexingConfigurer' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appIndexingConfigurer' parameter 0: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:2015)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1971)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1792)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1711)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.resolveStream(DefaultListableBeanFactory.java:2685)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory$DependencyObjectProvider.orderedStream(DefaultListableBeanFactory.java:2679)
|
||||
at com.flowable.spring.boot.BaseEngineConfigurationWithConfigurers.setEngineConfigurers(BaseEngineConfigurationWithConfigurers.java:32)
|
||||
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:832)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:146)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1446)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
|
||||
... 147 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appEngineIndexingConfigurator' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'appEngineIndexingConfigurator' parameter 0: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:1225)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1704)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 170 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'indexManager' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'indexManager' parameter 0: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:1225)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1704)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 184 more
|
||||
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'flowableElasticsearchClient' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Unsatisfied dependency expressed through method 'flowableElasticsearchClient' parameter 1: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1362)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1194)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:565)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:229)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1762)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 198 more
|
||||
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticsearchCompatibility' defined in class path resource [com/flowable/autoconfigure/indexing/IndexingAutoConfiguration.class]: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1817)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:525)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:371)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveBean(DefaultListableBeanFactory.java:1225)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1704)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1651)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:912)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)
|
||||
... 212 more
|
||||
Caused by: org.flowable.common.engine.api.FlowableException: Could not retrieve Elasticsearch version information. One possible reason could be that ES is not accessible. See root cause
|
||||
at com.flowable.indexing.ElasticsearchCompatibilityImpl.afterPropertiesSet(ElasticsearchCompatibilityImpl.java:134)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1864)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1813)
|
||||
... 223 more
|
||||
Caused by: java.net.ConnectException: Connect to http://localhost:9203 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
|
||||
at co.elastic.clients.transport.rest5_client.low_level.Rest5Client.extractAndWrapCause(Rest5Client.java:945)
|
||||
at co.elastic.clients.transport.rest5_client.low_level.Rest5Client.performRequest(Rest5Client.java:308)
|
||||
at co.elastic.clients.transport.rest5_client.low_level.Rest5Client.performRequest(Rest5Client.java:293)
|
||||
at com.flowable.indexing.ElasticsearchCompatibilityImpl.afterPropertiesSet(ElasticsearchCompatibilityImpl.java:56)
|
||||
... 225 more
|
||||
Caused by: org.apache.hc.client5.http.HttpHostConnectException: Connect to http://localhost:9203 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
|
||||
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
|
||||
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:639)
|
||||
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:1046)
|
||||
at org.apache.hc.core5.reactor.InternalConnectChannel.onIOEvent(InternalConnectChannel.java:70)
|
||||
at org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalChannel.java:51)
|
||||
at org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:176)
|
||||
at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:125)
|
||||
at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:92)
|
||||
at org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44)
|
||||
at java.base/java.lang.Thread.run(Thread.java:1474)
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
spring.datasource.url=jdbc:h2:mem:flowable-work-db;DB_CLOSE_DELAY=1000
|
||||
spring.datasource.username=admin
|
||||
spring.datasource.password=test
|
||||
|
||||
# To make our life easier in tests we are disabling the async executor and elasticsearch
|
||||
flowable.async-executor-activate=false
|
||||
flowable.async-history-executor-activate=false
|
||||
flowable.indexing.enabled=false
|
||||
management.health.elasticsearch.enabled=false
|
||||
management.metrics.export.elastic.enabled=false
|
||||
|
||||
# Set debug level in tests
|
||||
logging.level.com.flowable=INFO
|
||||
logging.level.com.flowable.local.work.model.FlowableModelTestUtils=INFO
|
||||
|
||||
# Disable the timeout process in the tests
|
||||
flowable.external-system.wechat.timeout.process-definition-key=
|
||||
|
||||
# Path to test-auto-deploy-apps
|
||||
flowable.app.resource-location=classpath*:/test-auto-deploy-apps/
|
||||
|
||||
# Email
|
||||
flowable.mail.server.host=localhost
|
||||
flowable.mail.server.port=3025
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"testText": "my test text"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"__IN": {
|
||||
"initiator": "admin"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": true,
|
||||
"__IN": {
|
||||
"param": false
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": false,
|
||||
"__IN": {
|
||||
"param": true
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": "2025-11-12",
|
||||
"__IN": {
|
||||
"param": "2025-11-11"
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": 123.456,
|
||||
"__IN": {
|
||||
"param": 456.789
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": 123,
|
||||
"__IN": {
|
||||
"param": 456
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": "hello root",
|
||||
"__IN": {
|
||||
"param": "hello"
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": "123",
|
||||
"__IN": {
|
||||
"param": "456"
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"param": "123.456,",
|
||||
"__IN": {
|
||||
"param": "456.789"
|
||||
},
|
||||
"__OUT": {
|
||||
"result": "out"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"root": {
|
||||
"dataEntry": "my root text"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user