Patrick Way

Results 63 comments of Patrick Way

@shanman190 I agree this would be a handy recipe For future reference: [webclient loadbalancer docs](https://spring.getdocs.org/en-US/spring-cloud-docs/spring-cloud-commons/cloud-native-applications/spring-cloud-commons:-common-abstractions/webclinet-loadbalancer-client.html) [RestTemplate vs WebClient blog](https://ordina-jworks.github.io/rest/2020/10/12/RestTemplate-vs-WebClient.html)

Thanks @timtebeek added these to the main list :)

Thanks for the detailed suggestion @timtebeek !

this looks like it could be a declarative recipe in the boot search recipes https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot2-search.yml

This requires openrewrite/rewrite#1315

sounds like this can be a declarative recipe looking for flyway or liquibase dependencies

Hi @fabapp2 > for all types inheriting from JpaRepository if method declaration with name public ENTITY getById(ID) exists rename method to getByName() suggestion: ``` for all types inheriting from JpaRepository...

Moving this back to the back-log. The unnecessary JUnit 5 dependency is caused by adding both the `spring-boot-starter-test` and the `junit-jupiter-engine` dependencies. An approach to this issue would be a...

This requires - openrewrite/rewrite#1315 and - openrewrite/rewrite#1316

example from spring-batch KafkaItemReaderTests. 1. remove `EmbeddedKafkaRule` 2. add class annotations `@EmbeddedKafka` `@ExtendWith(SpringExtension.class)` `@TestInstance(TestInstance.Lifecycle.PER_CLASS)` 3. add `@Autowired` `private EmbeddedKafkaBroker embeddedKafkaBroker;` 4. remove static modifier from setup() method (note. `@TestInstance` annotation)....