[JBoss JIRA] (FORGE-840) Provide a dependency information repository for the current project
by George Gastaldi (JIRA)
George Gastaldi created FORGE-840:
-------------------------------------
Summary: Provide a dependency information repository for the current project
Key: FORGE-840
URL: https://issues.jboss.org/browse/FORGE-840
Project: Forge
Issue Type: Feature Request
Components: Usability
Affects Versions: 2.0.0.Alpha1, 1.2.2.Final
Reporter: George Gastaldi
Fix For: 1.2.3.Final, 2.0.0.Alpha2
It would be nice if Forge could provide a query-able mechanism for a project such as it would be possible to retrieve information like:
- All available @Entity mapped classes;
- Classes that implement a specific interface;
- Is a specific class present in the configured pom.xml?
That would enrich user experience and also allow the writing of smarter plugins.
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-840) Provide a dependency information repository for the current project
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-840?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-840:
----------------------------------
Description:
It would be nice if Forge could provide a query-able mechanism for a project so it would be possible to retrieve information like:
- All available @Entity mapped classes;
- Classes that implement a specific interface;
- Is a specific class present in the configured pom.xml?
That would enrich user experience and also allow the writing of smarter plugins.
was:
It would be nice if Forge could provide a query-able mechanism for a project such as it would be possible to retrieve information like:
- All available @Entity mapped classes;
- Classes that implement a specific interface;
- Is a specific class present in the configured pom.xml?
That would enrich user experience and also allow the writing of smarter plugins.
> Provide a dependency information repository for the current project
> -------------------------------------------------------------------
>
> Key: FORGE-840
> URL: https://issues.jboss.org/browse/FORGE-840
> Project: Forge
> Issue Type: Feature Request
> Components: Usability
> Affects Versions: 1.2.2.Final, 2.0.0.Alpha1
> Reporter: George Gastaldi
> Fix For: 1.2.3.Final, 2.0.0.Alpha2
>
>
> It would be nice if Forge could provide a query-able mechanism for a project so it would be possible to retrieve information like:
> - All available @Entity mapped classes;
> - Classes that implement a specific interface;
> - Is a specific class present in the configured pom.xml?
> That would enrich user experience and also allow the writing of smarter plugins.
--
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
11 years, 8 months
[JBoss JIRA] (FORGEPLUGINS-108) Create a JodaTime Plugin
by George Gastaldi (JIRA)
George Gastaldi created FORGEPLUGINS-108:
--------------------------------------------
Summary: Create a JodaTime Plugin
Key: FORGEPLUGINS-108
URL: https://issues.jboss.org/browse/FORGEPLUGINS-108
Project: Forge Plugins
Issue Type: Feature Request
Reporter: George Gastaldi
It would be nice to have a plugin that supports JodaTime and/or JSR310 specific annotations. The field plugin could be extended to allow mapping of temporal fields using Joda/JSR310 classes and specific user types when the JPA provider is Hibernate.
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-837) RestPlugin supports only whole numbers as resource identifiers
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-837?page=com.atlassian.jira.plugin.... ]
Vineet Reynolds updated FORGE-837:
----------------------------------
Component/s: Java EE APIs
> RestPlugin supports only whole numbers as resource identifiers
> --------------------------------------------------------------
>
> Key: FORGE-837
> URL: https://issues.jboss.org/browse/FORGE-837
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Reporter: Vineet Reynolds
>
> The RestPlugin contains the following {{@Path}} annotation:
> {code}
> @Path("/{id:[0-9][0-9]*}")
> {code}
> irrespective of the type of the JPA Entity @Id field.
> Even among the basic @Id types deemed supported by the Rest plugin, having any of the decimal types like {{float}} and {{double}}, or {{String}}, as the type of the @Id field in the JPA entity would result in generation of an incorrect REST resource.
> The regex should preferably be context-sensitive and contain a different regex for different @Id types, or be omitted altogether.
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-838) RestPlugin should support the right semantics for entities with non auto-generated Ids
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-838?page=com.atlassian.jira.plugin.... ]
Vineet Reynolds updated FORGE-838:
----------------------------------
Component/s: Java EE APIs
> RestPlugin should support the right semantics for entities with non auto-generated Ids
> --------------------------------------------------------------------------------------
>
> Key: FORGE-838
> URL: https://issues.jboss.org/browse/FORGE-838
> Project: Forge
> Issue Type: Feature Request
> Components: Java EE APIs
> Reporter: Vineet Reynolds
>
> Currently, the generated REST resources contain a {{@POST}} method for creating new entities and a {{@PUT}} method for updating an existing entity.
> This set of semantics is appropriate for auto-generated Ids where the Ids would be created by the server, and cannot be specified by the client.
> However, for JPA entities that do not contain a {{@GeneratedValue}} annotation, these semantics may not be unsuitable. It would be preferable to use only a {{@PUT}} method that is used to create and update the entities. This is primarily because the client gets to decide the resource/entity identifier, and hence, also the location of the resource.
--
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
11 years, 8 months
[JBoss JIRA] (FORGE-838) RestPlugin should support the right semantics for entities with non auto-generated Ids
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-838:
-------------------------------------
Summary: RestPlugin should support the right semantics for entities with non auto-generated Ids
Key: FORGE-838
URL: https://issues.jboss.org/browse/FORGE-838
Project: Forge
Issue Type: Feature Request
Reporter: Vineet Reynolds
Currently, the generated REST resources contain a {{@POST}} method for creating new entities and a {{@PUT}} method for updating an existing entity.
This set of semantics is appropriate for auto-generated Ids where the Ids would be created by the server, and cannot be specified by the client.
However, for JPA entities that do not contain a {{@GeneratedValue}} annotation, these semantics may not be unsuitable. It would be preferable to use only a {{@PUT}} method that is used to create and update the entities. This is primarily because the client gets to decide the resource/entity identifier, and hence, also the location of the resource.
--
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
11 years, 8 months