Spy into Grails internals
Groovy JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
docs
grails-app
scripts
test/unit/net/jetztgrad
web-app
.classpath
.gitignore
.project
LICENSE
README.textile
SpyGrailsPlugin.groovy
TODO.txt
application.properties
grails-spy-0.1.zip
grails-spy-plugin.launch
plugin.xml

README.textile

Grails Spy plugin

About

The Grails Spy plugin provides some views to inspect Grails internals such as the Spring application context(s), artefacts, etc.

License

The Spy plugin is released under the Apache License 2.0.

Installation

Simply call grails install-plugin spy to install the OSGi plugin

Grails Spy must be activated in Config.groovy:

grails.plugins.spy.enabled = true

For security reasons, Spy can be enabled for a single environment, e.g. development only:

    environments {
        production {
            grails.serverURL = "http://www.changeme.com"
        }
        development {
            grails.serverURL = "http://localhost:8080/${appName}"
            grails.plugins.spy.enabled = true
        }
        test {
            grails.serverURL = "http://localhost:8080/${appName}"
        }
    }

Usage

Go to http://localhost:8080/myapp/spy/ and inspect available objects and beans.