5 changed files with 59 additions and 4 deletions
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
package org.test |
||||
|
||||
@Grab("spring-boot-starter-security") |
||||
@Grab("spring-boot-starter-actuator") |
||||
|
||||
@RestController |
||||
class SampleController { |
||||
|
||||
@RequestMapping("/") |
||||
public def hello() { |
||||
[message: "Hello World!"] |
||||
} |
||||
} |
||||
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
package org.test |
||||
|
||||
@Grab("spring-boot-starter-shell-remote") |
||||
|
||||
@RestController |
||||
class SampleController { |
||||
|
||||
@RequestMapping("/") |
||||
public def hello() { |
||||
[message: "Hello World!"] |
||||
} |
||||
} |
||||
|
||||
|
||||
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
package org.test |
||||
|
||||
// No security features added just a test that the dependencies are resolved |
||||
@Grab("spring-boot-starter-security") |
||||
|
||||
@RestController |
||||
class SampleController { |
||||
|
||||
@RequestMapping("/") |
||||
public def hello() { |
||||
[message: "Hello World!"] |
||||
} |
||||
} |
||||
|
||||
|
||||
Loading…
Reference in new issue