Externalisation de configuration

This commit is contained in:
TestAccountsUser 2018-03-18 23:56:34 +01:00
parent 228f765e52
commit 0ba2b328aa
5 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -1,4 +1,3 @@
spring.application.name=microservice-commandes
server.port 9002 server.port 9002

View File

@ -1,5 +1,3 @@
spring.application.name=microservice-paiement
server.port 9003 server.port 9003
#Configurations H2 #Configurations H2

View File

@ -0,0 +1,16 @@
server.port 9001
#Configurations H2
spring.jpa.show-sql=true
spring.h2.console.enabled=true
#défini l'encodage pour data.sql
spring.datasource.sql-script-encoding=UTF-8
management.endpoints.web.expose=info, health, refresh
#Nos configurations
mes-configs.limitDeProduits= 3