During my last talk about JHipster I was asked if it is possible to replace the modal login dialog with a dedicated login page.
I remember doing that for the angular 1 frontend as it was possible to configure in the router if the content was rendered on a modal dialog or not.
As this is not possible anymore with the new AngularX frontend I will describe how to extend a default JHipster application such that the login is at a dedicated route /login
.
When it comes to testing JHipster provides a wide range of tests out of the box.
Recently I found greenmail.
Greenmail is a java library to test sending and receiving of emails from Java.
This is quite useful during to development to test sending of emails (e.g. to check if all is configured correctly or if the responsiveness is fine in different email clients).
Furthermore you can use greenmail in unit or integration tests which makes the setup of such tests easier as the sending of emails must…
As you might noticed, I really like JHipster and Testcontainers.
Right now, when you create a JHipster application and choose e.g. PostgreSQL as your database the integration tests (annotated with @SpringBootTest
) are still using an H2 in-memory database.
This helps to make the first time experience for our users quite smooth as they don’t need docker for example.
When you are planning to use some specific functions of your choosen database H2 is not the right choise anymore.
In fact…
My very first article was published in the german Java Aktuell 2/2019. Thanks to our scrummaster Marcus who had the great idea to tell a story instead of just writing a technical introduction. The result is a story about the scrummaster Samu and the jhipster contributor Jennifer.