Externalisation de configuration
This commit is contained in:
parent
228f765e52
commit
0ba2b328aa
9
config-server-repo/config-server-repo.iml
Normal file
9
config-server-repo/config-server-repo.iml
Normal 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>
|
@ -1,4 +1,3 @@
|
||||
spring.application.name=microservice-commandes
|
||||
|
||||
server.port 9002
|
||||
|
@ -1,5 +1,3 @@
|
||||
spring.application.name=microservice-paiement
|
||||
|
||||
server.port 9003
|
||||
|
||||
#Configurations H2
|
16
config-server-repo/microservice-produits.properties
Normal file
16
config-server-repo/microservice-produits.properties
Normal 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
|
Loading…
Reference in New Issue
Block a user