[ROO-3717] Refactoring of "service" commands Created: 22/Feb/16  Updated: 23/Feb/16  Resolved: 23/Feb/16

Status: Resolved
Project: Spring Roo
Component/s: None
Affects Version/s: 2.0.0.M1
Fix Version/s: 2.0.0.M2

Type: Improvement Priority: Minor
Reporter: Juan Carlos García del Canto Assignee: Juan Carlos García del Canto
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Spring Roo 1.3.x offers some commands to manage service layer.

  • Generates new services for all entities of current project
    roo> service all --interfacePackage --classPackage --useXmlConfiguration
    
  • Generates new service for an specific entity.
    roo> service type --interface --class --entity --useXmlConfiguration
    

Update these command and its parameters to follow Spring Roo 2.x analysis.

New commands should be like the following:

  • Generates new services for all entities of current project
    roo> service all --apiPackage --implPackage
    
  • Generates new service for an specific entity.
    roo> service add --entity --interface
    


 Comments   
Comment by Juan Carlos García del Canto [ 23/Feb/16 ]

Solved on the following commit:

https://github.com/spring-projects/spring-roo/commit/3cbe352c105adbdf1d5b1772822ae1a719922010

Generated at Wed Oct 23 07:32:16 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.