Hi guys, in this lesson we will implement application properties for ourselves, you know that simply import has default configurations. So in this lesson, we will customize these configurations. Our first mission is changing of port number. You know that default port number generally in Spring Boot is at 80. But we will work with micro services. So we need different ports for each micro service.
To change port number, we will use server that port property. Second one is given name to our application. We can do it with using Splunk that application that name property. The other thing is we will use Maya Get in our project. You know that my SQL works with databases so sibling should know database name and user. So we can easily set it with using seaplane, that data source that URL There are important things here.
If you notice it we have like use Unicode use legacy date time code and server timezone in our data source URL. This means we will use UTC server timezone, not default timezone. So with this thing we can escape timezone errors. The other thing is CREATE DATABASE if not exist, so this will create our database automatically on our host. The other thing is lol public key retrieval properties. If the user account uses Sha 256 password authentication, the password must be protected during transmission.
With setting ello public key retrieval to true, you can get your connection with your public key. Our other property is securing data source username and secret data source password. These credentials should be According to your minor scale authentication, in my case, my minor scale username is root and my password is 1234. So you should change it according to yours. In our project, we will use leaky bass so we won't use hibernate DDL change set auto configuration. To set it we will use spring JPA hibernate DDL auto property to none.
Dd or auto property can be create, update, validate or na cleats means believe they database and create database from beginning for each update means just implement chains really date means just will the database according to hibernate entities. Like we said before, we will use leaky bass, so we should describe it also. But firstly we should create a leaky bass change log file, change log file Vili XML file, under DB change log folder, we will create our change log XML like DB change log master XML okay next lessons we will implement it Now let's define this liquid base path from our application properties to set it we will use separate liquid base change lock. Okay, this configuration will be enough for us for beginning. Thank you