From 5b2fc01e3ac3508b885cc3c34f133d84569b6a2f Mon Sep 17 00:00:00 2001 From: "alexandre.iwanesko@gmail.com" Date: Mon, 20 Dec 2021 03:48:47 +0100 Subject: [PATCH] eureka branch --- clientui/pom.xml | 2 +- config-server/pom.xml | 2 +- eureka-server/pom.xml | 2 +- microservice-commandes/pom.xml | 2 +- microservice-paiement/pom.xml | 2 +- microservice-produits/pom.xml | 2 +- microservice-produits/src/main/resources/schema.sql | 8 ++++++++ 7 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 microservice-produits/src/main/resources/schema.sql diff --git a/clientui/pom.xml b/clientui/pom.xml index cc0133e..e57f93b 100644 --- a/clientui/pom.xml +++ b/clientui/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/config-server/pom.xml b/config-server/pom.xml index ae2ec45..790c716 100644 --- a/config-server/pom.xml +++ b/config-server/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/eureka-server/pom.xml b/eureka-server/pom.xml index f9ffbc3..a54453a 100644 --- a/eureka-server/pom.xml +++ b/eureka-server/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/microservice-commandes/pom.xml b/microservice-commandes/pom.xml index 343fe8f..7ad374a 100644 --- a/microservice-commandes/pom.xml +++ b/microservice-commandes/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/microservice-paiement/pom.xml b/microservice-paiement/pom.xml index a096050..43477d0 100644 --- a/microservice-paiement/pom.xml +++ b/microservice-paiement/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/microservice-produits/pom.xml b/microservice-produits/pom.xml index dfce676..3e53b56 100644 --- a/microservice-produits/pom.xml +++ b/microservice-produits/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 2.0.0.RELEASE + 2.6.1 diff --git a/microservice-produits/src/main/resources/schema.sql b/microservice-produits/src/main/resources/schema.sql new file mode 100644 index 0000000..d6f9ef5 --- /dev/null +++ b/microservice-produits/src/main/resources/schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE product +( + id INT PRIMARY KEY, + titre VARCHAR(255) NOT NULL, + description VARCHAR(255) NOT NULL, + image VARCHAR(255) NOT NULL, + prix INT NOT NULL +); \ No newline at end of file