Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1491 Perform a review of Forge 2.x
  3. FORGE-1451

Cannot scaffold REST endpoints using a * target

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Critical Critical
    • 2.6.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

      When I want to generate REST enpoints for each of my entities, I can write the following in Forge 1.x :

      rest endpoint-from-entity ~.model.* ;
      

      In Forge 2.CR1 I cannot use the '*' and need to specify each entity :

      [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.
      

            lincolnthree Lincoln Baxter III (Inactive)
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: