Skip to content

Commit 54d3d40

Browse files
committed
Add Stream processing example
1 parent d9da586 commit 54d3d40

16 files changed

Lines changed: 371 additions & 371 deletions

File tree

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,87 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>org.baeldung.spring.cloud</groupId>
7-
<artifactId>data-flow-server</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
9-
<packaging>jar</packaging>
6+
<groupId>org.baeldung.spring.cloud</groupId>
7+
<artifactId>data-flow-server</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
1010

11-
<name>data-flow-server</name>
12-
<description>Demo project for Spring Boot</description>
11+
<name>data-flow-server</name>
12+
<description>Demo project for Spring Boot</description>
1313

14-
<parent>
15-
<groupId>org.springframework.boot</groupId>
16-
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>1.4.0.RELEASE</version>
18-
<relativePath/> <!-- lookup parent from repository -->
19-
</parent>
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>1.4.0.RELEASE</version>
18+
<relativePath /> <!-- lookup parent from repository -->
19+
</parent>
2020

21-
<properties>
22-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<java.version>1.8</java.version>
25-
</properties>
21+
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24+
<java.version>1.8</java.version>
25+
</properties>
2626

27-
<dependencies>
28-
<dependency>
29-
<groupId>org.springframework.cloud</groupId>
30-
<artifactId>spring-cloud-starter-dataflow-server-local</artifactId>
31-
</dependency>
27+
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.cloud</groupId>
30+
<artifactId>spring-cloud-starter-dataflow-server-local</artifactId>
31+
</dependency>
3232

33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-test</artifactId>
36-
<scope>test</scope>
37-
</dependency>
38-
</dependencies>
33+
<dependency>
34+
<groupId>org.springframework.boot</groupId>
35+
<artifactId>spring-boot-starter-test</artifactId>
36+
<scope>test</scope>
37+
</dependency>
38+
</dependencies>
3939

40-
<dependencyManagement>
41-
<dependencies>
42-
<dependency>
43-
<groupId>org.springframework.cloud</groupId>
44-
<artifactId>spring-cloud-dataflow-dependencies</artifactId>
45-
<version>1.0.0.BUILD-SNAPSHOT</version>
46-
<type>pom</type>
47-
<scope>import</scope>
48-
</dependency>
49-
<dependency>
50-
<groupId>org.springframework.cloud</groupId>
51-
<artifactId>spring-cloud-dependencies</artifactId>
52-
<version>Brixton.SR5</version>
53-
<type>pom</type>
54-
<scope>import</scope>
55-
</dependency>
56-
</dependencies>
57-
</dependencyManagement>
40+
<dependencyManagement>
41+
<dependencies>
42+
<dependency>
43+
<groupId>org.springframework.cloud</groupId>
44+
<artifactId>spring-cloud-dataflow-dependencies</artifactId>
45+
<version>1.0.0.BUILD-SNAPSHOT</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.springframework.cloud</groupId>
51+
<artifactId>spring-cloud-dependencies</artifactId>
52+
<version>Brixton.SR5</version>
53+
<type>pom</type>
54+
<scope>import</scope>
55+
</dependency>
56+
</dependencies>
57+
</dependencyManagement>
5858

59-
<build>
60-
<plugins>
61-
<plugin>
62-
<groupId>org.springframework.boot</groupId>
63-
<artifactId>spring-boot-maven-plugin</artifactId>
64-
</plugin>
65-
</plugins>
66-
</build>
59+
<build>
60+
<plugins>
61+
<plugin>
62+
<groupId>org.springframework.boot</groupId>
63+
<artifactId>spring-boot-maven-plugin</artifactId>
64+
</plugin>
65+
</plugins>
66+
</build>
6767

68-
<repositories>
69-
<repository>
70-
<id>spring-snapshots</id>
71-
<name>Spring Snapshots</name>
72-
<url>https://repo.spring.io/snapshot</url>
73-
<snapshots>
74-
<enabled>true</enabled>
75-
</snapshots>
76-
</repository>
77-
<repository>
78-
<id>spring-milestones</id>
79-
<name>Spring Milestones</name>
80-
<url>https://repo.spring.io/milestone</url>
81-
<snapshots>
82-
<enabled>false</enabled>
83-
</snapshots>
84-
</repository>
85-
</repositories>
68+
<repositories>
69+
<repository>
70+
<id>spring-snapshots</id>
71+
<name>Spring Snapshots</name>
72+
<url>https://repo.spring.io/snapshot</url>
73+
<snapshots>
74+
<enabled>true</enabled>
75+
</snapshots>
76+
</repository>
77+
<repository>
78+
<id>spring-milestones</id>
79+
<name>Spring Milestones</name>
80+
<url>https://repo.spring.io/milestone</url>
81+
<snapshots>
82+
<enabled>false</enabled>
83+
</snapshots>
84+
</repository>
85+
</repositories>
8686

8787
</project>

‎spring-cloud-data-flow/data-flow-server/src/main/java/org/baeldung/spring/cloud/DataFlowServerApplication.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@SpringBootApplication
99
public class DataFlowServerApplication {
1010

11-
public static void main(String[] args) {
12-
SpringApplication.run(DataFlowServerApplication.class, args);
13-
}
11+
public static void main(String[] args) {
12+
SpringApplication.run(DataFlowServerApplication.class, args);
13+
}
1414
}

‎spring-cloud-data-flow/data-flow-server/src/test/java/org/baeldung/spring/cloud/DataFlowServerApplicationTests.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
@SpringBootTest
1010
public class DataFlowServerApplicationTests {
1111

12-
@Test
13-
public void contextLoads() {
14-
}
12+
@Test
13+
public void contextLoads() {
14+
}
1515

1616
}
Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,87 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>org.baeldung.spring.cloud</groupId>
7-
<artifactId>data-flow-shell</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
9-
<packaging>jar</packaging>
6+
<groupId>org.baeldung.spring.cloud</groupId>
7+
<artifactId>data-flow-shell</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
1010

11-
<name>data-flow-shell</name>
12-
<description>Demo project for Spring Boot</description>
11+
<name>data-flow-shell</name>
12+
<description>Demo project for Spring Boot</description>
1313

14-
<parent>
15-
<groupId>org.springframework.boot</groupId>
16-
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>1.4.0.RELEASE</version>
18-
<relativePath/> <!-- lookup parent from repository -->
19-
</parent>
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>1.4.0.RELEASE</version>
18+
<relativePath/> <!-- lookup parent from repository -->
19+
</parent>
2020

21-
<properties>
22-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<java.version>1.8</java.version>
25-
</properties>
21+
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24+
<java.version>1.8</java.version>
25+
</properties>
2626

27-
<dependencies>
28-
<dependency>
29-
<groupId>org.springframework.cloud</groupId>
30-
<artifactId>spring-cloud-dataflow-shell</artifactId>
31-
</dependency>
27+
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.cloud</groupId>
30+
<artifactId>spring-cloud-dataflow-shell</artifactId>
31+
</dependency>
3232

33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-test</artifactId>
36-
<scope>test</scope>
37-
</dependency>
38-
</dependencies>
33+
<dependency>
34+
<groupId>org.springframework.boot</groupId>
35+
<artifactId>spring-boot-starter-test</artifactId>
36+
<scope>test</scope>
37+
</dependency>
38+
</dependencies>
3939

40-
<dependencyManagement>
41-
<dependencies>
42-
<dependency>
43-
<groupId>org.springframework.cloud</groupId>
44-
<artifactId>spring-cloud-dataflow-dependencies</artifactId>
45-
<version>1.0.0.BUILD-SNAPSHOT</version>
46-
<type>pom</type>
47-
<scope>import</scope>
48-
</dependency>
49-
<dependency>
50-
<groupId>org.springframework.cloud</groupId>
51-
<artifactId>spring-cloud-dependencies</artifactId>
52-
<version>Brixton.SR5</version>
53-
<type>pom</type>
54-
<scope>import</scope>
55-
</dependency>
56-
</dependencies>
57-
</dependencyManagement>
40+
<dependencyManagement>
41+
<dependencies>
42+
<dependency>
43+
<groupId>org.springframework.cloud</groupId>
44+
<artifactId>spring-cloud-dataflow-dependencies</artifactId>
45+
<version>1.0.0.BUILD-SNAPSHOT</version>
46+
<type>pom</type>
47+
<scope>import</scope>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.springframework.cloud</groupId>
51+
<artifactId>spring-cloud-dependencies</artifactId>
52+
<version>Brixton.SR5</version>
53+
<type>pom</type>
54+
<scope>import</scope>
55+
</dependency>
56+
</dependencies>
57+
</dependencyManagement>
5858

59-
<build>
60-
<plugins>
61-
<plugin>
62-
<groupId>org.springframework.boot</groupId>
63-
<artifactId>spring-boot-maven-plugin</artifactId>
64-
</plugin>
65-
</plugins>
66-
</build>
59+
<build>
60+
<plugins>
61+
<plugin>
62+
<groupId>org.springframework.boot</groupId>
63+
<artifactId>spring-boot-maven-plugin</artifactId>
64+
</plugin>
65+
</plugins>
66+
</build>
6767

68-
<repositories>
69-
<repository>
70-
<id>spring-snapshots</id>
71-
<name>Spring Snapshots</name>
72-
<url>https://repo.spring.io/snapshot</url>
73-
<snapshots>
74-
<enabled>true</enabled>
75-
</snapshots>
76-
</repository>
77-
<repository>
78-
<id>spring-milestones</id>
79-
<name>Spring Milestones</name>
80-
<url>https://repo.spring.io/milestone</url>
81-
<snapshots>
82-
<enabled>false</enabled>
83-
</snapshots>
84-
</repository>
85-
</repositories>
68+
<repositories>
69+
<repository>
70+
<id>spring-snapshots</id>
71+
<name>Spring Snapshots</name>
72+
<url>https://repo.spring.io/snapshot</url>
73+
<snapshots>
74+
<enabled>true</enabled>
75+
</snapshots>
76+
</repository>
77+
<repository>
78+
<id>spring-milestones</id>
79+
<name>Spring Milestones</name>
80+
<url>https://repo.spring.io/milestone</url>
81+
<snapshots>
82+
<enabled>false</enabled>
83+
</snapshots>
84+
</repository>
85+
</repositories>
8686

8787
</project>

‎spring-cloud-data-flow/data-flow-shell/src/main/java/org/baeldung/spring/cloud/DataFlowShellApplication.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@SpringBootApplication
99
public class DataFlowShellApplication {
1010

11-
public static void main(String[] args) {
12-
SpringApplication.run(DataFlowShellApplication.class, args);
13-
}
11+
public static void main(String[] args) {
12+
SpringApplication.run(DataFlowShellApplication.class, args);
13+
}
1414
}

‎spring-cloud-data-flow/data-flow-shell/src/test/java/org/baeldung/spring/cloud/DataFlowShellApplicationTests.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
@SpringBootTest
1010
public class DataFlowShellApplicationTests {
1111

12-
@Test
13-
public void contextLoads() {
14-
}
12+
@Test
13+
public void contextLoads() {
14+
}
1515

1616
}

0 commit comments

Comments
 (0)