-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Create a module to add Spring Native support #16498
Comments
I’m actually planning to add a modular generator. I took a look at the steps. The modular generator will not help at the current state. |
This issue is stale because it has been open 30 days with no activity. |
I hope to work on this in a couple of weeks.
…On Sat, Oct 30, 2021 at 18:07 github-actions[bot] ***@***.***> wrote:
This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no
negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAELZABRX2OP3IWMZ3HYMDUJSCDLANCNFSM5FDFMRLA>
.
|
This issue is stale because it has been open 30 days with no activity. |
I plan to start this next week. I was hoping we could upgrade to Spring Boot 2.6 first, but that might be difficult. |
Spring Native 0.11.0 should be released next week so good timing. |
This issue is stale because it has been open 30 days with no activity. |
Still plan to work on this once Spring Boot 2.6 is integrated.
…On Fri, Dec 31, 2021 at 17:08 github-actions[bot] ***@***.***> wrote:
This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no
negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days
—
Reply to this email directly, view it on GitHub
<#16498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAELZEJGOQYJP6MX2OWF3LUTZAXFANCNFSM5FDFMRLA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Latest jhipster has SB 2.6.3 😃 watching this |
@jhipster/developers Is our create a module guide up-to-date? I'd like to start creating this module today. |
@mraible I would create a blueprint instead. |
@mshima If I create a blueprint, it'd likely only replace some values in needles. I suppose it might need to add files too. Spring Boot 3 won't have a need for Spring Native because it'll be native by default. So that's something to consider - this likely won't be needed for JHipster 8 if it includes Spring Boot 3. Another option would be to integrate Spring Native by default. Here's the current list of things you need to do to integrate it with JHipster v7.6. In my experience, integrating native does not cause any issues with JVM-mode. It's only activated when you run Some of these issues might be bugs in Spring Native. spring-attic/spring-native#1378 (comment) |
@mraible I can generate the initial blueprint if you want me to do it. |
@mshima I'd love your help! |
@mraible to regenerate your examples:
|
@mshima I tried it by running
Would a clone and |
Need to use |
I got a bit further. This time, it succeeded in creating the project, but fails to run it.
|
Reactive LogoutResource needed adjusts. PS: I am not really trying to run the applications. |
Thanks for the fix @mshima! I tested all of the apps today:
I'll create a PR with some minor improvements to the blueprint. |
We probably should move the blueprint to jhipster org. |
Or hipster-labs due to GitHub actions. |
@mshima I figured out how to get R2DBC repositories to work! I had to add I also noticed that the JHipster Native blueprint does not add Liquibase information to the
|
@mshima I found another thing that needs to be added. If
If I add
|
Upon further review, it seems that the profile annotation does not work and I have to comment out these annotations in @Configuration
@EnableCaching This still results in the same error as above. I also tried to disable Hibernate's 2nd level cache in hibernate.cache.use_second_level_cache: false That doesn't seem to help either. I'll continue investigating. |
Added warnings for untested configurations. |
Good idea. I had to remove caching for things to work. I added a workaround to my instructions. I believe this is because Spring Native doesn't support caching yet. |
And the transfer to the org is done! Thanks!
… On 11 Feb 2022, at 00:10, Marcelo Shima ***@***.***> wrote:
@mshima <https://github.com/mshima> If you transfer your repo to @jdubois <https://github.com/jdubois>, he can transfer it to the JHipster org.
Done
—
Reply to this email directly, view it on GitHub <#16498 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACNLI7YHWJA27D2U36H6T3U2RAVLANCNFSM5FDFMRLA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
Just so folks know when reading this conversation, the blueprint is located at https://github.com/jhipster/generator-jhipster-native. |
Please grab the bug bounty for this one @mshima! |
Bug bounty claimed https://opencollective.com/generator-jhipster/expenses/83301 |
@mshima: approved |
Overview of the feature request
Create a module to add Spring Native support to JHipster apps.
Motivation for or Use Case
Josh Long and I figured out the necessary steps this week and documented them in mraible/spring-native-examples. I also published an article about our experience on LinkedIn.
Related issues or PR
#13733
The text was updated successfully, but these errors were encountered: