[JBoss JIRA] (DROOLS-4269) kogito-codegen-tests: alternative testing strategy for codegen
by Edoardo Vacchi (Jira)
Edoardo Vacchi created DROOLS-4269:
--------------------------------------
Summary: kogito-codegen-tests: alternative testing strategy for codegen
Key: DROOLS-4269
URL: https://issues.jboss.org/browse/DROOLS-4269
Project: Drools
Issue Type: Bug
Reporter: Edoardo Vacchi
Assignee: Edoardo Vacchi
Currently we are doing dynamic compilation and classloading to test code generation. I am proposing an alternative strategy that use the plain Maven plugin.
- create `kogito-codegen-tests`
- write data/rules/process sources under src/main/{java,resources}
- write tests under src/test/
tests are now allowed to refer directly to codegenerated classes by name.
just use mvn compile test to run the tests
caveat: not sure if the maven plugin is picked up from the current source tree or from the SNAPSHOT on the nexus, we need to check this
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months
[JBoss JIRA] (DROOLS-4268) FIX XStream configuration
by Gabriele Cardosi (Jira)
Gabriele Cardosi created DROOLS-4268:
----------------------------------------
Summary: FIX XStream configuration
Key: DROOLS-4268
URL: https://issues.jboss.org/browse/DROOLS-4268
Project: Drools
Issue Type: Task
Components: Scenario Simulation and Testing
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Fix XStream defaults to have a generated xml as "plain" as possible (remove "reference" use, remove "class" attribute for list elements)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months
[JBoss JIRA] (DROOLS-4216) Create runtime and testing version of kogito webapp
by Gabriele Cardosi (Jira)
[ https://issues.jboss.org/browse/DROOLS-4216?page=com.atlassian.jira.plugi... ]
Gabriele Cardosi resolved DROOLS-4216.
--------------------------------------
Resolution: Done
> Create runtime and testing version of kogito webapp
> ---------------------------------------------------
>
> Key: DROOLS-4216
> URL: https://issues.jboss.org/browse/DROOLS-4216
> Project: Drools
> Issue Type: Sub-task
> Components: Scenario Simulation and Testing
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: ScenarioSimulation
>
> For each asset there should be two *kogito* webapp:
> # a **development/testing** one, that should provide **VS CODE** features,
> # a **runtime** one, without the above, to be used inside **VS CODE**
> To allow *inheritance* and avoid code-duplication, a common, parent *jar* will also be implemented
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months
[JBoss JIRA] (WFLY-12254) Define galleon layers for h2 datasource
by Jean Francois Denise (Jira)
Jean Francois Denise created WFLY-12254:
-------------------------------------------
Summary: Define galleon layers for h2 datasource
Key: WFLY-12254
URL: https://issues.jboss.org/browse/WFLY-12254
Project: WildFly
Issue Type: Enhancement
Components: Build System
Reporter: Jean Francois Denise
Assignee: Jean Francois Denise
Define following layers:
h2-driver
h2-datasource
h2-default-datasource (set example ds as default ee datasource)
Remove following layers:
h2-database
Refactor existing databases feature-group to avoid feature definitions duplication.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 3 months