[bs-19] Add samples and CLI support for Spring Integration

$ cd spring-bootstrap-cli
    $ export SPRING_HOME=target
    $ src/main/scripts/spring run samples/integration.groovy

The big disadvantage at the moment is that there is no goo way to
detect Spring Integration in the AST (at least not as good as @Enable*).
So for now we are looking for @MessageEndpoint or a class name with
SpringIntegration in it.

[#48151147]
This commit is contained in:
Dave Syer
2013-04-25 16:06:17 +01:00
parent d82c50804f
commit 83e0ea22c1
18 changed files with 475 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ public class SampleIntegrationTests {
@BeforeClass
public static void clean() {
// SpringBootstrapCli.main("clean");
// System.setProperty("ivy.message.logger.level", "4");
// System.setProperty("ivy.message.logger.level", "3");
}
@Test
@@ -63,6 +63,11 @@ public class SampleIntegrationTests {
start("samples/app.groovy");
}
@Test
public void jobSample() throws Exception {
start("samples/job.groovy");
}
@Test
public void webSample() throws Exception {
start("samples/web.groovy");
@@ -73,4 +78,9 @@ public class SampleIntegrationTests {
start("samples/service.groovy");
}
@Test
public void integrationSample() throws Exception {
start("samples/integration.groovy");
}
}