[JBoss JIRA] (ELY-630) Elytron - aggregate-role-mapper can contain multi reference to one role mapper
by Hynek Švábek (JIRA)
Hynek Švábek created ELY-630:
--------------------------------
Summary: Elytron - aggregate-role-mapper can contain multi reference to one role mapper
Key: ELY-630
URL: https://issues.jboss.org/browse/ELY-630
Project: WildFly Elytron
Issue Type: Bug
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
Priority: Minor
Aggregate-role-mapper can contain multi reference to one role mapper.
In my opinion it isn't valid state.
But there is some probability that it is required behaviour.
Can you have a look on it?
Configuration snippet:
{code}
<subsystem xmlns="urn:wildfly:elytron:1.0">
<mappers>
<add-prefix-role-mapper name="CreaperTestAddPrefixRoleMapper" prefix="somePrefix"/>
<aggregate-role-mapper name="CreaperTestAggregateRoleMapper">
<role-mapper name="CreaperTestAddPrefixRoleMapper"/>
<role-mapper name="CreaperTestAddPrefixRoleMapper"/>
</aggregate-role-mapper>
</mappers>
</subsystem>
{code}
*Actual results:*
Aggregate-role-mapper can contain multi reference to one role-mapper.
*Expected results:*
You would not be able to define multi reference to one role-mapper in aggregate-role-mapper.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1279) [GSS] compilation of spreadsheet fails with specific condition
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1279?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-1279:
--------------------------------------
Assignee: Michael Anstis (was: Petr Široký)
> [GSS] compilation of spreadsheet fails with specific condition
> --------------------------------------------------------------
>
> Key: DROOLS-1279
> URL: https://issues.jboss.org/browse/DROOLS-1279
> Project: Drools
> Issue Type: Bug
> Components: build, decision tables
> Affects Versions: 6.4.0.Final
> Reporter: Hiroko Miura
> Assignee: Michael Anstis
> Priority: Critical
> Labels: support
> Fix For: 6.5.0.Final
>
> Attachments: reproducer.zip
>
>
> Reproducer is attached.with problematic spredsheet named SampleNG.xml.
> Compilation of this fails with the following error.
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=dtables/SampleNG.xls, line=8, column=0
> text=Unable to Analyse Expression checktest == AAA:
> [Error: unable to resolve method using strict-mode: com.sample.DecisionTableTest$Message.AAA()]
> [Near : {... checktest == AAA ....}]
> because the following DRL is generated.
> rule "HelloWorld_12"
> when
> m:Message(checktest in (AAA), status == "Message.HELLO")
> ...
> i.e. double quotation of value ("AAA") specified in the cell is removed.
>
> If D column does not exist like Sample.xml(also included in reproducer) or rule template of D column is modified like "status == $param " (see SampleOK.xml), this does not happen.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1250) Drools Sample.drl is broken
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1250?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky resolved DROOLS-1250.
---------------------------------------
Fix Version/s: 6.5.0.Final
Resolution: Done
Hi [~bbrodt], please let this issue as RESOLVED. QE will close it once the fix is included in a product, e.g. JBDS-IS.
(please note that QE uses the Jira states in tests so that we can in some cases skip the tests which are supposed to fail)
> Drools Sample.drl is broken
> ---------------------------
>
> Key: DROOLS-1250
> URL: https://issues.jboss.org/browse/DROOLS-1250
> Project: Drools
> Issue Type: Feature Request
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Tianwei Chen
> Assignee: Robert (Bob) Brodt
> Fix For: 6.5.0.Final
>
>
> Hello, I use drools plugin (6.4.0.Final) in Eclipse Neon. I followed the wizard to create a drools project with some example files. After the step were done, Eclipse highlighted errors at the two rules in the Sample.drl file. Here is one of the errors:
> Multiple markers at this line
> - com.sample.DroolsTest.Message cannot be resolved to a type
> - org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> - Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> - org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> - KnowledgeHelper cannot be resolved to a type
> - Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> - Message.GOODBYE cannot be resolved to a type
> - org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> - java.lang.Exception cannot be resolved to a type
> When I ran DroolsTest.java, I got the following error:
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=Sample.drl, line=15, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type], Message [id=2, level=ERROR, path=Sample.drl, line=5, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> Message.GOODBYE cannot be resolved to a type
> org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type]]
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:450)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:604)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:575)
> It seems like an library path issue. Please help!
> Thank you very much!
> Tianwei Chen
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1250) Drools Sample.drl is broken
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1250?page=com.atlassian.jira.plugi... ]
Andrej Podhradsky reopened DROOLS-1250:
---------------------------------------
Reopened just to set correct state
> Drools Sample.drl is broken
> ---------------------------
>
> Key: DROOLS-1250
> URL: https://issues.jboss.org/browse/DROOLS-1250
> Project: Drools
> Issue Type: Feature Request
> Components: eclipse plugin
> Affects Versions: 6.4.0.Final
> Reporter: Tianwei Chen
> Assignee: Robert (Bob) Brodt
>
> Hello, I use drools plugin (6.4.0.Final) in Eclipse Neon. I followed the wizard to create a drools project with some example files. After the step were done, Eclipse highlighted errors at the two rules in the Sample.drl file. Here is one of the errors:
> Multiple markers at this line
> - com.sample.DroolsTest.Message cannot be resolved to a type
> - org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> - Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> - org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> - KnowledgeHelper cannot be resolved to a type
> - Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> - Message.GOODBYE cannot be resolved to a type
> - org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> - java.lang.Exception cannot be resolved to a type
> When I ran DroolsTest.java, I got the following error:
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=Sample.drl, line=15, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type], Message [id=2, level=ERROR, path=Sample.drl, line=5, column=0
> text=Rule Compilation error Only a type can be imported. com.sample.DroolsTest.Message resolves to a package
> Only a type can be imported. org.drools.core.spi.KnowledgeHelper resolves to a package
> KnowledgeHelper cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> org.kie.api.runtime.rule.FactHandle cannot be resolved to a type
> java.lang.Exception cannot be resolved to a type
> org.kie.api.runtime.rule.RuleContext cannot be resolved to a type
> Message.GOODBYE cannot be resolved to a type
> org.drools.core.util.bitmask.AllSetBitMask cannot be resolved to a type
> com.sample.DroolsTest.Message cannot be resolved to a type]]
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:450)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:604)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:575)
> It seems like an library path issue. Please help!
> Thank you very much!
> Tianwei Chen
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFCORE-1716) JMX domains jboss.as and jboss.as.expr do not always correctly handle propertly list patters in queryMBeans and queryNames
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1716?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on WFCORE-1716:
-------------------------------------------------
Radovan Netuka <rnetuka(a)redhat.com> changed the Status of [bug 1367784|https://bugzilla.redhat.com/show_bug.cgi?id=1367784] from ASSIGNED to POST
> JMX domains jboss.as and jboss.as.expr do not always correctly handle propertly list patters in queryMBeans and queryNames
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-1716
> URL: https://issues.jboss.org/browse/WFCORE-1716
> Project: WildFly Core
> Issue Type: Bug
> Components: JMX
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 3.0.0.Alpha6
>
>
> The ObjectName filtering logic added for WFLY-3161 does not handle queryMBeans and queryNames correctly in some cases where the ObjectName param to the method is a property list pattern (i.e. one that includes a simple '*' at the end of the list of properties, meaning "all other properties besides previous ones whose keys were specifically enumerated, match".)
> The problem occurs when the the ObjectName does specifically include some keys, and those keys don't correspond to the final elements of the related management resource's PathAddress. As the RootResourceIterator walks the management resource tree, ModelControllerMBeanHelper.ObjectNameMatchResourceAction will not identify the parent resources of children that should match as matching, with the result that the iterator will not descend into that part of the tree and the children will not be matched. For example, this query will return an empty set because the /socket-binding-group=standard-sockets parent will not be matched, preventing checks of the socket-binding-group children.
> {code}
> Set<ObjectInstance> instances = connection.queryMBeans(createObjectName("jboss.as:socket-binding=*,*"), null);
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1279) [GSS] compilation of spreadsheet fails with specific condition
by Hiroko Miura (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1279?page=com.atlassian.jira.plugi... ]
Hiroko Miura updated DROOLS-1279:
---------------------------------
Priority: Critical (was: Major)
> [GSS] compilation of spreadsheet fails with specific condition
> --------------------------------------------------------------
>
> Key: DROOLS-1279
> URL: https://issues.jboss.org/browse/DROOLS-1279
> Project: Drools
> Issue Type: Bug
> Components: build, decision tables
> Affects Versions: 6.4.0.Final
> Reporter: Hiroko Miura
> Assignee: Petr Široký
> Priority: Critical
> Labels: support
> Fix For: 6.5.0.Final
>
> Attachments: reproducer.zip
>
>
> Reproducer is attached.with problematic spredsheet named SampleNG.xml.
> Compilation of this fails with the following error.
> java.lang.RuntimeException: Error while creating KieBase[Message [id=1, level=ERROR, path=dtables/SampleNG.xls, line=8, column=0
> text=Unable to Analyse Expression checktest == AAA:
> [Error: unable to resolve method using strict-mode: com.sample.DecisionTableTest$Message.AAA()]
> [Near : {... checktest == AAA ....}]
> because the following DRL is generated.
> rule "HelloWorld_12"
> when
> m:Message(checktest in (AAA), status == "Message.HELLO")
> ...
> i.e. double quotation of value ("AAA") specified in the cell is removed.
>
> If D column does not exist like Sample.xml(also included in reproducer) or rule template of D column is modified like "status == $param " (see SampleOK.xml), this does not happen.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFLY-7123) Use elytron ssl-context for undertow default https listener
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-7123?page=com.atlassian.jira.plugin.... ]
Martin Choma moved JBEAP-6031 to WFLY-7123:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7123 (was: JBEAP-6031)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
Web (Undertow)
(was: Security)
(was: Web (Undertow))
Affects Version/s: 11.0.0.Alpha1
(was: 7.1.0.DR4)
> Use elytron ssl-context for undertow default https listener
> -----------------------------------------------------------
>
> Key: WFLY-7123
> URL: https://issues.jboss.org/browse/WFLY-7123
> Project: WildFly
> Issue Type: Bug
> Components: Security, Web (Undertow)
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Assignee: Stuart Douglas
> Priority: Blocker
>
> Default undertow https listener use legacy ssl context in standalone-elytron.xml .
> {code}
> <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
> {code}
> Once elytron becomes default security solution in wildfly it has to use elytron ssl context. In meantime prepare such configuration in standalone-elytron.xml
> {code}
> <https-listener name="https" socket-binding="https" ssl-context="elytron-ssl-context" enable-http2="true"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1296) Root path of kjar module is incorrectly calculated under Windows for both spring and blueprint integration
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-1296:
-----------------------------------
Summary: Root path of kjar module is incorrectly calculated under Windows for both spring and blueprint integration
Key: DROOLS-1296
URL: https://issues.jboss.org/browse/DROOLS-1296
Project: Drools
Issue Type: Bug
Components: integration
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 7.0.0.Beta2
KModule post processor wherein createKieModule method implementation removes the drive name from the base directory url which causes the problem. So if we have base jetty temp dir path like C:\users\user\tem\jettytempfolder\webapp\web-inf\classes the below lines of code removes the "C:\" from the url which makes it invalid path and which in turn isnt recognized as classes file folder.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months