spring-boot-migrator
spring-boot-migrator copied to clipboard
Spring Boot Migrator (SBM) is a tool for automated code migrations to upgrade or migrate to Spring Boot
**Describe the bug** `SpringDataJpaAnalyzerTest` is non-deterministic. **To Reproduce** Run `SpringDataJpaAnalyzerTest.testGetJpaRepositoriesWithGetByIdMethod()` with `@RepeatedTest(10)`
### What needs to be done Provide a way to categorize/group/tag recipes so related recipes can be displayed and filtered by these categories. ### Why it needs to be done...
### What needs to be done `TextSource` and `StringProjectResource` are the same thing. They should be merged and become `TextFile` (is this a better name 🤔 )
**Describe the bug** When running `ReplaceMediaTypeTest` two `UnsupportedOperationException` are thrown **To Reproduce** Run the test and check the log **Expected behavior** **Screenshots** **Stacktrace** ```` [INFO] Running org.springframework.sbm.jee.jaxrs.recipes.ReplaceMediaTypeTest 21:02:39.850 [ForkJoinPool-1-worker-19] ERROR...
### What needs to be done CSA holds a lot of useful rules that analyze a given application by applying regular expressions and provides information about required changes to matching...
If `boot-2.4-2.5-sql-init-properties` gets applied after `boot-2.4-2.5-datasource-initializer` the properties used in the `DataSourceInitializerConfiguration` (`spring.datasource.schema-...`) get changed. This is wrong. To avoid this probably easiest is to change property names in `DataSourceInitializerConfiguration`,...
### What needs to be done Support DB: Insert Component ### Sample input and outputs input Mule XML ``` ``` java DSL: ``` package com.example.javadsl; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import...
**Describe the bug** When [spring-data-examples](https://github.com/spring-projects/spring-data-examples) on (`main`) is scanned with SBM it fails with an exception. **To Reproduce** 1. clone `https://github.com/spring-projects/spring-data-examples` 2. start SBM 3. scan the project 4. :bomb:...
**Describe the bug** The `migrate-annotated-servlets` recipe should only be shown if any class annotated with `@WebServlet` was found. But currently the condition of the recipe checks for any import starting...
### What needs to be done Currently, DWL transformations are translated as below ##### Sample input ``` ``` ##### Generates following translation/output: ``` @Bean IntegrationFlow transform() { return IntegrationFlows.from(...) ......