[JBoss JIRA] (FORGE-1762) Generated REST resources reference a 'Customer' class
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1762?page=com.atlassian.jira.plugin... ]
Vineet Reynolds updated FORGE-1762:
-----------------------------------
Description:
When the DTO-based REST resources are generated, the {{listAll()}} method contains the following expression, even though there is no {{Customer}} class:
{noformat}
TypedQuery<Customer> findAllQuery = ...
{noformat}
was:
When the DTO-based REST resources are generated, the {{findAll()}} method contains the following expression, even though there is no {{Customer}} class:
{noformat}
TypedQuery<Customer> findAllQuery = ...
{noformat}
> Generated REST resources reference a 'Customer' class
> -----------------------------------------------------
>
> Key: FORGE-1762
> URL: https://issues.jboss.org/browse/FORGE-1762
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE
> Affects Versions: 2.4.1.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.4.2.Final
>
>
> When the DTO-based REST resources are generated, the {{listAll()}} method contains the following expression, even though there is no {{Customer}} class:
> {noformat}
> TypedQuery<Customer> findAllQuery = ...
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1762) Generated REST resources reference a 'Customer' class
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-1762:
--------------------------------------
Summary: Generated REST resources reference a 'Customer' class
Key: FORGE-1762
URL: https://issues.jboss.org/browse/FORGE-1762
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 2.4.1.Final
Reporter: Vineet Reynolds
Assignee: Vineet Reynolds
When the DTO-based REST resources are generated, the {{findAll()}} method contains the following expression, even though there is no {{Customer}} class:
{noformat}
TypedQuery<Customer> findAllQuery = ...
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1761) Allow @WithAttributes to configure the command line parameter name for a UICommand
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1761?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1761.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.4.2.Final
Resolution: Done
Created {{name()}} attribute in the @WithAttributes annotation. It takes precedence over the field name
> Allow @WithAttributes to configure the command line parameter name for a UICommand
> ----------------------------------------------------------------------------------
>
> Key: FORGE-1761
> URL: https://issues.jboss.org/browse/FORGE-1761
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Affects Versions: 2.4.1.Final
> Reporter: Jess Sightler
> Assignee: George Gastaldi
> Fix For: 2.4.2.Final
>
>
> The UICommand component currently selects a command-line shell API parameter name based upon the variable name in the source code. Ideally the variable name should not be directly coupled to the source code variable name.
> The @WithAttributes could provide a "parameterName" property to override the default naming convention.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1761) Allow @WithAttributes to configure the command line parameter name for a UICommand
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1761?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-1761:
----------------------------------------
We thought about that while designing this feature and decided to use the field name to avoid parameter name clashing.
But I see some scenarios where this may come in handy, for example, when using a parameter name that is a reserved word (eg: transient)
> Allow @WithAttributes to configure the command line parameter name for a UICommand
> ----------------------------------------------------------------------------------
>
> Key: FORGE-1761
> URL: https://issues.jboss.org/browse/FORGE-1761
> Project: Forge
> Issue Type: Feature Request
> Components: UI - API
> Reporter: Jess Sightler
>
> The UICommand component currently selects a command-line shell API parameter name based upon the variable name in the source code. Ideally the variable name should not be directly coupled to the source code variable name.
> The @WithAttributes could provide a "parameterName" property to override the default naming convention.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1761) Allow @WithAttributes to configure the command line parameter name for a UICommand
by Jess Sightler (JIRA)
Jess Sightler created FORGE-1761:
------------------------------------
Summary: Allow @WithAttributes to configure the command line parameter name for a UICommand
Key: FORGE-1761
URL: https://issues.jboss.org/browse/FORGE-1761
Project: Forge
Issue Type: Feature Request
Components: UI - API
Reporter: Jess Sightler
The UICommand component currently selects a command-line shell API parameter name based upon the variable name in the source code. Ideally the variable name should not be directly coupled to the source code variable name.
The @WithAttributes could provide a "parameterName" property to override the default naming convention.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months
[JBoss JIRA] (FORGE-1760) CDI Commands do not follow naming guidelines for GUI
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1760?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1760.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.4.2.Final
(was: 2.x Future)
Resolution: Done
> CDI Commands do not follow naming guidelines for GUI
> ----------------------------------------------------
>
> Key: FORGE-1760
> URL: https://issues.jboss.org/browse/FORGE-1760
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Java EE, UI - Eclipse
> Affects Versions: 2.4.1.Final
> Reporter: Lincoln Baxter III
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 2.4.2.Final
>
> Attachments: Screen Shot 2014-04-14 at 12.37.54 PM.png
>
>
> {code}@Command(value = "cdi-list-decorators" ... ){code}
> Should be CDI List Decorators in the GUI, and same for other commands in this category.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 2 months