Skip to content

Commit 388a5af

Browse files
committed
Moved recipe for PagingAndSoprtingRepository to dedicated recipe
1 parent 3fde970 commit 388a5af

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
- name: sbu30-paging-and-sorting-repository
2+
description: Spring boot 3.0 Upgrade - Add CrudRepository interface extension additionally to PagingAndSortingRepository
3+
condition:
4+
type: org.springframework.sbm.common.migration.conditions.TrueCondition
5+
actions:
6+
7+
- type: org.springframework.sbm.engine.recipe.OpenRewriteDeclarativeRecipeAdapter
8+
condition:
9+
type: org.springframework.sbm.boot.common.conditions.IsSpringBootProject
10+
versionPattern: "3\\.0\\..*"
11+
description: Add CrudRepository interface extension additionally to PagingAndSortingRepository
12+
openRewriteRecipe: |-
13+
type: specs.openrewrite.org/v1beta/recipe
14+
name: org.springframework.sbm.boot.upgrade_27_30.SpringBootPropertiesManual_2_7CrudRepo
15+
displayName: Add CrudRepository interface extension additionaly to PagingAndSortingRepository
16+
description: Add CrudRepository interface extension additionaly to PagingAndSortingRepository
17+
recipeList:
18+
- org.springframework.sbm.boot.upgrade_27_30.CrudRepositoryExtension:
19+
pagingAndSortingRepository: org.springframework.data.repository.PagingAndSortingRepository
20+
targetCrudRepository: org.springframework.data.repository.CrudRepository
21+
- org.springframework.sbm.boot.upgrade_27_30.CrudRepositoryExtension:
22+
pagingAndSortingRepository: org.springframework.data.repository.reactive.ReactiveSortingRepository
23+
targetCrudRepository: org.springframework.data.repository.reactive.ReactiveCrudRepository
24+
- org.springframework.sbm.boot.upgrade_27_30.CrudRepositoryExtension:
25+
pagingAndSortingRepository: org.springframework.data.repository.reactive.RxJava3SortingRepository
26+
targetCrudRepository: org.springframework.data.repository.reactive.RxJava3CrudRepository

0 commit comments

Comments
 (0)