]
Lincoln Baxter III reassigned FORGE-1451:
-----------------------------------------
Assignee: Lincoln Baxter III
Cannot scaffold REST endpoints using a * target
-----------------------------------------------
Key: FORGE-1451
URL:
https://issues.jboss.org/browse/FORGE-1451
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.0.0.CR2
Reporter: Antonio Goncalves
Assignee: Lincoln Baxter III
Priority: Critical
Fix For: 2.5.1.Final
When I want to generate REST enpoints for each of my entities, I can write the following
in Forge 1.x :
{code}
rest endpoint-from-entity ~.model.* ;
{code}
In Forge 2.CR1 I cannot use the '*' and need to specify each entity :
{code}
[Book.java]$ rest-endpoint-from-entity --targets ~.model.*
Targets must be specified.
[Book.java]$ rest-endpoint-from-entity --targets org.javaone.javaee7.model.*
Targets must be specified.
[Book.java]$ rest-endpoint-from-entity --targets org.javaone.javaee7.model.Book
org.javaone.javaee7.model.Speaker org.javaone.javaee7.model.Talk
***SUCCESS*** Endpoint created
***SUCCESS*** EJB has been installed.
{code}