forked from kiegroup/droolsjbpm-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kie-server-tests: add update tests for drools and jbpm
- Loading branch information
1 parent
c764da0
commit 86e0dea
Showing
28 changed files
with
1,973 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...src/test/filtered-resources/kjars-sources/definition-project-101/package-names-white-list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.kie.server.testing.definition_project.** |
24 changes: 24 additions & 0 deletions
24
...-integ-tests-all/src/test/filtered-resources/kjars-sources/definition-project-101/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.kie.server.testing</groupId> | ||
<artifactId>common-parent</artifactId> | ||
<version>1.0.0.Final</version> | ||
</parent> | ||
|
||
<artifactId>definition-project</artifactId> | ||
<version>1.0.1.Final</version> | ||
<name>definition-project</name> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
10 changes: 10 additions & 0 deletions
10
...ests-all/src/test/filtered-resources/kjars-sources/definition-project-101/project.imports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<configuration> | ||
<imports> | ||
<imports> | ||
<import> | ||
<type>java.lang.Number</type> | ||
</import> | ||
</imports> | ||
</imports> | ||
<version>1.0</version> | ||
</configuration> |
76 changes: 76 additions & 0 deletions
76
...rces/kjars-sources/definition-project-101/src/main/resources/CreateProposal-taskform.form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<form id="1180805808"> | ||
<property name="subject" value=""/> | ||
<property name="name" value="CreateProposal-taskform"/> | ||
<property name="displayMode" value="aligned"/> | ||
<property name="labelMode" value="undefined"/> | ||
<property name="status" value="0"/> | ||
<field position="0" name="techscore" type="InputText" id="536191789"> | ||
<property name="fieldName" value="techscore"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Technical Scorequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="true"/> | ||
<property name="readonly" value="true"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value="{1,1 - Poor;2,2;3,3 - Well;4,4;5,5 - Excellent}"/> | ||
<property name="pattern" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="isHTML" value="true"/> | ||
<property name="hideContent" value="false"/> | ||
<property name="htmlContainer" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="outputBinding" value=""/> | ||
<property name="inputBinding" value="in_tech_score"/> | ||
</field> | ||
<field position="1" name="hrscore" type="InputText" id="1396079384"> | ||
<property name="fieldName" value="hrscore"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;HR Scorequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="true"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value="{1,1 - Poor;2,2;3,3 - Well;4,4;5,5 - Excellent}"/> | ||
<property name="pattern" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="isHTML" value="true"/> | ||
<property name="hideContent" value="false"/> | ||
<property name="htmlContainer" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value="in_hr_score"/> | ||
<property name="outputBinding" value=""/> | ||
</field> | ||
<field position="2" name="offering" type="InputTextInteger" id="438070247"> | ||
<property name="fieldName" value="offering"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Offerquot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value=""/> | ||
<property name="outputBinding" value="out_offering"/> | ||
</field> | ||
</form> |
91 changes: 91 additions & 0 deletions
91
...sources/kjars-sources/definition-project-101/src/main/resources/HRInterview-taskform.form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<form id="1635016859"> | ||
<property name="subject" value=""/> | ||
<property name="name" value="HRInterview-taskform"/> | ||
<property name="displayMode" value="default"/> | ||
<property name="status" value="0"/> | ||
<field position="0" name="name" type="InputText" id="1239526896"> | ||
<property name="fieldName" value="name"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Candidate Whole Namequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value=""/> | ||
<property name="pattern" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="isHTML" value="false"/> | ||
<property name="hideContent" value="false"/> | ||
<property name="htmlContainer" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value="in_name"/> | ||
<property name="outputBinding" value=""/> | ||
</field> | ||
<field position="1" name="age" type="InputTextInteger" id="610009915"> | ||
<property name="fieldName" value="age"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Agequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value="5"/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value=""/> | ||
<property name="maxlength" value="2"/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value=""/> | ||
<property name="outputBinding" value="out_age"/> | ||
</field> | ||
<field position="2" name="mail" type="InputTextEmail" id="1708799249"> | ||
<property name="fieldName" value="mail"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Emailquot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="htmlContainer" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value=""/> | ||
<property name="outputBinding" value="out_mail"/> | ||
</field> | ||
<field position="3" name="hr_score" type="InputTextInteger" id="587322916"> | ||
<property name="fieldName" value="hr_score"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Scorequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value="{1,1 - Poor;2,2;3,3 - Well;4,4;5,5 - Excellent}"/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value=""/> | ||
<property name="outputBinding" value="out_score"/> | ||
</field> | ||
</form> |
48 changes: 48 additions & 0 deletions
48
...-sources/definition-project-101/src/main/resources/META-INF/kie-deployment-descriptor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<deployment-descriptor xsi:schemaLocation="http://www.jboss.org/jbpm deployment-descriptor.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<persistence-unit>org.jbpm.domain</persistence-unit> | ||
<audit-persistence-unit>org.jbpm.domain</audit-persistence-unit> | ||
<audit-mode>JPA</audit-mode> | ||
<persistence-mode>JPA</persistence-mode> | ||
<runtime-strategy>SINGLETON</runtime-strategy> | ||
<marshalling-strategies/> | ||
<event-listeners/> | ||
<task-event-listeners/> | ||
<globals/> | ||
<work-item-handlers> | ||
<work-item-handler> | ||
<resolver>mvel</resolver> | ||
<identifier>new org.jbpm.process.workitem.bpmn2.ServiceTaskHandler(ksession, classLoader)</identifier> | ||
<parameters/> | ||
<name>Service Task</name> | ||
</work-item-handler> | ||
<work-item-handler> | ||
<resolver>mvel</resolver> | ||
<identifier>new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler()</identifier> | ||
<parameters/> | ||
<name>Log</name> | ||
</work-item-handler> | ||
<work-item-handler> | ||
<resolver>mvel</resolver> | ||
<identifier>new org.jbpm.process.instance.impl.demo.DoNothingWorkItemHandler()</identifier> | ||
<parameters/> | ||
<name>Email</name> | ||
</work-item-handler> | ||
<work-item-handler> | ||
<resolver>mvel</resolver> | ||
<identifier>new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler(ksession, classLoader)</identifier> | ||
<parameters/> | ||
<name>WebService</name> | ||
</work-item-handler> | ||
<work-item-handler> | ||
<resolver>mvel</resolver> | ||
<identifier>new org.jbpm.process.workitem.rest.RESTWorkItemHandler()</identifier> | ||
<parameters/> | ||
<name>Rest</name> | ||
</work-item-handler> | ||
</work-item-handlers> | ||
<environment-entries/> | ||
<configurations/> | ||
<required-roles/> | ||
<remoteable-classes/> | ||
</deployment-descriptor> |
1 change: 1 addition & 0 deletions
1
...ed-resources/kjars-sources/definition-project-101/src/main/resources/META-INF/kmodule.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<kmodule xmlns="http://www.drools.org/xsd/kmodule" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> |
68 changes: 68 additions & 0 deletions
68
...ources/kjars-sources/definition-project-101/src/main/resources/SignContract-taskform.form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<form id="1838835466"> | ||
<property name="subject" value=""/> | ||
<property name="name" value="SignContract-taskform"/> | ||
<property name="displayMode" value="default"/> | ||
<property name="status" value="0"/> | ||
<field position="0" name="in_name" type="InputText" id="498958394"> | ||
<property name="fieldName" value="in_name"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Candidate Namequot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="true"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value=""/> | ||
<property name="pattern" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="isHTML" value="false"/> | ||
<property name="hideContent" value="false"/> | ||
<property name="htmlContainer" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value="in_name"/> | ||
<property name="outputBinding" value=""/> | ||
</field> | ||
<field position="1" name="in_offering" type="InputTextLong" id="1255448511"> | ||
<property name="fieldName" value="in_offering"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Offerquot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="true"/> | ||
<property name="readonly" value="false"/> | ||
<property name="size" value=""/> | ||
<property name="formula" value=""/> | ||
<property name="rangeFormula" value=""/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value="in_offering"/> | ||
<property name="outputBinding" value=""/> | ||
</field> | ||
<field position="2" name="out_signed" type="CheckBox" id="635130592"> | ||
<property name="fieldName" value="out_signed"/> | ||
<property name="fieldRequired" value="false"/> | ||
<property name="groupWithPrevious" value="false"/> | ||
<property name="labelCSSClass" value=""/> | ||
<property name="labelCSSStyle" value=""/> | ||
<property name="label" value="quot;SSClassquot;,quot;quot;quot;SSStylequot;,quot;quot;quot;enquot;,quot;Signedquot;quot;esquot;,quot;quot;"/> | ||
<property name="errorMessage" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="title" value="quot;enquot;,quot;quot;quot;esquot;,quot;quot;"/> | ||
<property name="disabled" value="false"/> | ||
<property name="readonly" value="false"/> | ||
<property name="styleclass" value=""/> | ||
<property name="cssStyle" value=""/> | ||
<property name="defaultValueFormula" value=""/> | ||
<property name="inputBinding" value=""/> | ||
<property name="outputBinding" value="out_signed"/> | ||
</field> | ||
</form> |
Oops, something went wrong.