we can use here two method : -the first one is to create 3 application.properties files with this format application-{profile}.properties ths first exist already (the default one) the second is for the dev application-dev.properties the third is for the production application-production.properties ps : i copied the files in another package for trace , to activate them we need to move them to resource folder
-the second one is create only one file application.yml which contain the 3 declared profiles , the first one is the default the second is production and the third is for dev