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

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • 2.0.0.CR2
    • 2.6.0.Final
    • UI - Shell
    • None

    Description

      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.
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: