Grokking Spring Boot
Vote

0% completed

​

Profiles

Two starts of the same booking service jar printed different lines. The first start printed these two:

No active profile set, falling back to 1 default profile: "default" Payments at https://payments.example.com with timeout PT3S

The second start printed these:

The following 1 profile is active: "dev" Payments at http://localhost:9090 with timeout PT30S

Between the two starts, nothing changed except one argument on the command line, --spring.profiles.active=dev

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content