New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Boot 2.0.0.M3 #6274
Spring Boot 2.0.0.M3 #6274
Conversation
updated springtemplateengine version for mailservice
added missing Optional (not compulsory but that way we have the same code for mongo and mysql)
added optional in persistentremembermeservice updated deprecated code
Maybe this could be merged on a new branch named |
@PierreBesson yes these should be worked on a new branch similar to jh-react |
Starting JDK9 support would also be nice ! |
So we move to spring-data-cassandra ? |
@cbornet sorry yes, let me explain.
|
I am also in the process of converting an older jhipster based app to Spring boot 2.0, so I will try to help with my limited knowledge. -> on my Application I do have an issue where there seems to be an issue with AbstractRememberMeServices causing NullPointerExceptions in the loginSuccess Method. Seems the Spring proxy is used there resulting in Null fields. Does not happen with older spring boot/ spring versions. I can reproduce this by also changing the jhipster sample app. Anybody else seeing this? UPDATE: spring:
aop:
proxy-target-class: false things work again. @jdubois : i am not really sure if this is the way to go? This basically now makes the issue as described in #763 (comment) occur by default. I will try to find something in the Spring boot Docus. |
fixed error in CassandraConfiguration
@JoffreyDcu I suggest doing the Spring boot update and Reactive support in 2 different PR so that its easy to review and merge |
authorities.add(authorityRepository.findOne("ROLE_USER")); | ||
|
||
Optional<Authority> authorityOptional = authorityRepository.findById("ROLE_USER"); | ||
if (!authorityOptional.isPresent()) throw new NoSuchElementException(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use orElseThrow
FYI I started working on integrating HibernateSearch in JHipster. But if we want to have all the nice Spring Boot Starter integration, we will have to wait for Spring Boot 2 : snowdrop/spring-data-example#2 (comment) |
@@ -130,7 +147,7 @@ | |||
* @return the ResponseEntity with status 200 (OK) and the list of <%= entityInstancePlural %> in body | |||
*/ | |||
@GetMapping("/<%= entityApiUrl %>") | |||
@Timed<%- include('../../common/get_all_template', {viaService: viaService}); -%> | |||
@Timed<%- include('../../common/get_all_template', {viaService: viaService}) -%> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reactive option, we should probably also have an endpoint producing application/stream+json
to prevent blocking in large JSON serialization/deserialization
Hi everyone, as @JoffreyDcu went back to school, I don't think he will have time to split this PR into 3, as @deepu105 suggested (which would probably have been the best solution, indeed). |
Arrgh, according to GitHub there was no merge conflict, which was very surprising - and doing this manually shows a lot of conflicts, in fact!!! |
SB 2.0 release is planned for Feb, 20th that's quite a long time to keep this branch. |
@gmarziou that's why I would do a branch with just the Spring Boot 2 upgrade, not the webflux stuff -> this is what is causing all the conflicts, as it's scattered all over the entites |
closing since the work is now in another branch #7061 |
I did the following:
The binding of properties fails with Travis, but works fine locally.
ElasticSearch does not start a node by default anymore (use docker?).
Please make sure the below checklist is followed for Pull Requests.
Travis tests are green
Tests are added where necessary
Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed