Skip to content
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

Update to Micronaut 2 #89

Closed
JasonTypesCodes opened this issue Jun 9, 2020 · 6 comments · Fixed by #108
Closed

Update to Micronaut 2 #89

JasonTypesCodes opened this issue Jun 9, 2020 · 6 comments · Fixed by #108
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ enhancement 💎 New feature or request $200 https://www.jhipster.tech/bug-bounties/

Comments

@JasonTypesCodes
Copy link
Contributor

Overview of the feature request

Once the Micronaut 2 RC1 release occurs, we should update the template to generate Micronaut 2 projects.

Motivation for or Use Case

Micronaut 2 rules!!

@JasonTypesCodes JasonTypesCodes added the enhancement 💎 New feature or request label Jun 18, 2020
@atomfrede atomfrede linked a pull request Jun 23, 2020 that will close this issue
2 tasks
atomfrede pushed a commit to atomfrede/generator-jhipster-micronaut that referenced this issue Jun 27, 2020
atomfrede pushed a commit to atomfrede/generator-jhipster-micronaut that referenced this issue Jun 27, 2020
atomfrede pushed a commit to atomfrede/generator-jhipster-micronaut that referenced this issue Jun 27, 2020
atomfrede pushed a commit to atomfrede/generator-jhipster-micronaut that referenced this issue Jun 27, 2020
atomfrede added a commit that referenced this issue Jun 28, 2020
* update to latest RC1 of micronaut

* add missing cache dependency

* add versions which are now missing from bom

* import mn version to build gradle file

* use artifact coordinates

* replaces removed apis and classes

* replace maven exec plugin with micronaut plugin

* fix linting errors

* add missing imports

* correct imports in test classes

* correct test classes

* migrate security properties to the new schema

* correct ejs template

* correct test template and disable oauth when using jwt

* disable basic auth

* update user details mapper

* fix mn cache dependency error

* correct generated files for oauth option

* correct build/package command for gradle

* fix compile error when using oauth

* do not generate jwt test for oauth option

* do not use flaky react tests

* correct matrix build configuration

* update to latest mn data 1.1.0 release version

* exclude old jdbc artifact to prevent having both versions on classpath

* Align liquibase versions with mn bom

* Update application-test.yml.ejs

* Update application.yml.ejs

* Update pom.xml.ejs

* Update constants.js

* Adds ExecuteOn annotation to controllers (#89)

* Update constants.js

* use liquibase also in test profile

* disable tests temporary

* update to micronaut 2.0 final

* enable test again with correct liquibase context

* correct gradle jwt tests

* An attempt to resolve Liquibase version conflicts in Gradle projects (#89)

* Replaces React CI sample (#89)

* Updates JWTFilterTest to pull JWT from initial response cookie (#89)

* cleanup imports

* remove auto thread selection

* cleanup imports in tests

* align liquibase versions

* test mvn for jwt and gradle for oauth

* pin liquibase to 3.8.0

* pin liquibase to 3.8.9 only for gradle

Co-authored-by: Jason Schindler <schindlerj@objectcomputing.com>
@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $200 https://www.jhipster.tech/bug-bounties/ labels Aug 20, 2020
@atomfrede
Copy link
Member

Thanks @mraible for putting the bounty. @JasonTypesCodes Should we share it, without your efforts it would not have been possible that fast?

@JasonTypesCodes
Copy link
Contributor Author

@atomfrede That is very generous, but no. You've done amazing work on this and absolutely deserve it. Also, my job at OCI includes furthering and advancing Micronaut and Grails so all of my efforts are sponsored by OCI 😃

@atomfrede
Copy link
Member

Thanks. Btw. I have experimented with graal native images. Maybe we can discuss that in the issue as I event can't get the minimal example via https://micronaut.io/launch/ up and running.

@JasonTypesCodes
Copy link
Contributor Author

If you're having issues with Graal Native Images in Micronaut, an issue may be in order in the Micronaut org. I would first suggest opening a discussion on the topic (https://github.com/micronaut-projects/micronaut-core/discussions/). Are your problems related to, or similar to micronaut-projects/micronaut-core#3937 ?

@atomfrede
Copy link
Member

I will do some more testing, I guess I am doing something wrong, although I basically tried to follow https://guides.micronaut.io/micronaut-creating-first-graal-app/guide/index.html but with maven.

@JasonTypesCodes
Copy link
Contributor Author

JasonTypesCodes commented Aug 21, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ enhancement 💎 New feature or request $200 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants