You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package org.test
|
|
|
|
|
|
|
|
@Grab("spring-boot-starter-actuator")
|
|
|
|
|
|
|
|
@Controller
|
|
|
|
class SampleController {
|
|
|
|
|
|
|
|
@RequestMapping("/")
|
|
|
|
@ResponseBody
|
|
|
|
public def hello() {
|
|
|
|
[message: "Hello World!"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|