[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 Jul 17 22:34:00 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.