Permalink
02b0c9e Dec 16, 2014
1 contributor

Users who have contributed to this file

9 lines (8 sloc) 232 Bytes
// Run this app with --spring.application.name=resource
@EnableOAuth2Resource
@EnableDiscoveryClient
@RestController
class Demo {
@RequestMapping("/")
def home() { [id: UUID.randomUUID().toString(), content: "Hello Remote"] }
}