Add integration tests and release 1.1.0.M5
This commit is contained in:
22
spring-cloud-cli-integration-tests/samples/app.groovy
Normal file
22
spring-cloud-cli-integration-tests/samples/app.groovy
Normal 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!"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableConfigServer
|
||||
class Example {
|
||||
}
|
||||
|
||||
6
spring-cloud-cli-integration-tests/samples/eureka.groovy
Normal file
6
spring-cloud-cli-integration-tests/samples/eureka.groovy
Normal file
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableDiscoveryClient
|
||||
class Example {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableEurekaServer
|
||||
class Example {
|
||||
}
|
||||
|
||||
6
spring-cloud-cli-integration-tests/samples/rabbit.groovy
Normal file
6
spring-cloud-cli-integration-tests/samples/rabbit.groovy
Normal file
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableBinding(transport="rabbit")
|
||||
class Example {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableZuulProxy
|
||||
class Example {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user