From 9ecd7ebf7eeb7842764f6852142225127f1b8e31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Eduardo=20Simon?=
 <55896446+luissimon96@users.noreply.github.com>
Date: Tue, 5 Jul 2022 00:19:08 -0300
Subject: [PATCH 1/9] Update Readme.md

---
 Readme.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Readme.md b/Readme.md
index dd07c08..ef5c87e 100644
--- a/Readme.md
+++ b/Readme.md
@@ -15,7 +15,7 @@ Build Restful CRUD API for a simple Note-Taking application using Spring Boot, M
 **1. Clone the application**
 
 ```bash
-git clone https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial.git
+git clone https://github.com/luissimon96/spring-boot-mysql-rest-api-tutorial.git
 ```
 
 **2. Create Mysql database**

From 05772b1df5f41538bc755a9b1078e403440ae648 Mon Sep 17 00:00:00 2001
From: SimonUlbra <luissimon96@rede.ulbra.br>
Date: Mon, 18 Jul 2022 00:22:13 -0300
Subject: [PATCH 2/9] Ajuste de artifactId

---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index baec0d9..c853439 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,11 +4,11 @@
 	<modelVersion>4.0.0</modelVersion>
 
 	<groupId>com.example</groupId>
-	<artifactId>easy-notes</artifactId>
+	<artifactId>easynotes</artifactId>
 	<version>1.0.0</version>
 	<packaging>jar</packaging>
 
-	<name>easy-notes</name>
+	<name>easynotes</name>
 	<description>Rest API for a Simple Note Taking Application</description>
 
 	<parent>

From 0a4b7177b0dc325ff18b8988e73e19a6b657bc62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Eduardo=20Simon?=
 <55896446+luissimon96@users.noreply.github.com>
Date: Mon, 18 Jul 2022 21:43:01 -0300
Subject: [PATCH 3/9] Update pom.xml

---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index c853439..baec0d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,11 +4,11 @@
 	<modelVersion>4.0.0</modelVersion>
 
 	<groupId>com.example</groupId>
-	<artifactId>easynotes</artifactId>
+	<artifactId>easy-notes</artifactId>
 	<version>1.0.0</version>
 	<packaging>jar</packaging>
 
-	<name>easynotes</name>
+	<name>easy-notes</name>
 	<description>Rest API for a Simple Note Taking Application</description>
 
 	<parent>

From 6e9bc6e55c0171a57f675bf3b7e6b724d26835bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Eduardo=20Simon?=
 <55896446+luissimon96@users.noreply.github.com>
Date: Tue, 19 Jul 2022 13:50:53 -0300
Subject: [PATCH 4/9] =?UTF-8?q?ajustando=20a=20vers=C3=A3o=20de=20compila?=
 =?UTF-8?q?=C3=A7=C3=A3o=20do=20pom?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pom.xml | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)

diff --git a/pom.xml b/pom.xml
index baec0d9..471a0c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,28 +2,23 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
-
 	<groupId>com.example</groupId>
 	<artifactId>easy-notes</artifactId>
 	<version>1.0.0</version>
 	<packaging>jar</packaging>
-
 	<name>easy-notes</name>
 	<description>Rest API for a Simple Note Taking Application</description>
-
 	<parent>
 		<groupId>org.springframework.boot</groupId>
 		<artifactId>spring-boot-starter-parent</artifactId>
 		<version>2.5.5</version>
 		<relativePath/> <!-- lookup parent from repository -->
 	</parent>
-
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-		<java.version>11</java.version>
+		<java.version>8</java.version>
 	</properties>
-
 	<dependencies>
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
@@ -53,7 +48,6 @@
 			<scope>test</scope>
 		</dependency>
 	</dependencies>
-
 	<build>
 		<plugins>
 			<plugin>
@@ -62,6 +56,30 @@
 			</plugin>
 		</plugins>
 	</build>
-
-
+ 
+<pluginRepositories>
+        <pluginRepository>
+            <id>central</id>
+            <name>Central Repository</name>
+            <url>https://repo.maven.apache.org/maven2</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <updatePolicy>never</updatePolicy>
+            </releases>
+        </pluginRepository>
+    </pluginRepositories>
+    <repositories>
+        <repository>
+            <id>central</id>
+            <name>Central Repository</name>
+            <url>https://repo.maven.apache.org/maven2</url>
+            <layout>default</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
 </project>

From 3893aea1c7d62fbcffe949b8d88d45276cd74fa7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Eduardo=20Simon?=
 <55896446+luissimon96@users.noreply.github.com>
Date: Tue, 19 Jul 2022 13:52:06 -0300
Subject: [PATCH 5/9] Update .gitignore

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index ff29930..cab22b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,4 @@ dist/
 nbdist/
 .nb-gradle/
 .elasticbeanstalk
+.vagrant

From e01a5c5bb14dc56a6c8aea716fcee82345f128c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Eduardo=20Simon?=
 <55896446+luissimon96@users.noreply.github.com>
Date: Tue, 19 Jul 2022 22:15:55 -0300
Subject: [PATCH 6/9] Update application.properties

---
 src/main/resources/application.properties | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index d357d46..436ddfe 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,7 +1,7 @@
 ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
-spring.datasource.url = jdbc:mysql://localhost:3306/notes_app?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false
-spring.datasource.username = root
-spring.datasource.password = callicoder
+spring.datasource.url = jdbc:mysql://{{dbhost}}:3306/{{dbname}}?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false
+spring.datasource.username = {{dbusername}}
+spring.datasource.password = {{dbpassword}}
 
 
 ## Hibernate Properties
@@ -10,4 +10,4 @@ spring.datasource.password = callicoder
 spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
 
 # Hibernate ddl auto (create, create-drop, validate, update)
-spring.jpa.hibernate.ddl-auto = update
\ No newline at end of file
+spring.jpa.hibernate.ddl-auto = update

From 06d962296ab21e1dc24bad226ffc3da1cf8629e4 Mon Sep 17 00:00:00 2001
From: SimonUlbra <luissimon96@rede.ulbra.br>
Date: Tue, 19 Jul 2022 23:08:44 -0300
Subject: [PATCH 7/9] =?UTF-8?q?Ajuste=20de=20tabula=C3=A7=C3=A3o?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pom.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 471a0c3..240230f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,52 +2,64 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
+
 	<groupId>com.example</groupId>
 	<artifactId>easy-notes</artifactId>
 	<version>1.0.0</version>
 	<packaging>jar</packaging>
 	<name>easy-notes</name>
 	<description>Rest API for a Simple Note Taking Application</description>
+
 	<parent>
 		<groupId>org.springframework.boot</groupId>
 		<artifactId>spring-boot-starter-parent</artifactId>
 		<version>2.5.5</version>
 		<relativePath/> <!-- lookup parent from repository -->
 	</parent>
+
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 		<java.version>8</java.version>
 	</properties>
+
 	<dependencies>
+
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-data-jpa</artifactId>
 		</dependency>
+
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-web</artifactId>
 		</dependency>
+
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-validation</artifactId>
 		</dependency>
+
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-devtools</artifactId>
 			<scope>runtime</scope>
 		</dependency>
+
 		<dependency>
 			<groupId>mysql</groupId>
 			<artifactId>mysql-connector-java</artifactId>
 			<scope>runtime</scope>
 		</dependency>
+
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-test</artifactId>
 			<scope>test</scope>
 		</dependency>
+
 	</dependencies>
+
 	<build>
 		<plugins>
 			<plugin>
@@ -82,4 +94,4 @@
             </snapshots>
         </repository>
     </repositories>
-</project>
+</project>
\ No newline at end of file

From 13d653b112e120041aa3980d101b311fc565ed42 Mon Sep 17 00:00:00 2001
From: SimonUlbra <luissimon96@rede.ulbra.br>
Date: Wed, 20 Jul 2022 00:15:15 -0300
Subject: [PATCH 8/9] Ajustando repositorios do spring

---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index 240230f..63c78ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,7 @@
 	</build>
  
 <pluginRepositories>
+	
         <pluginRepository>
             <id>central</id>
             <name>Central Repository</name>
@@ -82,6 +83,17 @@
                 <updatePolicy>never</updatePolicy>
             </releases>
         </pluginRepository>
+
+				<pluginRepository>
+					<id>spring-snapshots</id>
+					<url>https://repo.spring.io/snapshot</url>
+				</pluginRepository>
+
+				<pluginRepository>
+					<id>spring-milestones</id>
+					<url>https://repo.spring.io/milestone</url>
+				</pluginRepository>
+
     </pluginRepositories>
     <repositories>
         <repository>

From 04103b41784dd9b74d646dd2c3a8b647aa4d7022 Mon Sep 17 00:00:00 2001
From: SimonUlbra <luissimon96@rede.ulbra.br>
Date: Wed, 20 Jul 2022 23:33:10 -0300
Subject: [PATCH 9/9] Ajustando artifactID

---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 63c78ab..b0fa39d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,10 +4,10 @@
 	<modelVersion>4.0.0</modelVersion>
 
 	<groupId>com.example</groupId>
-	<artifactId>easy-notes</artifactId>
+	<artifactId>easynotes</artifactId>
 	<version>1.0.0</version>
 	<packaging>jar</packaging>
-	<name>easy-notes</name>
+	<name>easynotes</name>
 	<description>Rest API for a Simple Note Taking Application</description>
 
 	<parent>
