Add integration tests and release 1.1.0.M5

This commit is contained in:
Dave Syer
2016-02-05 12:42:32 +00:00
parent 9be47f709b
commit 032c96d86e
22 changed files with 594 additions and 137 deletions

View File

@@ -0,0 +1,22 @@
package org.test
@Component
class Example implements CommandLineRunner {
@Autowired
private MyService myService
void run(String... args) {
println "Hello ${this.myService.sayWorld()} From ${getClass().getClassLoader().getResource('samples/app.groovy')}"
}
}
@Service
class MyService {
String sayWorld() {
return "World!"
}
}

View File

@@ -0,0 +1,6 @@
package org.test
@EnableConfigServer
class Example {
}

View File

@@ -0,0 +1,6 @@
package org.test
@EnableDiscoveryClient
class Example {
}

View File

@@ -0,0 +1,6 @@
package org.test
@EnableEurekaServer
class Example {
}

View File

@@ -0,0 +1,6 @@
package org.test
@EnableBinding(transport="rabbit")
class Example {
}

View File

@@ -0,0 +1,6 @@
package org.test
@EnableZuulProxy
class Example {
}