[JBoss JIRA] (DROOLS-3017) [DMN Designer] Data Types Type - Constraints - Base dialog
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3017?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3017:
---------------------------------------
Description:
I) When the user clicks on "Constraints", the Constraints dialog must be loaded:
!anchor.png|thumbnail!
II) The dialog contains a dropdown with three types of constraints:
- Enumeration (https://issues.jboss.org/browse/DROOLS-3021)
- Expression (https://issues.jboss.org/browse/DROOLS-3020)
- Range (https://issues.jboss.org/browse/DROOLS-3019)
!dropdown.png|thumbnail!
The dropdown component loads the other sub-components (three).
III) The dialog has a blank slate state with the message "_Select a constraint type_";
!blankslate.png|thumbnail!
IV) The dialog contains a *Clear all* action;
V) The dialog has an *Ok* button that persists the operation and a *Cancel* button that cancels the operation;
was:
When the user clicks on "Constraints", the Constraints dialog must be loaded:
!anchor.png|thumbnail!
The dialog contains a dropdown with three types of constraints:
- Range (https://issues.jboss.org/browse/DROOLS-3019)
- Expression (https://issues.jboss.org/browse/DROOLS-3020)
- Enumeration (https://issues.jboss.org/browse/DROOLS-3021)
!dropdown.png|thumbnail!
The dialog handles the blank slate state with the message "Select a constraint type";
!blankslate.png|thumbnail!
The dialog contains a "Clear all" action;
The dialog has an "Ok" button that persists the operation and a "Cancel" button that cancels the operation;
This JIRA comprehends the "Constraints" anchor and and the dialog with the dropdown component that loads the other sub-components (three).
> [DMN Designer] Data Types Type - Constraints - Base dialog
> ----------------------------------------------------------
>
> Key: DROOLS-3017
> URL: https://issues.jboss.org/browse/DROOLS-3017
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: anchor.png, blankslate.png, dropdown.png
>
>
> I) When the user clicks on "Constraints", the Constraints dialog must be loaded:
> !anchor.png|thumbnail!
> II) The dialog contains a dropdown with three types of constraints:
> - Enumeration (https://issues.jboss.org/browse/DROOLS-3021)
> - Expression (https://issues.jboss.org/browse/DROOLS-3020)
> - Range (https://issues.jboss.org/browse/DROOLS-3019)
> !dropdown.png|thumbnail!
> The dropdown component loads the other sub-components (three).
> III) The dialog has a blank slate state with the message "_Select a constraint type_";
> !blankslate.png|thumbnail!
> IV) The dialog contains a *Clear all* action;
> V) The dialog has an *Ok* button that persists the operation and a *Cancel* button that cancels the operation;
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3402) Encoding set in constructor not taking effect
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3402?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-3402:
--------------------------------
Sprint: 2018 Week 48-50, 2019 Week 02-04 (was: 2018 Week 48-50)
> Encoding set in constructor not taking effect
> ---------------------------------------------
>
> Key: DROOLS-3402
> URL: https://issues.jboss.org/browse/DROOLS-3402
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.13.0.Final
> Reporter: Barnabás Kurucz
> Assignee: Mario Fusco
> Priority: Major
>
> In my drl file, I'm using German characters such as Umlauts or ß. Thus, I am setting the encoding to UTF-8 with the overloaded constructor when creating the Resource for the Kie File System. However, after firing the rules on the inserted Fact Drools does not seem to apply the specified encoding. I insert the fact, and if the condition is true to that fact it should modify the Action1 (String) attribute of the fact to "Rückfrage" and return the modified fact. However, when I look at the retrieved bean's Action1 attribute I am seeing "Rückfrage" instead of "Rückfrage". I tried both UTF-8 and ISO-8859-1 encoding. Any ideas what's wrong?
> Drools 7.13
> *KieSessionGenerator*:
> public KieSessionGenerator() {
> KieServices kieServices = KieServices.Factory.get();
> KieFileSystem kieFileSystem = kieServices.newKieFileSystem();
> kieFileSystem.write(ResourceFactory.newClassPathResource(drlFile, "UTF-8"));
> KieBuilder kieBuilder = kieServices.newKieBuilder(kieFileSystem);
> kieBuilder.buildAll();
> KieModule kieModule = kieBuilder.getKieModule();
> KieContainer kieContainer = kieServices.newKieContainer(kieModule.getReleaseId());
> kieSession = kieContainer.newKieSession();
> }
> *Snippet from DRL:*
> rule "813"
> when
> $bean : Bean(longDesc == "Infektion")
> then
> $bean.setAction1("Rückfrage");
> end
> *Inserting the fact:*
> public Bean lookupBean(Bean bean) {
> kieSessionGenerator.getKieSession().insert(bean);
> kieSessionGenerator.getKieSession().fireAllRules();
> return bean;
> }
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (DROOLS-3017) [DMN Designer] Data Types Type - Constraints - Base dialog
by Guilherme Carreiro (Jira)
[ https://issues.jboss.org/browse/DROOLS-3017?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro updated DROOLS-3017:
---------------------------------------
Summary: [DMN Designer] Data Types Type - Constraints - Base dialog (was: [DMN Designer] Data Types Type - Constraints - Base Component)
> [DMN Designer] Data Types Type - Constraints - Base dialog
> ----------------------------------------------------------
>
> Key: DROOLS-3017
> URL: https://issues.jboss.org/browse/DROOLS-3017
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: anchor.png, blankslate.png, dropdown.png
>
>
> When the user clicks on "Constraints", the Constraints dialog must be loaded:
> !anchor.png|thumbnail!
> The dialog contains a dropdown with three types of constraints:
> - Range (https://issues.jboss.org/browse/DROOLS-3019)
> - Expression (https://issues.jboss.org/browse/DROOLS-3020)
> - Enumeration (https://issues.jboss.org/browse/DROOLS-3021)
> !dropdown.png|thumbnail!
> The dialog handles the blank slate state with the message "Select a constraint type";
> !blankslate.png|thumbnail!
> The dialog contains a "Clear all" action;
> The dialog has an "Ok" button that persists the operation and a "Cancel" button that cancels the operation;
> This JIRA comprehends the "Constraints" anchor and and the dialog with the dropdown component that loads the other sub-components (three).
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months
[JBoss JIRA] (WFLY-11566) ConstraintDeclarationException on JAX-RS/EJB Methods with List/Set query parameter
by Alexander Wagner (Jira)
Alexander Wagner created WFLY-11566:
---------------------------------------
Summary: ConstraintDeclarationException on JAX-RS/EJB Methods with List/Set query parameter
Key: WFLY-11566
URL: https://issues.jboss.org/browse/WFLY-11566
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 15.0.1.Final, 14.0.0.Final
Reporter: Alexander Wagner
Assignee: Alessio Soldano
Like described in the thread https://developer.jboss.org/thread/278822 you got an exception if you call methods on JAX-RS endpoints which are also e.g. a stateless EJB and have Set or List as query parameters.
As a workaround we use the "@Context UriInfo info" as parameter an read the parameter manually. As a downside this parameters are missing than in automated api generation with e.g. swagger.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 6 months