Skip to content

Commit

Permalink
Merge pull request #921 from grails/restore-example-grails-data-servi…
Browse files Browse the repository at this point in the history
…ces-test

restore examples grails data services tests
  • Loading branch information
jamesfredley authored Nov 7, 2024
2 parents b15b34c + 3aab0cb commit b7949c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import grails.plugin.springsecurity.rest.RestAuthenticationSuccessHandler
import groovy.transform.CompileStatic
import org.springframework.security.core.Authentication

import javax.servlet.ServletException
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
import jakarta.servlet.ServletException
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse

@CompileStatic
class LoginAuthenticationSucessHandler extends RestAuthenticationSuccessHandler implements EventPublisher {
Expand Down
5 changes: 2 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ project(":examples-standalone-hibernate5").projectDir = new File(settingsDir, "e
include "examples-spring-boot-hibernate5"
project(":examples-spring-boot-hibernate5").projectDir = new File(settingsDir, "examples/spring-boot-hibernate5")

// TODO: General error during canonicalization: No signature of method: org.codehaus.groovy.ast.ClassCodeExpressionTransformer.transform() is applicable for argument types: (org.codehaus.groovy.ast.expr.MethodCallExpression) values: [org.codehaus.groovy.ast.expr.MethodCallExpression@776b49b2[object: org.codehaus.groovy.ast.expr.VariableExpression@30b9eadd[variable: response] method: org.codehaus.groovy.ast.expr.ConstantExpression@497570fb[status] arguments: org.codehaus.groovy.ast.expr.ArgumentListExpression@412c995d[org.codehaus.groovy.ast.expr.PropertyExpression@3249a1ce[object: org.codehaus.groovy.ast.expr.ClassExpression@4dd94a58[type: org.springframework.http.HttpStatus] property: org.codehaus.groovy.ast.expr.ConstantExpression@2f4919b0[UNPROCESSABLE_ENTITY]]]]]
//include "examples-grails-data-service"
//project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service")
include "examples-grails-data-service"
project(":examples-grails-data-service").projectDir = new File(settingsDir, "examples/grails-data-service")

include "examples-grails-hibernate-groovy-proxy"
project(":examples-grails-hibernate-groovy-proxy").projectDir = new File(settingsDir, "examples/grails-hibernate-groovy-proxy")
Expand Down

0 comments on commit b7949c7

Please sign in to comment.