Fix import for new spring boot version#9144
Fix import for new spring boot version#9144wing328 merged 24 commits intoOpenAPITools:masterfrom MelleD:feature/upgrade-spring-boot-2-4-4
Conversation
|
CircleCI reported the following issues: Can you please take a look when you've time? |
|
@wing328 next week i will fix it |
|
@wing328 The issue is Hystrix is depcreated. "Annotation to enable a CircuitBreaker implementation. https://martinfowler.com/bliki/CircuitBreaker.html |
|
Can you please take a look at the issues reported by CircleCI? I think that's the last hurdle to get this PR merged. |
|
@wing328 No, it's not that simple. There is a generator that uses classes that Spring no longer supports (Hystrix). See comment before this should be answered. Then i can continue. Iam not so familar with Hystrix and Circuit Breaker so i can remove the templates, but cannot adapt them. |
| <groupId>org.springframework.cloud</groupId> | ||
| <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> | ||
| <version>2.2.7.RELEASE</version> | ||
| </dependency> |
There was a problem hiding this comment.
@MelleD sorry for the delay in following up on this PR. Would it be hard to update the template to remove all reference to hystrix?
In order words, I would like to remove this dependency as part of this PR since it has been deprecated
(later we can have another PR to add resilience4j support)
There was a problem hiding this comment.
Yes I think this is a good solution and right way. I will remove hystrix and add to spring boot 2.5.4
https://github.com/OpenAPITools/openapi-generator.git into feature/upgrade-spring-boot-2-4-4 Conflicts: bin/configs/spring-cloud-no-nullable.yaml bin/configs/spring-cloud.yaml samples/client/petstore/spring-cloud-no-nullable/.openapi-generator/VERSION samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/PetApi.java samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/StoreApi.java samples/client/petstore/spring-cloud-no-nullable/src/main/java/org/openapitools/api/UserApi.java samples/client/petstore/spring-cloud/.openapi-generator/VERSION samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java
|
#8561
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master@bbdouglas
@sreeshas
@jfiala
@lukoyanov
@cbornet
@jeff9finger
@karismann
@Zomzog
@lwlee2608
@wing328