[bs-85] Change name of groovy sample script
This commit is contained in:
15
spring-bootstrap-cli/samples/actuator.groovy
Normal file
15
spring-bootstrap-cli/samples/actuator.groovy
Normal file
@@ -0,0 +1,15 @@
|
||||
package org.test
|
||||
|
||||
@Grab("org.springframework.bootstrap:spring-bootstrap-actuator:0.5.0.BUILD-SNAPSHOT")
|
||||
|
||||
@Controller
|
||||
class SampleController {
|
||||
|
||||
@RequestMapping("/")
|
||||
@ResponseBody
|
||||
public def hello() {
|
||||
[message: "Hello World!"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user