Help for creating stardust standalone engine [message #1590987] |
Thu, 29 January 2015 08:50  |
Eclipse User |
|
|
|
Hi all, hi support,
I tested the 2 projects found under this links:
wiki.eclipse.org/Stardust/Knowledge_Base/Testing/Standalone_Spring
wiki.eclipse.org/Stardust/KnowledgeBase/Testing/HowToTest
In the Standalone project, I ran with success the JUnit test.
Now, i would want make the steps below:
-create a standalone engine (running without tomcat server) using the libraries of stardust 2.1.0
-deploy the engine as jar file
-the engine accepts as parameter an xpdl file and entry values for the model activities
The HowToTest project accept entry values, but when i run the project, it finish with errors...
The libraries versions seem obsolete.
Is there an example of a recent project for creating a standalone project with previous steps ?
Where i can found help to do this ?
Thanks very much for your help.
Best regards
|
|
|
|
Re: Help for creating stardust standalone engine [message #1602975 is a reply to message #1590987] |
Thu, 05 February 2015 23:12   |
Eclipse User |
|
|
|
Hi Manu,
Stardust 2.1.0 also contains a first version of what is supposed to become an official framework for bootstrapping a Stardust engine as port of your functional tests. The artifact is called "stardust-engine-test" and it allows you to include the bootstrapping of an IPP Spring context in your JUnit tests via rule annotations, for example:
@ClassRule
public static final TestClassSetup testClassSetup = new TestClassSetup(new UsernamePasswordPair("motu", "motu"), ForkingServiceMode.JMS, "MyModel");
As I said, Stardust 2.1.0 contains a very early version of this and we're going to add documentation and more functionality in the next Stardust release, but if you're interested, this is the dependency:
<dependency>
<groupId>org.eclipse.stardust.engine</groupId>
<artifactId>stardust-engine-test</artifactId>
</dependency>
|
|
|
|
|
|
Re: Help for creating stardust standalone engine [message #1607889 is a reply to message #1607883] |
Mon, 09 February 2015 06:05   |
Eclipse User |
|
|
|
Hi,
OK. So we're not talking about the use case inside a test case anymore. You're looking for a way to start a process instance ... but I'm still not sure about the exact requirements.
When you say "custom task listener in activity", what do you mean? When you have a task / activity instance then a process instance must already exist.
Do you intend to start another process instance while the user is working on a task? Or do you need to correlate an external event to complete an activity and then drive the process forward?
Jan
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04488 seconds