[
https://issues.jboss.org/browse/FORGE-1451?page=com.atlassian.jira.plugin...
]
Ivan St. Ivanov reassigned FORGE-1451:
--------------------------------------
Assignee: Ivan St. Ivanov
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: Ivan St. Ivanov
Priority: Critical
Fix For: 2.x Future
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}
--
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