Skip to content

Commit 84e5d25

Browse files
committed
add corouter example
1 parent 32de5a4 commit 84e5d25

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ updates:
6969
directory: "/boot-kotlin-dsl"
7070
schedule:
7171
interval: "monthly"
72+
- package-ecosystem: "maven"
73+
directory: "/boot-kotlin-co"
74+
schedule:
75+
interval: "monthly"
76+
- package-ecosystem: "maven"
77+
directory: "/boot-kotlin-co-dsl"
78+
schedule:
79+
interval: "monthly"
7280
- package-ecosystem: "maven"
7381
directory: "/boot-mongo"
7482
schedule:
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: spring-reactive-boot-kotlin-co-dsl
2+
3+
on:
4+
push:
5+
paths:
6+
- "boot-kotlin-co-dsl/**"
7+
branches: [ master ]
8+
pull_request:
9+
paths:
10+
- "boot-kotlin-co-dsl/**"
11+
types:
12+
- opened
13+
- synchronize
14+
- reopened
15+
16+
jobs:
17+
build:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Set up JDK
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: '21'
29+
distribution: 'temurin'
30+
cache: 'maven'
31+
- name: Start up databases via Docker Compose
32+
run: |
33+
docker-compose up -d mongodb
34+
sleep 5
35+
docker ps -a
36+
- name: Build with Maven
37+
run: |
38+
cd boot-kotlin-co-dsl
39+
mvn -B package --file pom.xml

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ The following table list all sample codes related to the above posts.
9999
| [boot-groovy](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-groovy) | Written in Groovy |
100100
| [boot-kotlin](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-kotlin) | Written in Kotlin |
101101
| [boot-kotlin-co](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-kotlin-co) | Written in Kotlin Coroutines |
102-
| [boot-kotlin-dsl](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-kotlin-dsl) | Kotlin specific `BeanDefinitionDSL` Example |
102+
| [boot-kotlin-dsl](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-kotlin-dsl) | Kotlin specific `BeanDefinitionDSL` and `RouterFunctionDsl` Example |
103+
| [boot-kotlin-co-dsl](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-kotlin-co-dsl) | Kotlin specific `BeanDefinitionDSL`, `CoRouterFunctionDsl` Example |
103104
| [boot-redis](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-redis) | Example of using `ReactiveRedisConnection` and `RouterFunction` |
104105
| [boot-data-redis](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-data-redis) | Spring Data Redis Example |
105106
| [boot-data-neo4j](https://github.com/hantsy/spring-reactive-sample/tree/master/boot-data-neo4j) | Spring Data Neo4j example (Spring Boot 2.4) |

0 commit comments

Comments
 (0)