Skip to content

cleanup #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 11 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
.DS_Store
target
target/**/*
web-app/WEB-INF/classes
web-app/WEB-INF/classes/**/*
web-app/WEB-INF/tld/*.tld
web-app/WEB-INF/tld/**/*
*.log
*.iws
*.ipr
.settings/org.eclipse.jdt.core.prefs
*.iml
.idea
.idea/**/*
out/
*.ipr
*.iws
*.log
*.sha1
plugin.xml
*en_PS.properties
test/test-restful-api/web-app/css/**-rtl.css
/plugin.xml
.DS_Store
.idea
.settings/org.eclipse.jdt.core.prefs
.vagrant
out
plugin.xml
target
test/test-restful-api/web-app/css/**-rtl.css
Vagrantfile
web-app
6 changes: 0 additions & 6 deletions RestfulApiGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ class RestfulApiGrailsPlugin {

def version = "1.0.0"
def grailsVersion = "2.2.0 > *"
def pluginExcludes = [
"grails-app/views/**",
"web-app/**"
]

def title = "RESTful API Plugin"
def author = "Charles Hardt, Shane Riddell"
def authorEmail = "shane_riddell@icloud.com"
Expand Down Expand Up @@ -63,4 +58,3 @@ class RestfulApiGrailsPlugin {
restfulApiController.init()
}
}

2 changes: 0 additions & 2 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#Grails Metadata file
#Thu Aug 29 17:38:32 EDT 2013
app.grails.version=2.2.1
5 changes: 2 additions & 3 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,17 @@ grails.project.work.dir = 'target'

grails.project.dependency.resolution = {
inherits 'global'
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
log "warn"
repositories {
grailsCentral()
mavenCentral()
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
test "org.spockframework:spock-grails-support:0.7-groovy-2.0"
}

plugins {
build(":release:2.2.1") {
build(":release:3.1.2", ':rest-client-builder:2.1.1') {
export = false
}
compile(":inflector:0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class RestfulApiController {
private ExtractorAdapter extractorAdapter = new DefaultExtractorAdapter()

private HandlerRegistry<Throwable,ExceptionHandler> handlerConfig = new DefaultHandlerRegistry<Throwable,ExceptionHandler>()
def localizingClosure = { mapToLocalize -> this.message( mapToLocalize ) }
private localizingClosure = { mapToLocalize -> this.message( mapToLocalize ) }
private Localizer localizer = new Localizer(localizingClosure)

// Custom headers (may be configured within Config.groovy)
Expand Down Expand Up @@ -222,7 +222,7 @@ class RestfulApiController {

// GET /api/pluralizedResourceName
//
public def list() {
def list() {

log.trace "list invoked for ${params.pluralizedResourceName} - request_id=${request.request_id}"
try {
Expand Down Expand Up @@ -288,7 +288,7 @@ class RestfulApiController {

// GET /api/pluralizedResourceName/id
//
public def show() {
def show() {
log.trace "show() invoked for ${params.pluralizedResourceName}/${params.id} - request_id=${request.request_id}"
try {
checkMethod( Methods.SHOW )
Expand Down Expand Up @@ -327,7 +327,7 @@ class RestfulApiController {

// POST /api/pluralizedResourceName
//
public def create() {
def create() {
log.trace "create() invoked for ${params.pluralizedResourceName} - request_id=${request.request_id}"
def result

Expand All @@ -350,7 +350,7 @@ class RestfulApiController {

// PUT/PATCH /api/pluralizedResourceName/id
//
public def update() {
def update() {
log.trace "update() invoked for ${params.pluralizedResourceName}/${params.id} - request_id=${request.request_id}"
def result

Expand All @@ -373,7 +373,7 @@ class RestfulApiController {

// DELETE /api/pluralizedResourceName/id
//
public def delete() {
def delete() {
log.trace "delete() invoked for ${params.pluralizedResourceName}/${params.id} - request_id=${request.request_id}"
try {
checkMethod( Methods.DELETE )
Expand Down
33 changes: 0 additions & 33 deletions web-app/WEB-INF/applicationContext.xml

This file was deleted.

14 changes: 0 additions & 14 deletions web-app/WEB-INF/sitemesh.xml

This file was deleted.