[JBoss JIRA] (DROOLS-5676) Fix traits injection
by Luca Molteni (Jira)
Luca Molteni created DROOLS-5676:
------------------------------------
Summary: Fix traits injection
Key: DROOLS-5676
URL: https://issues.redhat.com/browse/DROOLS-5676
Project: Drools
Issue Type: Enhancement
Reporter: Luca Molteni
Assignee: Luca Molteni
Currently the traits module inject persistence, it should do that only in the test kie.conf as the src/main/resources kie.conf is shared to each project importing the drools-traits module via mave.
Also the readme that you need to import the TraitComponentFactory in the kie.conf but it's not needed, as stated above.
Remove also the TraitComponentFactory from the drools-examples
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (WFLY-13898) Bootable JAR/Galleon - HTTP 500 is returned by some RESTEasy tests
by Jean Francois Denise (Jira)
[ https://issues.redhat.com/browse/WFLY-13898?page=com.atlassian.jira.plugi... ]
Jean Francois Denise commented on WFLY-13898:
---------------------------------------------
[~fburzigo], I am analyzing the org.bouncycastle one.
> Bootable JAR/Galleon - HTTP 500 is returned by some RESTEasy tests
> ------------------------------------------------------------------
>
> Key: WFLY-13898
> URL: https://issues.redhat.com/browse/WFLY-13898
> Project: WildFly
> Issue Type: Task
> Components: Build System
> Affects Versions: 21.0.0.Beta1
> Reporter: Fabio Burzigotti
> Assignee: Jean Francois Denise
> Priority: Blocker
>
> I set the component to {{Build System}} because this only happens with Bootable JAR and - as [~jdenise] noticed - it's related with Galleon.
> This is about some tests in the RESTEasy TS which has been adapted to execute against bootable JARs through a specific profile [1].
> The tests are running successfully with WildFly 20.0.1.Final (the {{ejb}} layer needs to be removed for this experiment to be run [2]) but fail against 21.0.0.Beta1, so it is a regression.
> Also, the tests are passing when the TS is executed against a distributed WildFly version, and only fail when the server is packaged via the {{wildfly-jar-maven-plugin}}.
> There are 108 tests failing but htis JIRA focuses on those failing because of the following error:
> {code}
> RESTEASY002005: Failed executing POST /all/a/z: org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: org.jboss.resteasy.test.validation.resource.ValidationFoo of media type: application/xml;charset=UTF-8
> {code}
> hence I guess serialization issues when the request accept header is not {{application/json}}, e.g. {{org.jboss.resteasy.test.validation.ValidationTest}}
> *Steps to reproduce*:
> 1. clone https://github.com/fabiobrz/Resteasy/tree/bootable-jar-support
> 2. build RESTEasy:
> {code}
> $ mvn install -Dmaven.test.skip=true -Dmaven.repo.local=/home/my-local-repo
> {code}
> 3. run the test against WF 21.0.0.Beta1:
> {code}
> cd testsuite
> {code}
> {code}
> mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/my-local-repo -Dserver.version=21.0.0.Beta1 -Dtest=org.jboss.resteasy.test.validation.ValidationTest
> {code}
> The test should *pass*
> 4. run the test against WF 21.0.0.Beta1 with bootable JAR:
> {code}
> mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/my-local-repo -Dserver.version=21.0.0.Beta1 -Dtest=org.jboss.resteasy.test.validation.ValidationTest -Ddisable.microprofile.tests -Dserver.home=foo -Dts.bootable
> {code}
> The test should *fail*
> 5. run the test against WF 20.0.1.Final with bootable JAR:
> {code}
> mvn clean verify -am -pl integration-tests -Dmaven.repo.local=/home/my-local-repo -Dserver.version=20.0.1.Final -Dtest=org.jboss.resteasy.test.validation.ValidationTest -Ddisable.microprofile.tests -Dserver.home=foo -Dts.bootable
> {code}
> The test should *pass*
> [1]
> https://github.com/resteasy/Resteasy/pull/2526/files#diff-8c7ea03eb619e46...
> [2]
> https://github.com/resteasy/Resteasy/pull/2526/files#diff-8c7ea03eb619e46...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (DROOLS-5375) Implement GeneratePMMLModelMojo inside kie-maven-plugin
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5375?page=com.atlassian.jira.plug... ]
Gabriele Cardosi updated DROOLS-5375:
-------------------------------------
Description:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:-
-currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).-
-A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.-
-It is needed to have a pre-compile phase (before any compilation) where-
-1) resources are moved to expected "resource" subfolder-
-2) kmodule.xml is generated-
-This must happen before invocation of kie build.--
Fixed by DROOLS-5367
was:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:-
-currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).-
-A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.-
-It is needed to have a pre-compile phase (before any compilation) where-
-1) resources are moved to expected "resource" subfolder-
-2) kmodule.xml is generated-
-This must happen before invocation of kie build.--
Fixed by DROOLS-5367
Depends on https://github.com/kiegroup/drools/pull/3117
> Implement GeneratePMMLModelMojo inside kie-maven-plugin
> --------------------------------------------------------
>
> Key: DROOLS-5375
> URL: https://issues.redhat.com/browse/DROOLS-5375
> Project: Drools
> Issue Type: Task
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: TrustyAI
>
> GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
> https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
> -Thing to fix:-
> -currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).-
> -A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.-
> -It is needed to have a pre-compile phase (before any compilation) where-
> -1) resources are moved to expected "resource" subfolder-
> -2) kmodule.xml is generated-
> -This must happen before invocation of kie build.--
> Fixed by DROOLS-5367
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (DROOLS-5375) Implement GeneratePMMLModelMojo inside kie-maven-plugin
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5375?page=com.atlassian.jira.plug... ]
Gabriele Cardosi updated DROOLS-5375:
-------------------------------------
Description:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:-
-currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).-
-A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.-
-It is needed to have a pre-compile phase (before any compilation) where-
-1) resources are moved to expected "resource" subfolder-
-2) kmodule.xml is generated-
-This must happen before invocation of kie build.--
Fixed by DROOLS-5367
was:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:-
currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
It is needed to have a pre-compile phase (before any compilation) where
1) resources are moved to expected "resource" subfolder
2) kmodule.xml is generated
This must happen before invocation of kie build.-
> Implement GeneratePMMLModelMojo inside kie-maven-plugin
> --------------------------------------------------------
>
> Key: DROOLS-5375
> URL: https://issues.redhat.com/browse/DROOLS-5375
> Project: Drools
> Issue Type: Task
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: TrustyAI
>
> GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
> https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
> -Thing to fix:-
> -currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).-
> -A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.-
> -It is needed to have a pre-compile phase (before any compilation) where-
> -1) resources are moved to expected "resource" subfolder-
> -2) kmodule.xml is generated-
> -This must happen before invocation of kie build.--
> Fixed by DROOLS-5367
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (DROOLS-5375) Implement GeneratePMMLModelMojo inside kie-maven-plugin
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5375?page=com.atlassian.jira.plug... ]
Gabriele Cardosi updated DROOLS-5375:
-------------------------------------
Description:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:-
currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
It is needed to have a pre-compile phase (before any compilation) where
1) resources are moved to expected "resource" subfolder
2) kmodule.xml is generated
This must happen before invocation of kie build.-
was:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:
currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
It is needed to have a pre-compile phase (before any compilation) where
1) resources are moved to expected "resource" subfolder
2) kmodule.xml is generated
This must happen before invocation of kie build.-
> Implement GeneratePMMLModelMojo inside kie-maven-plugin
> --------------------------------------------------------
>
> Key: DROOLS-5375
> URL: https://issues.redhat.com/browse/DROOLS-5375
> Project: Drools
> Issue Type: Task
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: TrustyAI
>
> GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
> https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
> -Thing to fix:-
> currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
> A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
> It is needed to have a pre-compile phase (before any compilation) where
> 1) resources are moved to expected "resource" subfolder
> 2) kmodule.xml is generated
> This must happen before invocation of kie build.-
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months
[JBoss JIRA] (DROOLS-5375) Implement GeneratePMMLModelMojo inside kie-maven-plugin
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5375?page=com.atlassian.jira.plug... ]
Gabriele Cardosi updated DROOLS-5375:
-------------------------------------
Description:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
-Thing to fix:
currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
It is needed to have a pre-compile phase (before any compilation) where
1) resources are moved to expected "resource" subfolder
2) kmodule.xml is generated
This must happen before invocation of kie build.-
was:
GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
Thing to fix:
currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
It is needed to have a pre-compile phase (before any compilation) where
1) resources are moved to expected "resource" subfolder
2) kmodule.xml is generated
This must happen before invocation of kie build.
> Implement GeneratePMMLModelMojo inside kie-maven-plugin
> --------------------------------------------------------
>
> Key: DROOLS-5375
> URL: https://issues.redhat.com/browse/DROOLS-5375
> Project: Drools
> Issue Type: Task
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: TrustyAI
>
> GeneratePMMLModelMojo has been implemented as part of https://issues.redhat.com/browse/DROOLS-5258 and it is currently present inside
> https://github.com/gitgabrio/droolsjbpm-integration/tree/DROOLS-5258 branch.
> -Thing to fix:
> currently the plugin works if the source project is correctly layed down (i.e. every pmml file in its own package and kmodule.xml manually written out).
> A way is needed so that user put all pmml files inside resources/PMMLResources and the model is correctly compiled.
> It is needed to have a pre-compile phase (before any compilation) where
> 1) resources are moved to expected "resource" subfolder
> 2) kmodule.xml is generated
> This must happen before invocation of kie build.-
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 3 months