jhipster / jhipster-lite

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservices architecture, step by step - using Hexagonal Architecture :gem:
https://lite.jhipster.tech
Apache License 2.0
463 stars 212 forks source link

New module for enabling "local" spring boot profile by default #8475

Closed murdos closed 8 months ago

murdos commented 9 months ago

Following #8348: the Spring Boot "local" profile should be enabled by default, and disabled explicitly in CI pipelines.

This will allow improving develop experience with a better default configuration for local development.

pascalgrimaud commented 9 months ago

Thanks for thinking about this, @murdos

In my opinion, it needs to be discussed as if we put 'local' profile by default, I afraid it will be similar to generator-jhipster:

From my experience, dev / prod profile confused the developpers as we need to test both, when coding the application.

That's why, in JHipster Lite, my ideas was:

So what do you think about adding a module, which will activate 'local' profile by default, so the users who want a better default config, can use it ?

murdos commented 9 months ago

I never encountered such confusion, and in my experience dev profile doesn't need to be tested automatically (it's tested manually when developer launches the app and regression for this profile is not critical), while no-profile is tested through automatic tests.

But indeed a dedicated optional module could provide the same feature 😉