Get a URL Mappings Report in Grails 2.3

With Grails 2.3 you can get a report about your URL Mappings.

To get the report, just execute:

grails url-mappings-report

Then you will get an output similar to this:

|Loading Grails 2.3.7
|Configuring classpath
|Environment set to development
|URL Mappings Configured for Application
|---------------------------------------
Dynamic Mappings
| * | /${controller}/${action}?/${id}?(.${format)?    | Action: (default action)                                       
| * | /                                               | View:   /index                                                 
| * | ERROR: 500                                      | View:   /error                                                 
| * | /viewCities                                     | Action: (default action)                                       Controller: cities
| * | /api/cities                                     | Action: {GET=list, POST=save, PUT=unsupported,DELETE=unsupported}       Controller: city
| GET | /api/city/${id}/create                        | Action: create                                                           | POST| /api/city/${id}                               | Action: save                                                             | GET | /api/city/${id}                               | Action: show                                                             | GET | /api/city/${id}/edit                          | Action: edit                                                             Controller: dbdoc
| * | /dbdoc/${section}?/${filename}?/${table}?/${column}?      | Action: (default action)

HTH Johannes

Advertisements
This entry was posted in Development, Grails and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s