[JBoss JIRA] (JBRULES-3447) Parametrized queries don't work in DSL
by Mario Fusco (JIRA)
Mario Fusco created JBRULES-3447:
------------------------------------
Summary: Parametrized queries don't work in DSL
Key: JBRULES-3447
URL: https://issues.jboss.org/browse/JBRULES-3447
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
When expanding rule file containing definition of query with parameters I get from knowledge builder 'Unable to expand: (Person p)'.
Steps to Reproduce:
1. add included dsl and dslr files to KnowledegBuilder
2. check that KnowledgeBuilder.getErrors() returns reported problem
dslr file:
package org.jboss.qa.drools.features
import org.jboss.qa.drools.domain.Person
query "isMature"(Person p)
There is a person
- age is greater than 18
- equals p
end
dsl file:
[when]There is a person=Person()
[when]- {field:\w*} {operator} {value:\d*}={field} {operator} {value}
[when]- equals {variable}=this := {variable}
[when]is greater than=>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] (JBRULES-3394) Bechmarker: MatrixAxis to configure a matrix of benchmarks easily
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created JBRULES-3394:
-----------------------------------------
Summary: Bechmarker: MatrixAxis to configure a matrix of benchmarks easily
Key: JBRULES-3394
URL: https://issues.jboss.org/browse/JBRULES-3394
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Each property would get a MatrixAxis alternative:
{code}
<acceptor>
<propertyTabuMatrixAxis>
<value>5</>
<value>7</>
<value>11</>
</>
<moveTabuMatrixAxis>
<value>5</>
<value>7</>
<value>11</>
<value>13</>
</>
</>
{code}
In the case above we would have 3 * 4 = 12 benchmarks, would could result in saying that propertyTabu 5 + moveTabu 13 is best but that propertyTabu 7 + moveTabu 11 is the runner up.
Technical problem: Don't want to litter AcceptorConfig with private MatrixAxis<int> propertyTabuMatrixAxis because non benchmark configs should not use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] (AS7-4939) CLONE - CLI: unable to specify command arguments to echo-dmr command
by Alexey Loubyansky (JIRA)
[ https://issues.jboss.org/browse/AS7-4939?page=com.atlassian.jira.plugin.s... ]
Alexey Loubyansky moved JBPAPP-9219 to AS7-4939:
------------------------------------------------
Project: Application Server 7 (was: JBoss Enterprise Application Platform)
Key: AS7-4939 (was: JBPAPP-9219)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: (was: EAP 6.0.0 ER 8)
Security: (was: Public)
Fix Version/s: 7.1.3.Final (EAP)
7.2.0.Alpha1
(was: TBD EAP 6)
Docs QE Status: (was: NEW)
> CLONE - CLI: unable to specify command arguments to echo-dmr command
> --------------------------------------------------------------------
>
> Key: AS7-4939
> URL: https://issues.jboss.org/browse/AS7-4939
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Dominik Pospisil
> Assignee: Alexey Loubyansky
> Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>
> It seems to be impossible to specify command arguments to echo-dmr command beginning with double-dash.
> While e.g. this works:
> [domain@localhost:9999 /] echo-dmr undeploy deployment0.war
> {
> "operation" => "composite",
> "address" => [],
> "steps" => [{
> "operation" => "remove",
> "address" => [("deployment" => "deployment0.war")]
> }]
> }
> This does not:
> [domain@localhost:9999 /] echo-dmr deploy /home/dpospisi/deploy/deployment1.war --all-server-groups
> Unrecognized arguments: [--all-server-groups]
> Putting requested command in quotes does not work as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months