diff --git a/config-server-repo/config-server-repo.iml b/config-server-repo/config-server-repo.iml new file mode 100644 index 0000000..8021953 --- /dev/null +++ b/config-server-repo/config-server-repo.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/clientui/src/main/resources/application.properties b/config-server-repo/microservice-clientui.properties similarity index 100% rename from clientui/src/main/resources/application.properties rename to config-server-repo/microservice-clientui.properties diff --git a/microservice-commandes/src/main/resources/application.properties b/config-server-repo/microservice-commandes.properties similarity index 58% rename from microservice-commandes/src/main/resources/application.properties rename to config-server-repo/microservice-commandes.properties index 76d2a9f..3d785cf 100644 --- a/microservice-commandes/src/main/resources/application.properties +++ b/config-server-repo/microservice-commandes.properties @@ -1,4 +1,3 @@ -spring.application.name=microservice-commandes server.port 9002 diff --git a/microservice-paiement/src/main/resources/application.properties b/config-server-repo/microservice-paiement.properties similarity index 58% rename from microservice-paiement/src/main/resources/application.properties rename to config-server-repo/microservice-paiement.properties index fae79e5..bda12af 100644 --- a/microservice-paiement/src/main/resources/application.properties +++ b/config-server-repo/microservice-paiement.properties @@ -1,5 +1,3 @@ -spring.application.name=microservice-paiement - server.port 9003 #Configurations H2 diff --git a/config-server-repo/microservice-produits.properties b/config-server-repo/microservice-produits.properties new file mode 100644 index 0000000..3751460 --- /dev/null +++ b/config-server-repo/microservice-produits.properties @@ -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