Skip to content

Commit ab4b6f8

Browse files
committed
Created first web flux reactive video streaming application
1 parent d106273 commit ab4b6f8

File tree

15 files changed

+772
-17
lines changed

15 files changed

+772
-17
lines changed

SirmaAssignment/pom.xml

+77-17
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<properties>
1717
<java.version>17</java.version>
1818
<org.mapstruct.version>1.6.0.Beta1</org.mapstruct.version>
19+
<kotlin.version>1.9.23</kotlin.version>
1920
</properties>
2021
<dependencies>
2122
<dependency>
@@ -76,28 +77,22 @@
7677
<artifactId>swagger-annotations</artifactId>
7778
<version>2.2.16</version>
7879
</dependency>
80+
<dependency>
81+
<groupId>org.jetbrains.kotlin</groupId>
82+
<artifactId>kotlin-stdlib-jdk8</artifactId>
83+
<version>${kotlin.version}</version>
84+
</dependency>
85+
<dependency>
86+
<groupId>org.jetbrains.kotlin</groupId>
87+
<artifactId>kotlin-test</artifactId>
88+
<version>${kotlin.version}</version>
89+
<scope>test</scope>
90+
</dependency>
7991

8092
</dependencies>
8193

8294
<build>
8395
<plugins>
84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-compiler-plugin</artifactId>
87-
<version>3.8.1</version>
88-
<configuration>
89-
<source>1.8</source> <!-- depending on your project -->
90-
<target>1.8</target> <!-- depending on your project -->
91-
<annotationProcessorPaths>
92-
<path>
93-
<groupId>org.mapstruct</groupId>
94-
<artifactId>mapstruct-processor</artifactId>
95-
<version>${org.mapstruct.version}</version>
96-
</path>
97-
<!-- other annotation processors -->
98-
</annotationProcessorPaths>
99-
</configuration>
100-
</plugin>
10196
<plugin>
10297
<groupId>org.apache.maven.plugins</groupId>
10398
<artifactId>maven-compiler-plugin</artifactId>
@@ -139,6 +134,71 @@
139134
</excludes>
140135
</configuration>
141136
</plugin>
137+
<plugin>
138+
<groupId>org.jetbrains.kotlin</groupId>
139+
<artifactId>kotlin-maven-plugin</artifactId>
140+
<version>${kotlin.version}</version>
141+
<executions>
142+
<execution>
143+
<id>compile</id>
144+
<phase>compile</phase>
145+
<goals>
146+
<goal>compile</goal>
147+
</goals>
148+
</execution>
149+
<execution>
150+
<id>test-compile</id>
151+
<phase>test-compile</phase>
152+
<goals>
153+
<goal>test-compile</goal>
154+
</goals>
155+
</execution>
156+
</executions>
157+
<configuration>
158+
<jvmTarget>1.8</jvmTarget>
159+
</configuration>
160+
</plugin>
161+
<plugin>
162+
<groupId>org.apache.maven.plugins</groupId>
163+
<artifactId>maven-compiler-plugin</artifactId>
164+
<version>3.8.1</version>
165+
<executions>
166+
<execution>
167+
<id>default-compile</id>
168+
<phase>none</phase>
169+
</execution>
170+
<execution>
171+
<id>default-testCompile</id>
172+
<phase>none</phase>
173+
</execution>
174+
<execution>
175+
<id>compile</id>
176+
<phase>compile</phase>
177+
<goals>
178+
<goal>compile</goal>
179+
</goals>
180+
</execution>
181+
<execution>
182+
<id>testCompile</id>
183+
<phase>test-compile</phase>
184+
<goals>
185+
<goal>testCompile</goal>
186+
</goals>
187+
</execution>
188+
</executions>
189+
<configuration>
190+
<source>1.8</source> <!-- depending on your project -->
191+
<target>1.8</target> <!-- depending on your project -->
192+
<annotationProcessorPaths>
193+
<path>
194+
<groupId>org.mapstruct</groupId>
195+
<artifactId>mapstruct-processor</artifactId>
196+
<version>${org.mapstruct.version}</version>
197+
</path>
198+
<!-- other annotation processors -->
199+
</annotationProcessorPaths>
200+
</configuration>
201+
</plugin>
142202
</plugins>
143203
</build>
144204

WebFlux-VideoStream/.gitignore

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
HELP.md
2+
target/
3+
!.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

0 commit comments

Comments
 (0)