[JBoss JIRA] (DROOLS-3410) Found duplicate declaration for type exception after generating drl from scorecards xls
by Gordon Hu (Jira)
[ https://issues.jboss.org/browse/DROOLS-3410?page=com.atlassian.jira.plugi... ]
Gordon Hu updated DROOLS-3410:
------------------------------
Attachment: phone_scorecard.drl.html
> Found duplicate declaration for type exception after generating drl from scorecards xls
> ---------------------------------------------------------------------------------------
>
> Key: DROOLS-3410
> URL: https://issues.jboss.org/browse/DROOLS-3410
> Project: Drools
> Issue Type: Bug
> Components: PMML, XLS Score Card Editor
> Affects Versions: 6.5.0.Final
> Reporter: Gordon Hu
> Assignee: Lance Leverich
> Priority: Major
> Attachments: gem_phone_scoremodel.xls, phone_scorecard.drl, phone_scorecard.drl.html
>
>
> After generating a drl from the attached scorecard model, attempt to load the drl file with the following code:
> KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
> kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()), ResourceType.DRL);
> //kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()));
> for (KnowledgeBuilderError error : kbuilder.getErrors()) {
> System.out.println(error.getMessage());
> }
> Assert.assertFalse(kbuilder.hasErrors());
> StatelessKieSession session = kbuilder.newKnowledgeBase().newStatelessKieSession();
> Drools compiler gave the following exception:
> Found duplicate declaration for type com.efx.gem.rules.domain.score.PhoneScore, unable to reconcile
> Unable to process type BaselineScore
> Unable to process type ScoreRow
> Unable to process type PhoneScoreScoreCardData
> Unable to process type ScoreRank
> Unable to process type PhoneScoreOutput
> Unable to process type DataField
> Unable to process type PhoneMatch
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (WFLY-11486) Split cache-container resource into local vs clustered resources
by Paul Ferraro (Jira)
Paul Ferraro created WFLY-11486:
-----------------------------------
Summary: Split cache-container resource into local vs clustered resources
Key: WFLY-11486
URL: https://issues.jboss.org/browse/WFLY-11486
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 15.0.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
At the last clustering F2F, we discussed splitting Infinispan's DefaultCacheManager into separate local vs clustered variants. A local cache manager would no longer be able to contain clustered caches; and a clustered cache manager will no longer be able to contain local caches. Supporting this will require a change to the Infinispan subsystem management model.
Currently, there is a singleton /cache-container=* resource, with the following children:
/cache-container=*/local-cache=*
/cache-container=*/invalidation-cache=*
/cache-container=*/replicated-cache=*
/cache-container=*/distributed-cache=*
/cache-container=*/scattered-cache=*
This jira would change these resource to the following:
/local-cache-container=*/local-cache=*
/clustered-cache-container=*/invalidation-cache=*
/clustered-cache-container=*/replicated-cache=*
/clustered-cache-container=*/distributed-cache=*
/clustered-cache-container=*/scattered-cache=*
Only the clustered-cache-container variant would support a transport=jgroups child resource.
The existing transport=none would become obsolete, and no longer a source of confusion.
N.B. This is not a feature, but a requirement to support a future release of Infinispan
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months