Bug 1217295
Summary: | [ENG] (6.1.z) KieScanner not scanning custom maven repository from web app (Cool Store) | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Alessandro Lazarotti <alazarot> |
Component: | BRE | Assignee: | Mario Fusco <mfusco> |
Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1.0 | CC: | eschabel, jawilson, kverlaen, manstis, mbaluch, mfusco, mwinkler |
Target Milestone: | CR1 | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Mac OS | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1208442 | Environment: | |
Last Closed: | 2020-03-27 18:34:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1208442 | ||
Bug Blocks: | 1220521, 1220522 |
Description
Alessandro Lazarotti
2015-04-30 03:54:18 UTC
Cherry-picked to 6.2.x branch with https://github.com/droolsjbpm/drools/commit/7ea681432 Verified with BRMS 6.1.1.CR1. I have tried Eric's use case and it now works: - I have started BRMS business-central and brms-coolstore application, - added an item less than $25 to the cart, - updated the rule in Guided Decision Table in Business-central, increased project version to 2.0.1, and built the project - added an item less than $25 to the cart, the shipping cost has been updated according to the rule change, - repeated once again (updated to version 2.0.2) to verify KieScanner won't stop scanning. Eric, I must say that brms-coolstore-demo app looks really good! I am adding just a couple of things I came across when making it work with BRMS 6.1.1.CR1 and EAP 6.4: - it seems that property placeholders (${jboss.home.dir}, in particular) does not work anymore in EAP 6.4 - I had to replace the placeholder with the actual absolute path in standalone.xml (when defining org.uberfire.nio.git.dir and other system properties). We ran into the same problem a while ago and it seems that this is an expected EAP behaviour. - please be aware that the Arquillian version you are using in brms-coolstore-demo app is not compatible with BRMS 6.1 (the imported BOM overwrites some aether versions which results in weird linkage errors). I have worked around the problem by removing Arquillian tests from your app, but an Arquillian/Shrinkwrap upgrade should help. - another required update is to remove dependencies on Drools/jBPM EAP modules from jboss-deployment-structure.xml, since they are no longer used in the product. - I would also suggest using a product BOM, such as [1] (link to internal productization repo will follow, 6.1.1 not released yet). (In reply to Marek Winkler from comment #4) See some inline comments below: > Verified with BRMS 6.1.1.CR1. > > I have tried Eric's use case and it now works: > > - I have started BRMS business-central and brms-coolstore application, > > - added an item less than $25 to the cart, > > - updated the rule in Guided Decision Table in Business-central, increased > project version to 2.0.1, and built the project > > - added an item less than $25 to the cart, the shipping cost has been > updated according to the rule change, > > - repeated once again (updated to version 2.0.2) to verify KieScanner won't > stop scanning. > > Eric, I must say that brms-coolstore-demo app looks really good! I am adding > just a couple of things I came across when making it work with BRMS > 6.1.1.CR1 and EAP 6.4: > > - it seems that property placeholders (${jboss.home.dir}, in particular) > does not work anymore in EAP 6.4 - I had to replace the placeholder with the > actual absolute path in standalone.xml (when defining > org.uberfire.nio.git.dir and other system properties). We ran into the same > problem a while ago and it seems that this is an expected EAP behaviour. > This is odd as I have yet to see this behavior on any of my demo projects (they all use this) on products 6.1 and EAP 6.4. Will keep an eye out on this, but for osX have yet to encounter it. > - please be aware that the Arquillian version you are using in > brms-coolstore-demo app is not compatible with BRMS 6.1 (the imported BOM > overwrites some aether versions which results in weird linkage errors). I > have worked around the problem by removing Arquillian tests from your app, > but an Arquillian/Shrinkwrap upgrade should help. > I am not sure which version you were working with, but the current master has been updated some time ago: https://github.com/jbossdemocentral/brms-coolstore-demo/pull/27, tagged v2.6 and above have this fix. > - another required update is to remove dependencies on Drools/jBPM EAP > modules from jboss-deployment-structure.xml, since they are no longer used > in the product. > This was also corrected after 6.1 release, modules are gone in EAP 6.4, see master branch and tagged v2.8 release. > - I would also suggest using a product BOM, such as [1] (link to internal > productization repo will follow, 6.1.1 not released yet). > This will happen when it hits production, I do test the link you provide me internally before it goes public, but that is not in the repo until we publicly make it avail. Thanks much for the testing and work on this, big feature for the field to showcase! |